Dev-iL commented on code in PR #57952:
URL: https://github.com/apache/airflow/pull/57952#discussion_r2511163163
##########
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:
Alright, though pydantic's validation happens at runtime, whereas mypy needs
explicit type conversion at static analysis time. No?
--
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]