Skip to content

Commit

Permalink
Add batch_run_date
Browse files Browse the repository at this point in the history
  • Loading branch information
amishas157 committed Dec 11, 2024
1 parent 718238e commit 698af13
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dags/external_data_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
"alias": "external",
},
render_template_as_native_obj=True,
user_defined_macros={
"batch_run_date_as_datetime_string": macros.batch_run_date_as_datetime_string,
},
user_defined_filters={
"fromjson": lambda s: loads(s),
"container_resources": lambda s: k8s.V1ResourceRequirements(requests=s),
Expand Down

0 comments on commit 698af13

Please sign in to comment.