Skip to content

Commit aa98505

Browse files
📝 PEP8-#96: Suppress UP038 on isinstance call compatible with Python 3.9
1 parent 2235b7f commit aa98505

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dotflow/providers/api_default.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def _workflow_to_payload(self, workflow: Any) -> dict[str, Any]:
8181
tasks_payload: list[dict[str, Any]] = []
8282

8383
workflow_tasks = getattr(workflow, "tasks", None)
84-
if isinstance(workflow_tasks, (list, tuple)):
84+
if isinstance(workflow_tasks, (list, tuple)): # noqa: UP038
8585
for t in workflow_tasks:
8686
initial_context = getattr(
8787
getattr(t, "initial_context", None),

0 commit comments

Comments
 (0)