Clarify the term constructor
This commit is contained in:
Родитель
62ad66ebb1
Коммит
0ab9a8e9e8
|
@ -40,6 +40,7 @@ complicated, a line by line explanation follows below.
|
||||||
|
|
||||||
dag = DAG('tutorial', default_args=default_args)
|
dag = DAG('tutorial', default_args=default_args)
|
||||||
|
|
||||||
|
# t1, t2 and t3 are examples of a constructor
|
||||||
t1 = BashOperator(
|
t1 = BashOperator(
|
||||||
task_id='print_date',
|
task_id='print_date',
|
||||||
bash_command='date',
|
bash_command='date',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче