ephraimbuddy commented on code in PR #55717:
URL: https://github.com/apache/airflow/pull/55717#discussion_r2356028983
##########
airflow-core/src/airflow/executors/workloads.py:
##########
@@ -55,7 +55,6 @@ class TaskInstance(BaseModel):
"""Schema for TaskInstance with minimal required fields needed for
Executors and Task SDK."""
id: uuid.UUID
- dag_version_id: uuid.UUID
Review Comment:
We can execute a TI without a dag_version since the RuntimeTaskInstance
model doesn't include the dag_version_id:
https://github.com/apache/airflow/blob/9bc58a20e58a8b8eee9cf2fbe679f40172abc55d/task-sdk/src/airflow/sdk/execution_time/task_runner.py#L129.
I hope my understanding is correct? Main purpose of the dag_version_id is for
display not for execution
--
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]