yunchipang commented on code in PR #51704:
URL: https://github.com/apache/airflow/pull/51704#discussion_r2146323702
##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -351,6 +351,16 @@ def list(self) -> Config | ServerResponseError:
except ServerResponseError as e:
raise e
+ def put(self, section: str, option: str, value: str) -> Config |
ServerResponseError:
+ """Update a config value on the API server."""
+ try:
+ self.response = self.client.put(
+ f"/config/section/{section}/option/{option}", json={"value":
value}
Review Comment:
ah gotcha. so `update` will just not be a command option in `airflowctl`,
correct? then this PR can be closed?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]