iqm-exa-common 26.9__py3-none-any.whl → 26.11__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.
@@ -45,6 +45,13 @@ class NotFoundError(StationControlError):
45
45
  """
46
46
 
47
47
 
48
+ class ConflictError(StationControlError):
49
+ """This error happens when there is a conflict with the current state of the resource.
50
+
51
+ For example, when doing duplicate submissions for the same unique data.
52
+ """
53
+
54
+
48
55
  class ValidationError(StationControlError):
49
56
  """Error raised when something is unprocessable in general, for example if the input value is not acceptable."""
50
57
 
@@ -66,6 +73,7 @@ ERROR_TO_STATUS_CODE_MAPPING = {
66
73
  UnauthorizedError: HTTPStatus.UNAUTHORIZED, # 401
67
74
  ForbiddenError: HTTPStatus.FORBIDDEN, # 403
68
75
  NotFoundError: HTTPStatus.NOT_FOUND, # 404
76
+ ConflictError: HTTPStatus.CONFLICT, # 409
69
77
  ValidationError: HTTPStatus.UNPROCESSABLE_ENTITY, # 422
70
78
  InternalServerError: HTTPStatus.INTERNAL_SERVER_ERROR, # 500
71
79
  ServiceUnavailableError: HTTPStatus.SERVICE_UNAVAILABLE, # 503
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-exa-common
3
- Version: 26.9
3
+ Version: 26.11
4
4
  Summary: Framework for control and measurement of superconducting qubits: common library
5
5
  Author-email: IQM Finland Oy <info@meetiqm.com>
6
6
  License: Apache License
@@ -31,7 +31,7 @@ exa/common/data/settingnode_v2.html.jinja2,sha256=mo-rlLLmU-Xxf6znJAisispAZK8sbV
31
31
  exa/common/data/value.py,sha256=mtMws5UPGx1pCADK6Q2Tx4BwCXznvVRSNQRfcQ3NMmY,1853
32
32
  exa/common/errors/__init__.py,sha256=ArMBdpmx1EUenBpzrSNG63kmUf7PM0gCqSYnaCnL9Qk,597
33
33
  exa/common/errors/exa_error.py,sha256=iw8ueZgqx1JXkfjRoJfPUsSE7cfhzIWpdDaFuka9Ss0,990
34
- exa/common/errors/server_errors.py,sha256=4BLTUtlJRLTyR1mW2b_mAtkj90UCNZ8pS8-p_SWWfYM,2810
34
+ exa/common/errors/server_errors.py,sha256=IP6Zc5blT5jwQCQAUJkZ3IQiWrvbWvZSykZjDZEis_c,3077
35
35
  exa/common/helpers/__init__.py,sha256=IgtVD3tojIFA4MTV2mT5uYM6jb2qny9kBIIhEZT2PuI,610
36
36
  exa/common/helpers/data_helper.py,sha256=qg-RBCGGP947IbZAoFQ0oQrmp2EgzCSgh6kinX2MD9A,1903
37
37
  exa/common/helpers/deprecation.py,sha256=nY8484iun63JOBfBeh49Q6VD5xZ4_gT9fjPmH1RAXoI,397
@@ -49,8 +49,8 @@ exa/common/qcm_data/qcm_data_client.py,sha256=0clAbZ3HPBH9lFOe8cVmaq8hPHG5m3pyPG
49
49
  exa/common/sweep/__init__.py,sha256=uEKk5AtzSgSnf8Y0geRPwUpqXIBIXpeCxsN64sX7F1o,591
50
50
  exa/common/sweep/database_serialization.py,sha256=NUu1umxRQZpKtRmw1vNDsSbnofqbHvKFg_xQ2mdhY6k,7469
51
51
  exa/common/sweep/util.py,sha256=-QE2AaH-WDkYAVH5-Z-30leLgY0x4efmby4kc1JTCgY,3732
52
- iqm_exa_common-26.9.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
53
- iqm_exa_common-26.9.dist-info/METADATA,sha256=hxZroxaxjkU4-kA9uvJdbB7hgJqCXAAtA4l3Hw_t1wI,14548
54
- iqm_exa_common-26.9.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
55
- iqm_exa_common-26.9.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
56
- iqm_exa_common-26.9.dist-info/RECORD,,
52
+ iqm_exa_common-26.11.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
53
+ iqm_exa_common-26.11.dist-info/METADATA,sha256=ZBi19GWCpltp8bTk67J0FPgR3sOY_nGkMg4ysspskYg,14549
54
+ iqm_exa_common-26.11.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
55
+ iqm_exa_common-26.11.dist-info/top_level.txt,sha256=Clphg2toaZ3_jSFRPhjMNEmLurkMNMc4lkK2EFYsSlM,4
56
+ iqm_exa_common-26.11.dist-info/RECORD,,