Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
nicolas paris
Dags
Commits
9b1c382c
Commit
9b1c382c
authored
Nov 25, 2021
by
Nicolas Paris
Browse files
Fix datetime
parent
b67c53c5
Changes
51
Hide whitespace changes
Inline
Side-by-side
test_dag.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag"
,
...
...
test_dag_1.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_1"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_1"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_1"
,
...
...
test_dag_10.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_10"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_10"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_10"
,
...
...
test_dag_11.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_11"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_11"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_11"
,
...
...
test_dag_12.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_12"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_12"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_12"
,
...
...
test_dag_13.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_13"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_13"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_13"
,
...
...
test_dag_14.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_14"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_14"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_14"
,
...
...
test_dag_15.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_15"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_15"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_15"
,
...
...
test_dag_16.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_16"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_16"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_16"
,
...
...
test_dag_17.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_17"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_17"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_17"
,
...
...
test_dag_18.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_18"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_18"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_18"
,
...
...
test_dag_19.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_19"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_19"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_19"
,
...
...
test_dag_2.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_2"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_2"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_2"
,
...
...
test_dag_20.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_20"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_20"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_20"
,
...
...
test_dag_21.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_21"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_21"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_21"
,
...
...
test_dag_22.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_22"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_22"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_22"
,
...
...
test_dag_23.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_23"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_23"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_23"
,
...
...
test_dag_24.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_24"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_24"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_24"
,
...
...
test_dag_25.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_25"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_25"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_25"
,
...
...
test_dag_26.py
View file @
9b1c382c
...
...
@@ -5,7 +5,7 @@ from airflow.operators.bash_operator import BashOperator
with
DAG
(
dag_id
=
"test_dag_26"
,
start_date
=
datetime
(
2021
,
10
,
0
1
),
schedule_interval
=
"@daily"
dag_id
=
"test_dag_26"
,
start_date
=
datetime
(
2021
,
10
,
1
),
schedule_interval
=
"@daily"
)
as
dag
:
BashOperator
(
task_id
=
"bash_task_test_dag_26"
,
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment