potiuk commented on pull request #21020:
URL: https://github.com/apache/airflow/pull/21020#issuecomment-1018811370
All right @uranusjr . Decorators are all yours:
```
No need to rebuild the image: none of the important files changed
airflow/models/dag.py:91: error: Module "airflow.decorators" has no attribute
"TaskDecoratorFactory"; maybe "_TaskDecoratorFactory" or "TaskDecorator"?
[attr-defined]
from airflow.decorators import TaskDecoratorFactory
^
airflow/models/dag.py:2118: error: Argument 1 to "partial" has incompatible
type "_TaskDecoratorFactory"; expected "Callable[..., Any]" [arg-type]
...return cast("TaskDecoratorFactory", functools.partial(task, dag=self))
^
airflow/models/dag.py:2118: note: "_TaskDecoratorFactory.__call__" has type
"staticmethod"
Found 2 errors in 1 file (checked 2704 source files)
ERROR: The previous step completed with error. Please take a look at output
above
No need to rebuild the image: none of the important files changed
airflow/example_dags/tutorial_taskflow_api_etl.py:25: error: Module
"airflow.decorators" has no attribute "dag" [attr-defined]
from airflow.decorators import dag, task
^
Found 1 error in 1 file (checked 403 source files)
ERROR: The previous step completed with error. Please take a look at output
above
```
--
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]