iqm-station-control-client 12.0.1__py3-none-any.whl → 12.0.3__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.
@@ -21,11 +21,17 @@ import os
21
21
  import time
22
22
  from typing import Any, TypeAlias
23
23
 
24
- from iqm.iqm_server_client.errors import ClientAuthenticationError, ClientConfigurationError
25
-
26
24
  REFRESH_MARGIN_SECONDS = 60
27
25
 
28
26
 
27
+ class ClientAuthenticationError(RuntimeError):
28
+ """Something went wrong with user authentication."""
29
+
30
+
31
+ class ClientConfigurationError(RuntimeError):
32
+ """Wrong configuration provided."""
33
+
34
+
29
35
  AuthHeaderCallback: TypeAlias = Callable[[], str]
30
36
  """Function that returns an authorization header containing a bearer token."""
31
37
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-station-control-client
3
- Version: 12.0.1
3
+ Version: 12.0.3
4
4
  Summary: Python client for communicating with Station Control Service
5
5
  Author-email: IQM Finland Oy <info@meetiqm.com>
6
6
  License: Apache License
@@ -224,7 +224,7 @@ Requires-Dist: requests ==2.32.3
224
224
  Requires-Dist: types-requests
225
225
  Requires-Dist: tqdm >=4.59.0
226
226
  Requires-Dist: types-tqdm
227
- Requires-Dist: iqm-exa-common <28,>=27.4.1
227
+ Requires-Dist: iqm-exa-common <28,>=27.4.3
228
228
 
229
229
  Station control client library
230
230
  ==============================
@@ -1,5 +1,5 @@
1
1
  iqm/station_control/client/__init__.py,sha256=1ND-AkIE9xLGIscH3WN44eyll9nlFhXeyCm-8EDFGQ4,942
2
- iqm/station_control/client/authentication.py,sha256=iZsAl5eqvaXlimeYwzcfWaUpXXrG9AeTQgJtScV_83o,8796
2
+ iqm/station_control/client/authentication.py,sha256=K392_F4XkS3DqYsJ-Jwozdc490pmr7ZkWLf4sEXOy2w,8896
3
3
  iqm/station_control/client/list_models.py,sha256=Iow8md80k7eBT83oDGJOwAKqc1IziGG0cL2uwYYoA8o,3097
4
4
  iqm/station_control/client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  iqm/station_control/client/qon.py,sha256=rzp4ZAM9kSi5vzVdGO69Ct7mDWT_xVjUQ0Z_8pr2OCg,27756
@@ -35,8 +35,8 @@ iqm/station_control/interface/models/sequence.py,sha256=boWlMfP3woVgVObW3OaNbxsU
35
35
  iqm/station_control/interface/models/static_quantum_architecture.py,sha256=kt_rCExRd6zyatWVJCmCSf-gYdbEFfij3DfM0wBrPHI,2103
36
36
  iqm/station_control/interface/models/sweep.py,sha256=8b3dT-Q1uwFZNRNYcXPCje60DCge_liVbKgyKx7ZNNc,2787
37
37
  iqm/station_control/interface/models/type_aliases.py,sha256=QYmy8Pfs34b45Y0RZzCWfRY52Qg_zNcLoL_x1PWVmBw,1181
38
- iqm_station_control_client-12.0.1.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
39
- iqm_station_control_client-12.0.1.dist-info/METADATA,sha256=eM2nlTXiCQNh3PmjWprYr4j7KyzhR2KuLE8DfbG73x0,14101
40
- iqm_station_control_client-12.0.1.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
41
- iqm_station_control_client-12.0.1.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
42
- iqm_station_control_client-12.0.1.dist-info/RECORD,,
38
+ iqm_station_control_client-12.0.3.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
39
+ iqm_station_control_client-12.0.3.dist-info/METADATA,sha256=CU8My5LQ0hJC_I7Rdwaxqz0uTfFQLpDCFxCaP_u_3fE,14101
40
+ iqm_station_control_client-12.0.3.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
41
+ iqm_station_control_client-12.0.3.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
42
+ iqm_station_control_client-12.0.3.dist-info/RECORD,,