-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[AIRFLOW-5000] Remove duplicate end_date and reorder template #5618
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
[AIRFLOW-5000] Remove duplicate end_date and reorder template #5618
Conversation
|
I'm not sure we need |
2520505 to
c5cf73f
Compare
|
I'm all in for this change, but FYI I suggested to do the same + more variables a while ago which led to a discussion going around in circles: #5010 (mailing list thread: https://lists.apache.org/thread.html/a81b32efc95db41a5bf847ed03b64ae4d3e9c8a2cbeda1bdcf0eb2f5@%3Cdev.airflow.apache.org%3E). I suggest to merge this PR and tackle the other variables one-by-one instead of one single PR. |
|
@BasPH Sorry, I don't read all dev mail list and don't know you submit related PR. But I find out we still have strong opinions on which variable should be remove. But think it safe to remove the duplicate key I find out that some summary in mail list
I think we still have |
airflow/models/taskinstance.py
Outdated
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.
And what do you think this change. At first I think template messy and all date variable should keep together, but I find out your PR like to keep them in alphabetical
Should I change them in alphabetical or keep them? @BasPH
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.
Let's reorder alphabetically and then merge 👍
* Remove the duplicate end_date in template context * Reorder template context key to make ds together
c5cf73f to
c14a52e
Compare
|
Reorder template context alphabetically |
BasPH
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!
|
Thanks |
…#5618) * Remove the duplicate end_date in template context * Reorder template context key to make ds together
…#5618) * Remove the duplicate end_date in template context * Reorder template context key to make ds together
Make sure you have checked all steps below.
Jira
Description
Code Quality
flake8