iqm-station-control-client 4.2.0__py3-none-any.whl → 5.0.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.
- iqm/station_control/client/iqm_server/iqm_server_client.py +4 -2
- iqm/station_control/interface/models/jobs.py +8 -1
- {iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/METADATA +1 -1
- {iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/RECORD +7 -7
- {iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/LICENSE.txt +0 -0
- {iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/WHEEL +0 -0
- {iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/top_level.txt +0 -0
|
@@ -55,7 +55,7 @@ from iqm.station_control.interface.models import (
|
|
|
55
55
|
SweepDefinition,
|
|
56
56
|
SweepResults,
|
|
57
57
|
)
|
|
58
|
-
from iqm.station_control.interface.models.jobs import JobData, JobResult
|
|
58
|
+
from iqm.station_control.interface.models.jobs import JobData, JobError, JobResult
|
|
59
59
|
from iqm.station_control.interface.models.sweep import SweepBase
|
|
60
60
|
|
|
61
61
|
logger = logging.getLogger(__name__)
|
|
@@ -169,7 +169,9 @@ class IqmServerClient(StationControlClient, metaclass=IqmServerClientMeta):
|
|
|
169
169
|
parallel_sweep_progress=[],
|
|
170
170
|
interrupted=False,
|
|
171
171
|
),
|
|
172
|
-
job_error=job.error
|
|
172
|
+
job_error=JobError(full_error_log=job.error, user_error_message=job.error)
|
|
173
|
+
if job.HasField("error")
|
|
174
|
+
else None,
|
|
173
175
|
position=job.queue_position if job.HasField("queue_position") else None,
|
|
174
176
|
)
|
|
175
177
|
|
|
@@ -38,13 +38,20 @@ class JobResult(PydanticBase):
|
|
|
38
38
|
interrupted: bool
|
|
39
39
|
|
|
40
40
|
|
|
41
|
+
class JobError(PydanticBase):
|
|
42
|
+
"""Error log for a job."""
|
|
43
|
+
|
|
44
|
+
full_error_log: str
|
|
45
|
+
user_error_message: str
|
|
46
|
+
|
|
47
|
+
|
|
41
48
|
class JobData(PydanticBase):
|
|
42
49
|
"""Job response data model"""
|
|
43
50
|
|
|
44
51
|
job_id: UUID
|
|
45
52
|
job_status: JobStatus
|
|
46
53
|
job_result: JobResult
|
|
47
|
-
job_error:
|
|
54
|
+
job_error: JobError | None
|
|
48
55
|
position: int | None
|
|
49
56
|
|
|
50
57
|
|
{iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/RECORD
RENAMED
|
@@ -5,7 +5,7 @@ iqm/station_control/client/utils.py,sha256=cpS3hXEeeIXeqd_vBnnwo3JHS83FrNpG07SiT
|
|
|
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
|
|
7
7
|
iqm/station_control/client/iqm_server/grpc_utils.py,sha256=ee42C31_JIXlP6ikZQbohgUQjqCvcSSxIW_9lm9MMV8,5727
|
|
8
|
-
iqm/station_control/client/iqm_server/iqm_server_client.py,sha256=
|
|
8
|
+
iqm/station_control/client/iqm_server/iqm_server_client.py,sha256=zDPfHFixd_PresI57wSs9PbiWQ9akxUkvpkOesxatas,14711
|
|
9
9
|
iqm/station_control/client/iqm_server/meta_class.py,sha256=pePJ0Xy0aiJg-bZWK8D87gblq6imfXLsZHjpZkf5D9s,1399
|
|
10
10
|
iqm/station_control/client/iqm_server/proto/__init__.py,sha256=mOJQ_H-NEyJMffRaDSSZeXrScHaHaHEXULv-O_OJA3A,1345
|
|
11
11
|
iqm/station_control/client/iqm_server/proto/calibration_pb2.py,sha256=gum0DGmqxhbfaar8SqahmSif1pB6hgo0pVcnoi3VMUo,3017
|
|
@@ -39,7 +39,7 @@ iqm/station_control/interface/list_with_meta.py,sha256=GAXIDEXKeua6-2FoQ_O1tkhx-
|
|
|
39
39
|
iqm/station_control/interface/pydantic_base.py,sha256=MVzcsH7wG1DON-qTw6KLpUDay7_b_9CDQgymVzg9HwI,1303
|
|
40
40
|
iqm/station_control/interface/models/__init__.py,sha256=JeXFg-ltPOoSY6qVclUKCVyt-7okNgCptLb3h3t3JD4,1587
|
|
41
41
|
iqm/station_control/interface/models/dut.py,sha256=dd1SpcsBe4P057jvcPqv39SjzekewwP07hThFe5ulNA,1216
|
|
42
|
-
iqm/station_control/interface/models/jobs.py,sha256=
|
|
42
|
+
iqm/station_control/interface/models/jobs.py,sha256=HK95f3cWCawyqTaiMoGeLQEWl4hiHZDzSd63q_TXuuY,3732
|
|
43
43
|
iqm/station_control/interface/models/monitor.py,sha256=9p-hg5DWrlbCIrJ0GyQ90DrHr1Yc9DCQyfpsQCm0cDE,1328
|
|
44
44
|
iqm/station_control/interface/models/observation.py,sha256=Jce4lIsUtHRIFT3nr-cbKvh3dbR2Y_yM5x0yyvUdjF8,3261
|
|
45
45
|
iqm/station_control/interface/models/observation_set.py,sha256=Ko2o3-9I38NfjNF2IQPcwfbwpkTQ3PIU7fUiSaDleX8,3031
|
|
@@ -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-
|
|
51
|
-
iqm_station_control_client-
|
|
52
|
-
iqm_station_control_client-
|
|
53
|
-
iqm_station_control_client-
|
|
54
|
-
iqm_station_control_client-
|
|
50
|
+
iqm_station_control_client-5.0.0.dist-info/LICENSE.txt,sha256=R6Q7eUrLyoCQgWYorQ8WJmVmWKYU3dxA3jYUp0wwQAw,11332
|
|
51
|
+
iqm_station_control_client-5.0.0.dist-info/METADATA,sha256=wTD501Ev-0qeWd20uUpqIt_c1F13tesIIHLyCo2u9fM,14009
|
|
52
|
+
iqm_station_control_client-5.0.0.dist-info/WHEEL,sha256=y4mX-SOX4fYIkonsAGA5N0Oy-8_gI4FXw5HNI1xqvWg,91
|
|
53
|
+
iqm_station_control_client-5.0.0.dist-info/top_level.txt,sha256=NB4XRfyDS6_wG9gMsyX-9LTU7kWnTQxNvkbzIxGv3-c,4
|
|
54
|
+
iqm_station_control_client-5.0.0.dist-info/RECORD,,
|
|
File without changes
|
{iqm_station_control_client-4.2.0.dist-info → iqm_station_control_client-5.0.0.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|