@@ -29,7 +29,7 @@ Overview of Tutorial
29
29
Here have an overview of our tutorial, and it look a little complex but do not
30
30
worry about that because we explain this example below as detailed as possible.
31
31
32
- .. literalinclude :: ../../examples/tutorial.py
32
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
33
33
:start-after: [start tutorial]
34
34
:end-before: [end tutorial]
35
35
@@ -41,7 +41,7 @@ like other Python package. We just create a minimum demo here, so we just import
41
41
:class: `pydolphinscheduler.core.process_definition ` and
42
42
:class: `pydolphinscheduler.tasks.shell `.
43
43
44
- .. literalinclude :: ../../examples/tutorial.py
44
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
45
45
:start-after: [start package_import]
46
46
:end-before: [end package_import]
47
47
@@ -60,7 +60,7 @@ interval and schedule start_time, and argument `tenant` which changing workflow'
60
60
task running user in the worker, :ref: `section tenant <concept:tenant >` in *PyDolphinScheduler *
61
61
:doc: `concept ` page have more detail information.
62
62
63
- .. literalinclude :: ../../examples/tutorial.py
63
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
64
64
:start-after: [start workflow_declare]
65
65
:end-before: [end workflow_declare]
66
66
@@ -77,7 +77,7 @@ Here we declare four tasks, and bot of them are simple task of
77
77
Beside the argument `command `, we also need setting argument `name ` for each task *(not
78
78
only shell task, `name` is required for each type of task) *.
79
79
80
- .. literalinclude :: ../../examples/tutorial.py
80
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
81
81
:dedent: 0
82
82
:start-after: [start task_declare]
83
83
:end-before: [end task_declare]
@@ -99,7 +99,7 @@ In this example, we set task `task_parent` is the upstream task of task
99
99
`task_child_one ` and `task_child_two `, and task `task_union ` is the downstream
100
100
task of both these two task.
101
101
102
- .. literalinclude :: ../../examples/tutorial.py
102
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
103
103
:dedent: 0
104
104
:start-after: [start task_relation_declare]
105
105
:end-before: [end task_relation_declare]
@@ -124,7 +124,7 @@ to the daemon, and set the schedule time we just declare in `process definition
124
124
Now, we could run the Python code like other Python script, for the basic usage run
125
125
:code: `python tutorial.py ` to trigger and run it.
126
126
127
- .. literalinclude :: ../../examples/tutorial.py
127
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
128
128
:dedent: 0
129
129
:start-after: [start submit_or_run]
130
130
:end-before: [end submit_or_run]
@@ -142,7 +142,7 @@ After we run the tutorial code, you could login Apache DolphinScheduler web UI,
142
142
go and see the `DolphinScheduler project page `_. they is a new process definition be
143
143
created and named "Tutorial". It create by *PyDolphinScheduler * and the DAG graph as below
144
144
145
- .. literalinclude :: ../../examples/tutorial.py
145
+ .. literalinclude :: ../../src/pydolphinscheduler/ examples/tutorial.py
146
146
:language: text
147
147
:lines: 24-28
148
148
0 commit comments