Skip to content

Commit 169d955

Browse files
committed
fix style
1 parent 3139f35 commit 169d955

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/pydolphinscheduler/examples/task_switch_example.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@
3434
from pydolphinscheduler.tasks.shell import Shell
3535
from pydolphinscheduler.tasks.switch import Branch, Default, Switch, SwitchCondition
3636

37-
with Workflow(
38-
name="task_switch_example", param={"var": "1"}
39-
) as workflow:
37+
with Workflow(name="task_switch_example", param={"var": "1"}) as workflow:
4038
parent = Shell(name="parent", command="echo parent")
4139
switch_child_1 = Shell(name="switch_child_1", command="echo switch_child_1")
4240
switch_child_2 = Shell(name="switch_child_2", command="echo switch_child_2")

0 commit comments

Comments
 (0)