We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2235b7f commit aa98505Copy full SHA for aa98505
1 file changed
dotflow/providers/api_default.py
@@ -81,7 +81,7 @@ def _workflow_to_payload(self, workflow: Any) -> dict[str, Any]:
81
tasks_payload: list[dict[str, Any]] = []
82
83
workflow_tasks = getattr(workflow, "tasks", None)
84
- if isinstance(workflow_tasks, (list, tuple)):
+ if isinstance(workflow_tasks, (list, tuple)): # noqa: UP038
85
for t in workflow_tasks:
86
initial_context = getattr(
87
getattr(t, "initial_context", None),
0 commit comments