workly 0.4.3__tar.gz → 0.4.4__tar.gz
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.
- {workly-0.4.3 → workly-0.4.4}/PKG-INFO +1 -1
- {workly-0.4.3 → workly-0.4.4}/pyproject.toml +1 -1
- {workly-0.4.3 → workly-0.4.4}/pyproject.toml.orig +1 -1
- {workly-0.4.3 → workly-0.4.4}/src/workly/_models.py +9 -0
- {workly-0.4.3 → workly-0.4.4}/LICENSE +0 -0
- {workly-0.4.3 → workly-0.4.4}/README.md +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/__init__.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_async_client.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_client.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_errors.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_requests.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_signing.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/_transport.py +0 -0
- {workly-0.4.3 → workly-0.4.4}/src/workly/py.typed +0 -0
|
@@ -419,6 +419,10 @@ class LastRun:
|
|
|
419
419
|
finished_at: datetime | None
|
|
420
420
|
last_status: int | None
|
|
421
421
|
last_error: str | None
|
|
422
|
+
workflow_run_id: str | None = None
|
|
423
|
+
"""The workflow run it started, for a schedule that starts a workflow."""
|
|
424
|
+
workflow_run_status: WorkflowRunStatus | None = None
|
|
425
|
+
"""That workflow run's status: the run succeeds once it has started it."""
|
|
422
426
|
|
|
423
427
|
@classmethod
|
|
424
428
|
def _from_json(cls, d: dict[str, Any]) -> LastRun:
|
|
@@ -430,6 +434,8 @@ class LastRun:
|
|
|
430
434
|
finished_at=_opt_time(d.get("finished_at")),
|
|
431
435
|
last_status=d.get("last_status"),
|
|
432
436
|
last_error=d.get("last_error"),
|
|
437
|
+
workflow_run_id=d.get("workflow_run_id"),
|
|
438
|
+
workflow_run_status=d.get("workflow_run_status"),
|
|
433
439
|
)
|
|
434
440
|
|
|
435
441
|
|
|
@@ -545,6 +551,8 @@ class Run:
|
|
|
545
551
|
"""The callback task enqueued when the run last finished, if its schedule has `on_complete`."""
|
|
546
552
|
workflow_run_id: str | None = None
|
|
547
553
|
"""The workflow run it started, for a schedule that starts a workflow."""
|
|
554
|
+
workflow_run_status: WorkflowRunStatus | None = None
|
|
555
|
+
"""That workflow run's status: the run succeeds once it has started it."""
|
|
548
556
|
|
|
549
557
|
@classmethod
|
|
550
558
|
def _from_json(cls, d: dict[str, Any]) -> Run:
|
|
@@ -574,6 +582,7 @@ class Run:
|
|
|
574
582
|
last_duration_ms=d.get("last_duration_ms"),
|
|
575
583
|
callback_task_id=d.get("callback_task_id"),
|
|
576
584
|
workflow_run_id=d.get("workflow_run_id"),
|
|
585
|
+
workflow_run_status=d.get("workflow_run_status"),
|
|
577
586
|
)
|
|
578
587
|
|
|
579
588
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|