labfreed 1.0.0a8__py3-none-any.whl → 1.0.0a9__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.
labfreed/__init__.py CHANGED
@@ -2,7 +2,7 @@
2
2
  Python implementation of LabFREED building blocks
3
3
  '''
4
4
 
5
- __version__ = "1.0.0a8"
5
+ __version__ = "1.0.0a9"
6
6
 
7
7
  from labfreed.pac_id import * # noqa: F403
8
8
  from labfreed.pac_cat import * # noqa: F403
@@ -93,7 +93,7 @@ class AttributeFlaskApp(Flask):
93
93
  def capabilities():
94
94
  doc_text = current_app.config.get('DOC_TEXT', "")
95
95
  capabilities = request_handler.capabilities()
96
- authentication_required = bool(current_app.config['AUTHENTICATOR'])
96
+ authentication_required = bool(current_app.config.get('AUTHENTICATOR'))
97
97
  example_request = AttributeRequestPayload(pac_ids=['HTTPS://PAC.METTORIUS.COM/EXAMPLE'], language_preferences=['fr', 'de']).model_dump_json(indent=2, exclude_none=True, exclude_unset=True)
98
98
  server_address = request.url.rstrip('/')
99
99
  response = f'''
@@ -109,7 +109,7 @@ class AttributeFlaskApp(Flask):
109
109
  <h2>How to use</h2>
110
110
  Make a <b>POST</b> request to <a href="{server_address}">{server_address}</a> with the following body:
111
111
  <pre>{example_request}</pre>
112
- Consult {'<a href="https://github.com/ApiniLabs/PAC-Attributes"> the specification </a>' if doc_text else ""} for details. <br>
112
+ Consult <a href="https://github.com/ApiniLabs/PAC-Attributes"> the specification </a> for details. <br>
113
113
 
114
114
 
115
115
  {'This server <b> requires authentication </b> ' if authentication_required else ''}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: labfreed
3
- Version: 1.0.0a8
3
+ Version: 1.0.0a9
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=o4WCCcQiGKDepTJYMe5O_-YuSrMEGJLhI1Dq2UmJzFw,338
1
+ labfreed/__init__.py,sha256=wQI1Zn83JUEA_A8Tdaf1P78-Pa_Lg_T5uxCPmj46wN8,338
2
2
  labfreed/labfreed_infrastructure.py,sha256=YZmU-kgopyB1tvpTR_k_uIt1Q2ezexMrWvu-HaP65IE,10104
3
3
  labfreed/labfreed_extended/app/app_infrastructure.py,sha256=F5UHHt8-r7jigQudOsJ-yV4lWKHFsxNhI4uGP_h53lE,4035
4
4
  labfreed/labfreed_extended/app/formatted_print.py,sha256=DcwWP0ix1e_wYNIdceIp6cETkJdG2DqpU8Gs3aZAL40,1930
@@ -16,7 +16,7 @@ labfreed/pac_attributes/api_data_models/server_capabilities_response.py,sha256=y
16
16
  labfreed/pac_attributes/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
17
17
  labfreed/pac_attributes/client/attribute_cache.py,sha256=ThUadWqQ5oM8DnAnvZuY4jeA3Mg06ePNEcRP5wCsadc,2222
18
18
  labfreed/pac_attributes/client/client.py,sha256=DcD9wG3Zc7Iznr5Wlrwp17QgE2tjPxITgmjmSQonvAo,7506
19
- labfreed/pac_attributes/pythonic/attribute_server_factory.py,sha256=_wasafjBlwvzOaM6-uPgqPethsDQHEpaXoiRW7w9aV0,5759
19
+ labfreed/pac_attributes/pythonic/attribute_server_factory.py,sha256=DatCagOpbuURssP5M6sjvhPK-yilq8xSjuHTGaKCVJ0,5739
20
20
  labfreed/pac_attributes/pythonic/excel_attribute_data_source.py,sha256=oP4OHj0DTlH4dD7OlL1qxtX4y9KcuDTCd9Bi_FruP6A,7276
21
21
  labfreed/pac_attributes/pythonic/py_attributes.py,sha256=FXSp9_P0o-GuZSDvXtD2fU4g82lglMu9f_-8KPMkEP0,6821
22
22
  labfreed/pac_attributes/pythonic/py_dict_data_source.py,sha256=nAz6GA7Xx_0IORPPpt_Wl3sFJa1Q5Fnq5vdf1uQiJF8,531
@@ -64,7 +64,7 @@ labfreed/well_known_keys/labfreed/well_known_keys.py,sha256=p-hXwEEIs7p2SKn9DQeL
64
64
  labfreed/well_known_keys/unece/UneceUnits.json,sha256=kwfQSp_nTuWbADfBBgqTWrvPl6XtM5SedEVLbMJrM7M,898953
65
65
  labfreed/well_known_keys/unece/__init__.py,sha256=MSP9lmjg9_D9iqG9Yq2_ajYfQSNS9wIT7FXA1c--59M,122
66
66
  labfreed/well_known_keys/unece/unece_units.py,sha256=J20d64H69qKDE3XlGdJoXIIh0G-d0jKoiIDsg9an5pk,1655
67
- labfreed-1.0.0a8.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
68
- labfreed-1.0.0a8.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
69
- labfreed-1.0.0a8.dist-info/METADATA,sha256=oCIx5jAp8nDRU5twMpqYDj4qfm9E0Qv-0IidHY31Oqk,19740
70
- labfreed-1.0.0a8.dist-info/RECORD,,
67
+ labfreed-1.0.0a9.dist-info/licenses/LICENSE,sha256=gHFOv9FRKHxO8cInP3YXyPoJnuNeqrvcHjaE_wPSsQ8,1100
68
+ labfreed-1.0.0a9.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
69
+ labfreed-1.0.0a9.dist-info/METADATA,sha256=QdAoKgVWGUOJHTaWiyq4FExbgpzuIqY3jTFNjcyuXus,19740
70
+ labfreed-1.0.0a9.dist-info/RECORD,,