bugraoz93 commented on code in PR #54073:
URL: https://github.com/apache/airflow/pull/54073#discussion_r2252598242
##########
airflow-ctl/src/airflowctl/api/operations.py:
##########
@@ -554,11 +554,10 @@ def trigger(
self, dag_id: str, trigger_dag_run: TriggerDAGRunPostBody
) -> DAGRunResponse | ServerResponseError:
"""Create a dag run."""
+ if trigger_dag_run.conf is None:
+ trigger_dag_run.conf = {}
Review Comment:
Updated as it can be `None` means factory will end up as `{}`, it worked in
Postman too.
--
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]