-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Fix config templates type #50792
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
Fix config templates type #50792
Conversation
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.
This seems really odd. I'll let others comment on that, maybe that was intended.
This is cleaner indeed, I don't think it matters that much because we always seem to be doing conf.getfloat
conf.getint
, conf.getboolean
etc...
LGTM
f5f64e7
to
c4add24
Compare
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.
This doesn't affect any runtime behavior since we use conf.getint
, conf.getboolean
etc. This is purely for displaying in https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html
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.
LGTM +1.
c4add24
to
73f4dc8
Compare
Backport failed to create: v3-0-test. View the failure log Run details
You can attempt to backport this manually by running: cherry_picker 8bee3fb v3-0-test This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking After you have resolved the conflicts, you can continue the backport process by running: cherry_picker --continue |
Thanks for all reviews. |
(cherry picked from commit 8bee3fb)
Backport PR: |
(cherry picked from commit 8bee3fb) Co-authored-by: Guan Ming(Wesley) Chiu <[email protected]>
(cherry picked from commit 8bee3fb) Co-authored-by: Guan Ming(Wesley) Chiu <[email protected]>
Why
When migrating my local cfg to newest one, I found there are some type error in config template
cc @pierrejeambrun
How
Update them to correct type
^ 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.rst
or{issue_number}.significant.rst
, in airflow-core/newsfragments.