bugraoz93 commented on code in PR #50986:
URL: https://github.com/apache/airflow/pull/50986#discussion_r2103385649
##########
scripts/ci/pre_commit/capture_airflowctl_help.py:
##########
@@ -56,22 +56,22 @@
def get_airflowctl_command_hash_dict(commands):
hash_dict = {}
for command in commands:
- help_text = os.popen(f"python
{AIRFLOW_CTL_SOURCES_PATH}/airflowctl/__main__.py {command} -h").read()
+ help_text = os.popen(f"airflowctl {command} -h").read()
Review Comment:
My idea was to make something `generate-openapi-spec` since even calling the
__main__ calls the airflowctl package from the file. If I move the script to
in_container and run this in a wrapper. Maybe that could solve it
--
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]