Prab-27 commented on code in PR #57435:
URL: https://github.com/apache/airflow/pull/57435#discussion_r2471980104
##########
providers/openlineage/src/airflow/providers/openlineage/utils/utils.py:
##########
@@ -742,7 +742,7 @@ def get_task_duration(ti):
return {
"airflowState": AirflowStateRunFacet(
dagRunState=dag_run_state,
- tasksState={ti.task_id: ti.state for ti in tis},
+ tasksState={ti.task_id: ti.state for ti in tis}, # type: ignore
Review Comment:
Thanks for clarifying! I used to think `typing.cast()` would resolve this,
but it doesn't actually fix the type issue here.
Sorry about that—and I appreciate the explanation!
--
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]