You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/12/16 20:07:28 UTC

[GitHub] [airflow] josh-fell commented on pull request #20034: Fix most mypy errors in airflow/decorators

josh-fell commented on pull request #20034:
URL: https://github.com/apache/airflow/pull/20034#issuecomment-996157648


   @uranusjr @potiuk I pushed some other changes here to fix decorators more generally. I'm still not quite sure how to resolve this error though:
   ```
   airflow/decorators/__init__.py:45: error: Cannot assign to a type
               _TaskDecorator = _DockerTask
   ```
   A `cast()` resolves the issue but I'm not sure if this is the proper fix given the code context.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org