bugraoz93 commented on code in PR #66179:
URL: https://github.com/apache/airflow/pull/66179#discussion_r3269928563
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -595,13 +614,66 @@ def _create_arg_for_non_primitive_type(
self._create_arg(
arg_flags=("--" +
self._sanitize_arg_parameter_key(field),),
arg_type=self._python_type_from_string(annotation),
- arg_action=argparse.BooleanOptionalAction if
annotation is bool else None, # type: ignore
+ arg_action=argparse.BooleanOptionalAction if
annotation is bool else None, # type: ignore[misc]
arg_help=f"{field} for {parameter_key} operation",
arg_default=False if annotation is bool else None,
)
)
return commands
+ def _cli_args_clear_task_instances_body(self, parameter_key: str) ->
list[Arg]:
Review Comment:
I still didn't quite follow why all these needed in cli config
--
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]