mik-laj commented on a change in pull request #10081:
URL: https://github.com/apache/airflow/pull/10081#discussion_r464043697
##########
File path: airflow/cli/cli_parser.py
##########
@@ -626,6 +626,16 @@ def positive_int(value):
),
action="store_true",
default=False)
+ARG_CONN_EXPORT_FORMAT = Arg(
+ ('--format',),
+ help='Output format of the file for exporting the connections',
+ default='json',
+ type=str)
Review comment:
Can you consider to use choices?
https://docs.python.org/3/library/argparse.html#choices
----------------------------------------------------------------
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]