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


##########
airflow/api_fastapi/core_api/datamodels/dag_run.py:
##########
@@ -72,3 +72,13 @@ class DAGRunCollectionResponse(BaseModel):
 
     dag_runs: list[DAGRunResponse]
     total_entries: int
+
+
+class TriggerDAGRunPostBody(BaseModel):
+    """Trigger DAG Run Serializer for POST body."""
+
+    dag_run_id: str
+    data_interval_start: datetime | None
+    data_interval_end: datetime | None

Review Comment:
   No, it means that they both must be defined or not defined. You can't just 
send one but not the other.



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