labfreed 0.2.5a21__py3-none-any.whl → 0.2.5a22__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__ = "0.2.5a21"
5
+ __version__ = "0.2.5a22"
6
6
 
7
7
  from labfreed.pac_id import * # noqa: F403
8
8
  from labfreed.pac_cat import * # noqa: F403
@@ -63,7 +63,7 @@ class PAC_ID_Resolver():
63
63
  self._cits = cits
64
64
 
65
65
 
66
- def resolve(self, pac_id:PAC_ID|str) -> list[ServiceGroup]:
66
+ def resolve(self, pac_id:PAC_ID|str, check_service_status=True) -> list[ServiceGroup]:
67
67
  '''Resolve a PAC-ID'''
68
68
  if isinstance(pac_id, str):
69
69
  pac_id = PAC_CAT.from_url(pac_id)
@@ -72,6 +72,10 @@ class PAC_ID_Resolver():
72
72
  self._cits.append(issuer_cit)
73
73
 
74
74
  matches = [cit.evaluate_pac_id(pac_id) for cit in self._cits]
75
+
76
+ if check_service_status:
77
+ for m in matches:
78
+ m.update_states()
75
79
  return matches
76
80
 
77
81
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: labfreed
3
- Version: 0.2.5a21
3
+ Version: 0.2.5a22
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=WGlFsCJIgEr0OhqMOAg6oqgiolPSn-zh8uCZ6kjGWMA,339
1
+ labfreed/__init__.py,sha256=3RVSAhyE9FV9v1Fm9wRroBieDrCsoqsXYikr_9tvaRQ,339
2
2
  labfreed/labfreed_infrastructure.py,sha256=yxZkI0mPrHyeZGWKtgFIV9R54edSUcww-w1ExHt8F-o,9990
3
3
  labfreed/pac_cat/__init__.py,sha256=KNPtQzBD1XVohvG_ucOs7RJj-oi6biUTGB1k-T2o6pk,568
4
4
  labfreed/pac_cat/category_base.py,sha256=lFQNiTUukyhWdaSCAI7CZxLtj6kNtnBCE4UsePwsGqE,1801
@@ -13,7 +13,7 @@ labfreed/pac_id/url_serializer.py,sha256=3D5pwcAP4ZrCQ22BRtxIwqWrFtZuY9913hCLPJN
13
13
  labfreed/pac_id_resolver/__init__.py,sha256=RNBlrDOSR42gmSNH9wJVhK_xwEX45cvTKVgWW2bjh7Q,113
14
14
  labfreed/pac_id_resolver/cit_v1.py,sha256=G5CitglgN9Vg0yoNPApcgcI1GjOgW6k4HUwqpJgINKQ,5800
15
15
  labfreed/pac_id_resolver/cit_v2.py,sha256=J7KsYUKSz4k7lqSHmLnouRY-etEbwmcj35O5SqVRm-o,11594
16
- labfreed/pac_id_resolver/resolver.py,sha256=x0XR0aWQVLptjtEwft8VPjggJEd8leTypQPUdzSyBaI,2160
16
+ labfreed/pac_id_resolver/resolver.py,sha256=5v8p7hM4dkjygClN1isYVy-BpCMZouBn5tVHzXR6Qso,2300
17
17
  labfreed/pac_id_resolver/services.py,sha256=TPoH6YlSwa0hmawHpOiMwIpBAinhoRhMSoexop0YscI,2462
18
18
  labfreed/qr/__init__.py,sha256=fdKwP6W2Js--yMbBUdn-g_2uq2VqPpfQJeDLHsMDO-Y,61
19
19
  labfreed/qr/generate_qr.py,sha256=mSt-U872O3ReHB_UdS-MzYu0wRgdlKcAOEfTxg5CLRk,16616
@@ -38,7 +38,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=nqk66kHdSwJTJfMKlP-x
38
38
  labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
39
39
  labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
40
40
  labfreed/well_known_keys/unece/unece_units.py,sha256=gNDQk6KGl-nGMf9Ycq_fQ8P2xxKITgLkcQWPd4H49gI,1630
41
- labfreed-0.2.5a21.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
42
- labfreed-0.2.5a21.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
43
- labfreed-0.2.5a21.dist-info/METADATA,sha256=Cods1bgU2GKp4wum9lsf3Hh-5yuWrZ10v5J5PCpxlNk,18093
44
- labfreed-0.2.5a21.dist-info/RECORD,,
41
+ labfreed-0.2.5a22.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
42
+ labfreed-0.2.5a22.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
43
+ labfreed-0.2.5a22.dist-info/METADATA,sha256=XALiaFCjKEkmXi6pgb_XxLCRfL0azXWCHqh2d41Bwrc,18093
44
+ labfreed-0.2.5a22.dist-info/RECORD,,