-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Update code examples from "classic" operators to taskflow #25845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| @@ -22,8 +22,11 @@ | |||
| PythonOperator | |||
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 could go a step further and retitle this page "@task"
|
(waiting for checks to pass before requesting review) |
|
Need to fix static check errors. |
| ``PythonVirtualenvOperator`` ``@task.virtualenv`` | ||
| ``BranchPythonOperator`` ``@task.branch`` | ||
| ``DockerOperator`` ``@task.docker`` | ||
| ============================= ============================================ |
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 also have @task.kubernetes now
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 was added in #25663
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, let's add that in
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.
Related: #25319
Summary
This PR updates the following documentation about classic operators (
PythonOperator,PythonVirtualenvOperator, etc..) to their TaskFlow decorator alternatives.How to check the updates
docs/_build/docs/apache-airflow/latest/index.htmlin your browser