-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
dc407aa
to
82165e8
Compare
4359261
to
9bac7f6
Compare
docker-compose.yaml
Outdated
@@ -48,10 +48,10 @@ x-airflow-common: &airflow-common | |||
# In order to add custom dependencies or upgrade provider packages you can use your extended image. | |||
# Comment the image line, place your Dockerfile in the directory where you placed the docker-compose.yaml | |||
# and uncomment the "build" line below, Then run `docker-compose build` to build the images. | |||
image: apache/airflow:2.8.3-python3.11 | |||
# image: apache/airflow:2.9.3-python3.11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can remove it completely
9bac7f6
to
4c651f2
Compare
@@ -99,7 +99,7 @@ def set_author_update_workflow_status_to_completed(**context): | |||
collection=AUTHORS, | |||
) | |||
|
|||
@task.branch(provide_context=True) | |||
@task.branch() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did we remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is now implicitly detected
https://airflow.apache.org/docs/apache-airflow/stable/release_notes.html#airflow-operators-python-pythonoperator
Even in the code, they pop it.
https://airflow.apache.org/docs/apache-airflow/2.9.3/_modules/airflow/operators/python.html#:~:text=if%20kwargs.get(%22provide_context%22)%3A
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the detailed explaination.
No description provided.