dirrao commented on PR #39850:
URL: https://github.com/apache/airflow/pull/39850#issuecomment-2266571486

   @potiuk 
   We are seeing the issue related to typecasting. Do we need this explicit 
type casting?
   ```
   airflow/models/dag.py:2760: error: "TaskDecoratorCollection" not callable 
   
[120](https://github.com/apache/airflow/actions/runs/10155935894/job/28083658202?pr=39850#step:6:121)
   [misc]
   
[121](https://github.com/apache/airflow/actions/runs/10155935894/job/28083658202?pr=39850#step:6:122)
               return cast("TaskDecoratorCollection", functools.partial(task,...
   
[122](https://github.com/apache/airflow/actions/runs/10155935894/job/28083658202?pr=39850#step:6:123)
                                                      ^
   
[123](https://github.com/apache/airflow/actions/runs/10155935894/job/28083658202?pr=39850#step:6:124)
   Found 1 error in 1 file (checked 1238 source files)
   
[124](https://github.com/apache/airflow/actions/runs/10155935894/job/28083658202?pr=39850#step:6:125)
   Error 1 returned
   ```


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