bbovenzi commented on code in PR #43875:
URL: https://github.com/apache/airflow/pull/43875#discussion_r1851044377


##########
airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -65,3 +65,14 @@ class DAGRunResponse(BaseModel):
     triggered_by: DagRunTriggeredByType
     conf: dict
     note: str | None
+
+
+class TriggerDAGRunPostBody(BaseModel):
+    """Trigger DAG Run Serializer for POST body."""
+
+    dag_run_id: str | None
+    logical_date: datetime

Review Comment:
   I think we want to remove this entirely and let the backend interpret the 
logical_date. I assume that has to happen at a deeper layer than use `fastapi` 
is that right @uranusjr ?



-- 
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]

Reply via email to