-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Deprecate DAG.run method #42417
Deprecate DAG.run method #42417
Conversation
This method relies on local backfill mode, which is slated for removal in 3.0. We have suitable alternatives such as DAG.test() and triggering dags via API.
Should it be done in |
I think that the practice is, add to main first, then cherry pick. But I could be wrong. |
That works too :) |
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.
I assume you need to adjust some pytests making the CI green, else OK.
cc @ephraimbuddy / @utkarsharma2 If we do release 2.10.3 -- worth including it then or directly in 2.11 |
Yeah I had to. These are actually very old tests. And it sorta wasn't clear what they were testing. But they are related to this issue #1225. Ultimately though, they only test behavior of the backfill scheduler, which is going to be removed, so the tests can safely be removed IMHO. And I've added a todo for that to remove them along with DAG.run. |
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
This method relies on local backfill mode, which is slated for removal in 3.0. We have suitable alternatives such as DAG.test() and triggering dags via API.
This method relies on local backfill mode, which is slated for removal in 3.0. We have suitable alternatives such as DAG.test() and triggering dags via API.