bugraoz93 commented on code in PR #61047:
URL: https://github.com/apache/airflow/pull/61047#discussion_r2743181635
##########
airflow-ctl/src/airflowctl/ctl/cli_config.py:
##########
@@ -621,6 +621,16 @@ def _get_func(args: Namespace, api_operation: dict,
api_client: Client = NEW_API
if datamodel:
if datamodel_param_name:
+ # Special handling for TriggerDAGRunPostBody: default
logical_date to now
+ # This matches the Airflow UI behavior where the form
pre-fills with current time
+ if (
Review Comment:
Small nit, maybe would be great to move this into a method to have clear
updates on which datamodels from a single place rather than this method, which
already has a lot of cyclomatic complexity :)
--
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]