labfreed 1.0.0a15__py3-none-any.whl → 1.0.0a16__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.0a15"
5
+ __version__ = "1.0.0a16"
6
6
 
7
7
  from labfreed.pac_id import * # noqa: F403
8
8
  from labfreed.pac_cat import * # noqa: F403
@@ -74,7 +74,7 @@ class ResolverConfigEntry(LabFREED_BaseModel):
74
74
 
75
75
  @model_validator(mode='after')
76
76
  def _validate_service_type(self):
77
- allowed_types = [ServiceType.ATTRIBUTE_SERVICE_GENERIC.value, ServiceType.USER_HANDOVER_GENERIC.value]
77
+ allowed_types = [ServiceType.ATTRIBUTE_SERVICE_GENERIC.value, ServiceType.USER_HANDOVER_GENERIC.value, ServiceType.ACTION_GENERIC.value]
78
78
  if self.service_type not in allowed_types:
79
79
  if isinstance(self.service_type, ServiceType):
80
80
  s= self.service_type.value
@@ -7,6 +7,7 @@ from labfreed.labfreed_infrastructure import ValidationMsgLevel, _quote_texts
7
7
  class ServiceType(Enum):
8
8
  USER_HANDOVER_GENERIC = 'userhandover-generic'
9
9
  ATTRIBUTE_SERVICE_GENERIC = 'attributes-generic'
10
+ ACTION_GENERIC = "action-generic"
10
11
 
11
12
 
12
13
  def _validate_service_name(service_name):
@@ -62,7 +63,7 @@ def _validate_service_type(service_type):
62
63
  service_type= service_type.value
63
64
  else:
64
65
  service_type= service_type
65
- allowed_types = [ServiceType.ATTRIBUTE_SERVICE_GENERIC.value, ServiceType.USER_HANDOVER_GENERIC.value]
66
+ allowed_types = [ServiceType.ATTRIBUTE_SERVICE_GENERIC.value, ServiceType.USER_HANDOVER_GENERIC.value, ServiceType.ACTION_GENERIC.value]
66
67
  if service_type not in allowed_types:
67
68
  msg_dict.append( {
68
69
  "level": ValidationMsgLevel.ERROR,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: labfreed
3
- Version: 1.0.0a15
3
+ Version: 1.0.0a16
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=KcYeV-IKg3wMT_uly3-IR3OXlZrdLQS5Ip81OWnjx7s,339
1
+ labfreed/__init__.py,sha256=BLpGVjJWry9eGq0SLB2AiFcnjJmNh27AXAS3D87uaQ8,339
2
2
  labfreed/labfreed_infrastructure.py,sha256=ss1PyJl-7Es-lEcxptmdYI9kDAHmh7HB_tAGkPC6UVs,10173
3
3
  labfreed/labfreed_extended/app/app_infrastructure.py,sha256=yfxPBDPatxHPrIPmpzdhQB7Yd3lIxGsm8ZXUM04N8nQ,4583
4
4
  labfreed/labfreed_extended/app/formatted_print.py,sha256=DcwWP0ix1e_wYNIdceIp6cETkJdG2DqpU8Gs3aZAL40,1930
@@ -37,8 +37,8 @@ labfreed/pac_id/url_serializer.py,sha256=01LB30pNMBtv2rYHsiE_4Ga2iVA515Boj4ikOIY
37
37
  labfreed/pac_id_resolver/__init__.py,sha256=RNBlrDOSR42gmSNH9wJVhK_xwEX45cvTKVgWW2bjh7Q,113
38
38
  labfreed/pac_id_resolver/cit_v1.py,sha256=JGlEH2d9awEu3HxPW7vu0uj4ZC3B02IdmFg7aJ4axQw,9833
39
39
  labfreed/pac_id_resolver/resolver.py,sha256=anqteWexD7w78wzd1TjT06enkDIU-P-7NVKNWiASXLU,4127
40
- labfreed/pac_id_resolver/resolver_config.py,sha256=2j3j5UsVoWqU9NjciN3j-Fs53diGi4FQEvoz8ng103Y,12388
41
- labfreed/pac_id_resolver/resolver_config_common.py,sha256=jzoDOxog8YW68q7vyvDGCZcVcgIzJHXlMt8KwgVnx6o,2885
40
+ labfreed/pac_id_resolver/resolver_config.py,sha256=hvi9x2o-1323FCRsUg6RG_ZuQRVLgTlYQ7owBTXhjW4,12422
41
+ labfreed/pac_id_resolver/resolver_config_common.py,sha256=JGbgT2YSBc3NQ5x9CV3diqYZgpDGWygGPd5flk4-hWk,2958
42
42
  labfreed/pac_id_resolver/services.py,sha256=vtnxLm38t4PNOf73cXh6UZOtWZZOGxfBCfXUDRxGHog,2592
43
43
  labfreed/qr/__init__.py,sha256=fdKwP6W2Js--yMbBUdn-g_2uq2VqPpfQJeDLHsMDO-Y,61
44
44
  labfreed/qr/generate_qr.py,sha256=mSt-U872O3ReHB_UdS-MzYu0wRgdlKcAOEfTxg5CLRk,16616
@@ -65,7 +65,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=p-hXwEEIs7p2SKn9DQeL
65
65
  labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
66
66
  labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
67
67
  labfreed/well_known_keys/unece/unece_units.py,sha256=J20d64H69qKDE3XlGdJoXIIh0G-d0jKoiIDsg9an5pk,1655
68
- labfreed-1.0.0a15.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
69
- labfreed-1.0.0a15.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
70
- labfreed-1.0.0a15.dist-info/METADATA,sha256=H4-dgXHNjGoidqKB1QKwTshKi2Pov7qhbHH8A1v3dwQ,19775
71
- labfreed-1.0.0a15.dist-info/RECORD,,
68
+ labfreed-1.0.0a16.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
69
+ labfreed-1.0.0a16.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
70
+ labfreed-1.0.0a16.dist-info/METADATA,sha256=dtDJdXT0Oo_356xeoDZ633456VCDMojptrSo0kGuAJQ,19775
71
+ labfreed-1.0.0a16.dist-info/RECORD,,