-
Notifications
You must be signed in to change notification settings - Fork 16.4k
refactor(utils/decorators): rewrite remove task decorator to use cst #43383
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
991cccc to
4e926d5
Compare
d5e6684 to
606b2ea
Compare
1ec8a0a to
28d8f2c
Compare
Lee-W
left a comment
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.
As we decide to use CST, just mark it as draft
28d8f2c to
2a82c10
Compare
2a82c10 to
f2cbefa
Compare
292076c to
066d757
Compare
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
066d757 to
324301b
Compare
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
6631ea8 to
bc09e4b
Compare
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
Lee-W
left a comment
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.
Nice work! left some nits. I'll keep this open for a few days so others can take a lot. if no one object, I'll merge it in 1 or 2 days
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py
Outdated
Show resolved
Hide resolved
e7feec6 to
696e0ea
Compare
potiuk
left a comment
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.
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
…thon_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
6df6641 to
31868ea
Compare
…pache#43383) * refactor(utils/decorators): rewrite remove task decorator to use ast * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * Update providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
…pache#43383) * refactor(utils/decorators): rewrite remove task decorator to use ast * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * Update providers/standard/tests/provider_tests/standard/utils/test_python_virtualenv.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * Update airflow/utils/decorators.py Co-authored-by: Wei Lee <weilee.rx@gmail.com> * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast * fixup! refactor(utils/decorators): rewrite remove task decorator to use ast --------- Co-authored-by: Wei Lee <weilee.rx@gmail.com>
due to #42766 the dropping of python3.8 support, I rewrite the
remove_task_decoratorto achieve the same purpose through CST.TODO:
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.