kaxil commented on code in PR #45008:
URL: https://github.com/apache/airflow/pull/45008#discussion_r1912516599


##########
airflow/executors/workloads.py:
##########
@@ -50,6 +50,10 @@ class TaskInstance(BaseModel):
     try_number: int
     map_index: int | None = None
 
+    pool_slots: int
+    queue: str
+    priority_weight: int

Review Comment:
   Currently there are a few TaskInstance mode apart from TI from ORM.
   
   I think this is fine for now, but in one of the next, we should consolidate 
this TI and one in 
   
   
https://github.com/apache/airflow/blob/b35fc9f3d7384df2ca2de9dc6ad536188d44d074/airflow/api_fastapi/execution_api/datamodels/taskinstance.py#L157



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