Skip to content

Commit 238b586

Browse files
authored
Merge pull request #36 from atomic-data-sciences/enhancement/make_default_status_all
Add stream states and make default state all
2 parents 4e96106 + 8df0508 commit 238b586

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/atomicds/client.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,17 @@ def search(
5151
data_type: Literal[
5252
"rheed_image", "rheed_stationary", "rheed_rotating", "xps", "all"
5353
] = "all",
54-
status: Literal["success", "pending", "error", "running", "all"] = "success",
54+
status: Literal[
55+
"success",
56+
"pending",
57+
"error",
58+
"running",
59+
"stream_active",
60+
"stream_interrupted",
61+
"stream_finalizing",
62+
"stream_error",
63+
"all",
64+
] = "all",
5565
growth_length: tuple[int | None, int | None] = (None, None),
5666
upload_datetime: tuple[datetime | None, datetime | None] = (None, None),
5767
last_accessed_datetime: tuple[datetime | None, datetime | None] = (None, None),

0 commit comments

Comments
 (0)