mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 11:17:54 +08:00
parent
120c1755a1
commit
fd6eb1f830
@ -34,8 +34,7 @@ task_dependent:
|
||||
|
||||
task_dependent(this task dependent on task_dependent_external.task_1 and task_dependent_external.task_2).
|
||||
"""
|
||||
from constants import ProcessDefinitionDefault
|
||||
|
||||
from pydolphinscheduler.constants import ProcessDefinitionDefault
|
||||
from pydolphinscheduler.core.process_definition import ProcessDefinition
|
||||
from pydolphinscheduler.tasks.dependent import And, Dependent, DependentItem, Or
|
||||
from pydolphinscheduler.tasks.shell import Shell
|
||||
|
@ -29,10 +29,9 @@ parent -> switch ->
|
||||
.
|
||||
"""
|
||||
|
||||
from tasks.switch import Branch, Default, Switch, SwitchCondition
|
||||
|
||||
from pydolphinscheduler.core.process_definition import ProcessDefinition
|
||||
from pydolphinscheduler.tasks.shell import Shell
|
||||
from pydolphinscheduler.tasks.switch import Branch, Default, Switch, SwitchCondition
|
||||
|
||||
with ProcessDefinition(
|
||||
name="task_dependent_external",
|
||||
|
Loading…
Reference in New Issue
Block a user