ashb commented on pull request #20034: URL: https://github.com/apache/airflow/pull/20034#issuecomment-996229462
> @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 us playing tricks for IDE support. A `# type: ignore` or a `cast()` is perfectly valid solution to that. -- 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]
