workly 0.4.4__tar.gz → 0.4.5__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.4
3
+ Version: 0.4.5
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.4"
3
+ version = "0.4.5"
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.4"
3
+ version = "0.4.5"
4
4
  description = "Python SDK for Workly, the open-source HTTP task queue"
5
5
  readme = "README.md"
6
6
  license = "Apache-2.0"
@@ -549,6 +549,8 @@ class Run:
549
549
  """How long the latest finished attempt took."""
550
550
  callback_task_id: str | None = None
551
551
  """The callback task enqueued when the run last finished, if its schedule has `on_complete`."""
552
+ callback_state: TaskState | None = None
553
+ """That callback task's state: whether the callback has been delivered."""
552
554
  workflow_run_id: str | None = None
553
555
  """The workflow run it started, for a schedule that starts a workflow."""
554
556
  workflow_run_status: WorkflowRunStatus | None = None
@@ -581,6 +583,7 @@ class Run:
581
583
  started_at=_opt_time(d.get("started_at")),
582
584
  last_duration_ms=d.get("last_duration_ms"),
583
585
  callback_task_id=d.get("callback_task_id"),
586
+ callback_state=d.get("callback_state"),
584
587
  workflow_run_id=d.get("workflow_run_id"),
585
588
  workflow_run_status=d.get("workflow_run_status"),
586
589
  )
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