kaxil commented on code in PR #45294:
URL: https://github.com/apache/airflow/pull/45294#discussion_r1923131084
##########
airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -199,3 +203,6 @@ class TIRunContext(BaseModel):
connections: Annotated[list[ConnectionResponse],
Field(default_factory=list)]
"""Connections that can be accessed by the task instance."""
+
+ start_date: Annotated[UtcDateTime, Field(title="Start Date")]
+ """Start date of the task instance."""
Review Comment:
This info is readily available here:
https://github.com/apache/airflow/blob/41b151e7dde473ec445f9f78fb4b8db826c368fc/task_sdk/src/airflow/sdk/execution_time/supervisor.py#L599-L605
I am wondering what would be the best place to hook the `on_start` listener.
--
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]