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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: workly
3
- Version: 0.4.3
3
+ Version: 0.4.4
4
4
  Summary: Python SDK for Workly, the open-source HTTP task queue
5
5
  Keywords: task queue,background jobs,webhooks,http
6
6
  License-Expression: Apache-2.0
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "workly"
3
- version = "0.4.3"
3
+ version = "0.4.4"
4
4
  description = "Python SDK for Workly, the open-source HTTP task queue"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "workly"
3
- version = "0.4.3"
3
+ version = "0.4.4"
4
4
  description = "Python SDK for Workly, the open-source HTTP task queue"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.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