ashb commented on code in PR #45583:
URL: https://github.com/apache/airflow/pull/45583#discussion_r1914679082
##########
airflow/api_fastapi/execution_api/datamodels/taskinstance.py:
##########
@@ -165,6 +168,24 @@ class TaskInstance(BaseModel):
try_number: int
map_index: int | None = None
+ max_tries: int
+ pool_slots: int
+ queue: str
+ priority_weight: int
+
+ # TODO: Task-SDK: Can we replace TaskInstanceKey with just the uuid across
the codebase?
+ @property
+ def key(self) -> TaskInstanceKey:
Review Comment:
What needs this btw?
--
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]