labfreed 1.0.0b28__py3-none-any.whl → 1.0.0b29__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of labfreed might be problematic. Click here for more details.

labfreed/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  Python implementation of LabFREED building blocks
3
3
  '''
4
4
 
5
- __version__ = "1.0.0b28"
5
+ __version__ = "1.0.0b29"
6
6
 
7
7
  from labfreed.pac_id import * # noqa: F403
8
8
  from labfreed.pac_cat import * # noqa: F403
@@ -1,6 +1,6 @@
1
1
 
2
2
  from abc import ABC
3
- from datetime import datetime
3
+ from datetime import datetime, date
4
4
  import re
5
5
  from typing import Annotated, Any, Literal, Union, get_args
6
6
  from urllib.parse import urlparse
@@ -43,7 +43,7 @@ class AttributeItemsElementBase(LabFREED_BaseModel, ABC):
43
43
 
44
44
  class DateTimeAttributeItemsElement(AttributeItemsElementBase):
45
45
  type: Literal["datetime"] = "datetime"
46
- value: datetime
46
+ value: date | datetime
47
47
 
48
48
  @field_validator('value', mode='after')
49
49
  def set_utc__if_naive(cls, value):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: labfreed
3
- Version: 1.0.0b28
3
+ Version: 1.0.0b29
4
4
  Summary: Python implementation of LabFREED building blocks
5
5
  Author-email: Reto Thürer <thuerer.r@buchi.com>
6
6
  Requires-Python: >=3.11
@@ -1,4 +1,4 @@
1
- labfreed/__init__.py,sha256=6dNDBc-c9yS4FwmyZWmNsoq8OyAU4tz3HR2lTYcrhQs,339
1
+ labfreed/__init__.py,sha256=uKG2k1_2wyXTtMzlKv9Gp53vzWg6gCQwubP6Uq8wet8,339
2
2
  labfreed/labfreed_infrastructure.py,sha256=ss1PyJl-7Es-lEcxptmdYI9kDAHmh7HB_tAGkPC6UVs,10173
3
3
  labfreed/labfreed_extended/app/app_infrastructure.py,sha256=1867Nq40c8Q4bFyRv48vTIFDXoPeZTfYij9PSog6fkE,4427
4
4
  labfreed/labfreed_extended/app/formatted_print.py,sha256=DcwWP0ix1e_wYNIdceIp6cETkJdG2DqpU8Gs3aZAL40,1930
@@ -37,7 +37,7 @@ labfreed/labfreed_extended/pac_issuer_lib/templates/pac_info/pac_info.jinja.html
37
37
  labfreed/pac_attributes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
38
38
  labfreed/pac_attributes/well_knonw_attribute_keys.py,sha256=Z_QcQdbIil_EMpFqQcBnivEGMDauyoCMW8r62-EN2KM,547
39
39
  labfreed/pac_attributes/api_data_models/request.py,sha256=DhCGuwfRypq5fitZKS9Bvj8AFfCKaakKc-m6IMKj-3s,4410
40
- labfreed/pac_attributes/api_data_models/response.py,sha256=Hglfcvb7gC7uZrLsGfPewC290vp4qq4WsuM9S3UHQFI,8188
40
+ labfreed/pac_attributes/api_data_models/response.py,sha256=8OhqMrZJSzQlSTG9bES7bNdZuDtaB6CTiYSSuLD6xrE,8201
41
41
  labfreed/pac_attributes/api_data_models/server_capabilities_response.py,sha256=ypDm4f8xZZl036fp8PuIe6lJHNW5Zg1fItgUlnV75V0,178
42
42
  labfreed/pac_attributes/client/client.py,sha256=5d-G-1tHOx2PXW7KP366tWr4k4F1ykGHX9e-bauF6_w,7149
43
43
  labfreed/pac_attributes/client/client_attribute_group.py,sha256=lZXbMU_Yp7Q1iKc5WRqS6pzEz_mtwZaQ5fYZqJA6784,375
@@ -90,7 +90,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=p-hXwEEIs7p2SKn9DQeL
90
90
  labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
91
91
  labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
92
92
  labfreed/well_known_keys/unece/unece_units.py,sha256=J20d64H69qKDE3XlGdJoXIIh0G-d0jKoiIDsg9an5pk,1655
93
- labfreed-1.0.0b28.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
94
- labfreed-1.0.0b28.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
95
- labfreed-1.0.0b28.dist-info/METADATA,sha256=xn7Zie9NrWA3Zd1E__IiOsd8-mdnwy2u_IlUbAeTbaE,19858
96
- labfreed-1.0.0b28.dist-info/RECORD,,
93
+ labfreed-1.0.0b29.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
94
+ labfreed-1.0.0b29.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
95
+ labfreed-1.0.0b29.dist-info/METADATA,sha256=Y-BIytNOndf-iSwFc_Lt6ck-NdzTsenSrKZaPsBPyls,19858
96
+ labfreed-1.0.0b29.dist-info/RECORD,,