adss 1.23__py3-none-any.whl → 1.24__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.
- adss/models/query.py +5 -5
- {adss-1.23.dist-info → adss-1.24.dist-info}/METADATA +1 -1
- {adss-1.23.dist-info → adss-1.24.dist-info}/RECORD +6 -6
- {adss-1.23.dist-info → adss-1.24.dist-info}/LICENSE +0 -0
- {adss-1.23.dist-info → adss-1.24.dist-info}/WHEEL +0 -0
- {adss-1.23.dist-info → adss-1.24.dist-info}/top_level.txt +0 -0
adss/models/query.py
CHANGED
@@ -69,27 +69,27 @@ class Query:
|
|
69
69
|
@property
|
70
70
|
def is_complete(self) -> bool:
|
71
71
|
"""Check if the query has completed (successfully or with error)."""
|
72
|
-
return self.status in ['
|
72
|
+
return self.status in ['completed', 'failed']
|
73
73
|
|
74
74
|
@property
|
75
75
|
def is_running(self) -> bool:
|
76
76
|
"""Check if the query is currently running."""
|
77
|
-
return self.status == '
|
77
|
+
return self.status == 'running'
|
78
78
|
|
79
79
|
@property
|
80
80
|
def is_queued(self) -> bool:
|
81
81
|
"""Check if the query is queued."""
|
82
|
-
return self.status == '
|
82
|
+
return self.status == 'queued'
|
83
83
|
|
84
84
|
@property
|
85
85
|
def is_successful(self) -> bool:
|
86
86
|
"""Check if the query completed successfully."""
|
87
|
-
return self.status == '
|
87
|
+
return self.status == 'completed'
|
88
88
|
|
89
89
|
@property
|
90
90
|
def is_failed(self) -> bool:
|
91
91
|
"""Check if the query failed."""
|
92
|
-
return self.status == '
|
92
|
+
return self.status == 'failed'
|
93
93
|
|
94
94
|
|
95
95
|
@dataclass
|
@@ -11,10 +11,10 @@ adss/endpoints/queries.py,sha256=5BONw_IcGORMPNe-5J6BpoFY6z7lKcktEVhqZ9j17_8,172
|
|
11
11
|
adss/endpoints/users.py,sha256=6Abkl3c3_YKdMYR_JWI-uL9HTHxcjlIOnE29GyN5_QE,10811
|
12
12
|
adss/models/__init__.py,sha256=ADWVaGy4dkpEMH3iS_6EnRSBlEgoM5Vy9zORQr-UG6w,404
|
13
13
|
adss/models/metadata.py,sha256=6fdH_0BenVRmeXkkKbsG2B68O-N2FXTTRgxsEhAHRoU,4058
|
14
|
-
adss/models/query.py,sha256=
|
14
|
+
adss/models/query.py,sha256=vVM6h2rbbNIhXh7InuD2d9JSIArkFiReGfIkL5XwMvs,4295
|
15
15
|
adss/models/user.py,sha256=5qVT5qOktokmVLkGszPGCTZWv0wC-7aBMvJ8EeBOqdw,3493
|
16
|
-
adss-1.
|
17
|
-
adss-1.
|
18
|
-
adss-1.
|
19
|
-
adss-1.
|
20
|
-
adss-1.
|
16
|
+
adss-1.24.dist-info/LICENSE,sha256=1aYqcyqjrdNXY9hqgZkCWprcoA112oKvdrfPyvMYPTc,1468
|
17
|
+
adss-1.24.dist-info/METADATA,sha256=MFTKFxxtbENzTjP7leW88Vh66nFe5cz4dhxQ3fbJI8Y,379
|
18
|
+
adss-1.24.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
|
19
|
+
adss-1.24.dist-info/top_level.txt,sha256=ebD44L3R0PEvEFoRCJ-RjTIsQ9Yjpo2aAYC1BMtueLg,5
|
20
|
+
adss-1.24.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|