Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
김진영
airflow-test
Commits
43a2a5d0
Commit
43a2a5d0
authored
May 20, 2022
by
김진영
Browse files
Update batch_test.py
parent
e87ab41a
Changes
1
Hide whitespace changes
Inline
Side-by-side
batch_test.py
View file @
43a2a5d0
...
@@ -23,7 +23,6 @@ def fail_alert(context):
...
@@ -23,7 +23,6 @@ def fail_alert(context):
{"name":"■ Exec Time", "value": "%s"},
{"name":"■ Exec Time", "value": "%s"},
{"name":"■ Task", "value": "%s"},
{"name":"■ Task", "value": "%s"},
{"name":"■ DAG", "value": "%s"},
{"name":"■ DAG", "value": "%s"},
{"name":"■ Log Path", "value": "%s"},
{"name":"■ Reason", "value": "%s"},
{"name":"■ Reason", "value": "%s"},
]
]
}
}
...
@@ -33,7 +32,6 @@ def fail_alert(context):
...
@@ -33,7 +32,6 @@ def fail_alert(context):
context
.
get
(
'execution_date'
)
+
relativedelta
(
hours
=
9
),
context
.
get
(
'execution_date'
)
+
relativedelta
(
hours
=
9
),
context
.
get
(
'task_instance'
).
task_id
,
context
.
get
(
'task_instance'
).
task_id
,
context
.
get
(
'task_instance'
).
dag_id
,
context
.
get
(
'task_instance'
).
dag_id
,
context
.
get
(
'task_instance'
).
log_url
,
context
.
get
(
'exception'
)
context
.
get
(
'exception'
)
)
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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