ashb commented on code in PR #57952:
URL: https://github.com/apache/airflow/pull/57952#discussion_r2510464165
##########
task-sdk/src/airflow/sdk/definitions/dag.py:
##########
@@ -1389,13 +1437,13 @@ def _run_task(
# it is run.
ti.set_state(TaskInstanceState.QUEUED)
task_sdk_ti = TaskInstanceSDK(
- id=ti.id,
+ id=_to_uuid(ti.id, field_name="TaskInstance.id"),
Review Comment:
This should be done as a pydantic validator/convertor, not custom code here.
--
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]