iqm-station-control-client 10.0.0__py3-none-any.whl → 10.2.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.
@@ -181,3 +181,12 @@ class JobExecutorStatus(Enum):
181
181
  def terminal_statuses(cls) -> set[JobExecutorStatus]:
182
182
  """Statuses from which the execution can't continue."""
183
183
  return {cls.ABORTED, cls.FAILED, cls.READY}
184
+
185
+ @classmethod
186
+ def in_progress_statuses(cls) -> set[JobExecutorStatus]:
187
+ """Statuses representing jobs that should be cleaned up on restart.
188
+
189
+ Returns all non-terminal statuses.
190
+ """
191
+ all_statuses = set(cls)
192
+ return all_statuses - cls.terminal_statuses()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iqm-station-control-client
3
- Version: 10.0.0
3
+ Version: 10.2.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
@@ -213,7 +213,7 @@ Classifier: Intended Audience :: Science/Research
213
213
  Requires-Python: >=3.11
214
214
  Description-Content-Type: text/x-rst
215
215
  License-File: LICENSE.txt
216
- Requires-Dist: iqm-exa-common <27,>=26
216
+ Requires-Dist: iqm-exa-common <28,>=27
217
217
  Requires-Dist: iqm-data-definitions <3.0,>=2.13
218
218
  Requires-Dist: opentelemetry-exporter-otlp <2.0,>=1.25.0
219
219
  Requires-Dist: protobuf <5.0,>=4.25.3
@@ -43,7 +43,7 @@ iqm/station_control/interface/station_control.py,sha256=5gtDouAQ13KnyXNQUcBrpKG9
43
43
  iqm/station_control/interface/models/__init__.py,sha256=BP9iIwHi0nw8CUzScXOsu8bhxnE_rRulOsRVO5L1hx0,1989
44
44
  iqm/station_control/interface/models/dut.py,sha256=Hc_0XllXeIPGWhHsY7PC_jMpi7swpqo3jQQEQVnF3AM,1216
45
45
  iqm/station_control/interface/models/dynamic_quantum_architecture.py,sha256=3YlI9e1XxdbkBzlOdxmzYTccJ8AJRnRSIp-JoBf8Yyw,4698
46
- iqm/station_control/interface/models/jobs.py,sha256=L-c2uTqWSTVb6Kq3GGSi5i6w9ZacdCCIEPUqpErR8lY,6579
46
+ iqm/station_control/interface/models/jobs.py,sha256=MGo0MOg-mTw3rF7vNCYNGAns6-eyl30ubqiEQWCFJ9c,6876
47
47
  iqm/station_control/interface/models/monitor.py,sha256=ItlgxtBup1hHg64uKeMKiFE7MaRRqSYdVRttsFD_XeU,1352
48
48
  iqm/station_control/interface/models/observation.py,sha256=IblYdzJN88BNlyxUVR_dIx7BgD_GHGLhHUwy89Fib-I,3281
49
49
  iqm/station_control/interface/models/observation_set.py,sha256=y6uqslVF2kO1zREPE6EtrvG9ZVrLo0S2Sk7ZhRL8pks,3993
@@ -52,8 +52,8 @@ iqm/station_control/interface/models/sequence.py,sha256=boWlMfP3woVgVObW3OaNbxsU
52
52
  iqm/station_control/interface/models/static_quantum_architecture.py,sha256=gsfJKlYsfZVEK3dqEKXkBSIHiY14DGwNbhPJdNHMtNM,1435
53
53
  iqm/station_control/interface/models/sweep.py,sha256=HFoFIrKhlYmHIBfGltY2O9_J28OvkkZILRbDHuqR0wc,2509
54
54
  iqm/station_control/interface/models/type_aliases.py,sha256=StsUwqwPp1N9wh79w40C6eEp7OmQ8E5AnJX7w2mqTnQ,1153
55
- iqm_station_control_client-10.0.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
56
- iqm_station_control_client-10.0.0.dist-info/METADATA,sha256=jJHffOq3tZJXSACfHwv-l3gnQ7bnozt8Gdv3QrHZ2xI,14107
57
- iqm_station_control_client-10.0.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
58
- iqm_station_control_client-10.0.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
59
- iqm_station_control_client-10.0.0.dist-info/RECORD,,
55
+ iqm_station_control_client-10.2.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
56
+ iqm_station_control_client-10.2.0.dist-info/METADATA,sha256=-eF6xiJh_JvC2tKpHkMbOOYNmoMtAYLi-T4JqnVe1Nk,14107
57
+ iqm_station_control_client-10.2.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
58
+ iqm_station_control_client-10.2.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
59
+ iqm_station_control_client-10.2.0.dist-info/RECORD,,