iqm-station-control-client 7.0.0__py3-none-any.whl → 7.1.0__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.
@@ -34,10 +34,10 @@ import requests
34
34
  from exa.common.data.setting_node import SettingNode
35
35
  from exa.common.data.value import ObservationValue
36
36
  from exa.common.errors.server_errors import (
37
- STATUS_CODE_TO_ERROR_MAPPING,
38
37
  InternalServerError,
39
38
  NotFoundError,
40
39
  StationControlError,
40
+ map_from_status_code_to_error,
41
41
  )
42
42
  from exa.common.qcm_data.qcm_data_client import QCMDataClient
43
43
  from iqm.station_control.client.list_models import (
@@ -820,7 +820,7 @@ class StationControlClient:
820
820
  except json.JSONDecodeError:
821
821
  error_message = response.text
822
822
 
823
- error_class = STATUS_CODE_TO_ERROR_MAPPING[response.status_code]
823
+ error_class = map_from_status_code_to_error(response.status_code)
824
824
  raise error_class(error_message)
825
825
  return response
826
826
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-station-control-client
3
- Version: 7.0.0
3
+ Version: 7.1.0
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
@@ -1,6 +1,6 @@
1
1
  iqm/station_control/client/__init__.py,sha256=BmBIBdZa10r-IWCFzZ1-0DG6GQKPIXqGXltfXop4ZeQ,942
2
2
  iqm/station_control/client/list_models.py,sha256=SjD0DbCrM9z1SSuGoQS83lyJmDLuMOatpJUoW8itW9s,2335
3
- iqm/station_control/client/station_control.py,sha256=F9snzBp0u4xsg0f5_FzXh-21aP4BXM0a_f79aMC0ACE,39601
3
+ iqm/station_control/client/station_control.py,sha256=Aep9RaCYj_DFggUC0l7ncJUaYG-FJbumbb2PHqWvJ5c,39603
4
4
  iqm/station_control/client/utils.py,sha256=cpS3hXEeeIXeqd_vBnnwo3JHS83FrNpG07SiTUwUx-I,1650
5
5
  iqm/station_control/client/iqm_server/__init__.py,sha256=nLsRHN1rnOKXwuzaq_liUpAYV3sis5jkyHccSdacV7U,624
6
6
  iqm/station_control/client/iqm_server/error.py,sha256=ZLV2-gxFLHZjZVkI3L5sWcBMiay7NT-ijIEvrXgVJT8,1166
@@ -47,8 +47,8 @@ iqm/station_control/interface/models/run.py,sha256=m-iE3QMPQUOF7bsw8JCAM1Bd6bDVh
47
47
  iqm/station_control/interface/models/sequence.py,sha256=uOqMwF1x-vW6UHs2WnPD3PsuSgV3a8OTAsgn_4UENLw,2723
48
48
  iqm/station_control/interface/models/sweep.py,sha256=ZV_1zcEF5_NY0nPgC75tU7s14TE1o0croBSClIVSmCE,2493
49
49
  iqm/station_control/interface/models/type_aliases.py,sha256=3LB9viZVi8osavY5kKF8TH1crayG7-MLjgBqXDCqL2s,1018
50
- iqm_station_control_client-7.0.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
51
- iqm_station_control_client-7.0.0.dist-info/METADATA,sha256=I5jb5fdyWAMNPfSB2MjEG4x2lVStfbJ1749TnK2o7eM,14009
52
- iqm_station_control_client-7.0.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
53
- iqm_station_control_client-7.0.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
54
- iqm_station_control_client-7.0.0.dist-info/RECORD,,
50
+ iqm_station_control_client-7.1.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
51
+ iqm_station_control_client-7.1.0.dist-info/METADATA,sha256=JBIbAx2UUghLhkLA2cCbIxiPUogflXtLJrEdueLAzuU,14009
52
+ iqm_station_control_client-7.1.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
53
+ iqm_station_control_client-7.1.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
54
+ iqm_station_control_client-7.1.0.dist-info/RECORD,,