ashb commented on a change in pull request #7413: [AIRFLOW-6793] Respect env
variable in airflow config command
URL: https://github.com/apache/airflow/pull/7413#discussion_r379337056
##########
File path: airflow/configuration.py
##########
@@ -372,6 +371,26 @@ def getsection(self, section):
_section[key] = val
return _section
+ def write(self, fp, space_around_delimiters=True):
+ """Write an .ini-format representation of the configuration state.
+
+ If `space_around_delimiters' is True (the default), delimiters
+ between keys and values are surrounded by spaces.
+
+ This is based on the configparsser.RawConfigParser.write method code
to add support for
Review comment:
This should probably be a # comment, not in the doc string?
What's changed? Is it just that the base one doesn't call
`self.getsection(section)`?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services