ashb commented on pull request #20975:
URL: https://github.com/apache/airflow/pull/20975#issuecomment-1031557059
Hmmm why is mypy failing on mapping stuff in this PR. Wonder if main is
broken
```
Run
mypy.................................................................................Failed
- hook id: mypy
- exit code: 1
tests/decorators/test_python.py:487: error: "Callable[[int], Any]" has no
attribute "map" [attr-defined]
doubled_0 = double.map(number=literal)
^
tests/decorators/test_python.py:488: error: "Callable[[int], Any]" has no
attribute "map" [attr-defined]
doubled_1 = double.map(number=literal)
^
tests/decorators/test_python.py:507: error: "Callable[[int], Any]" has no
attribute "partial" [attr-defined]
double.partial(other=1, b='a')
^
tests/decorators/test_python.py:509: error: "Callable[[int], Any]" has no
attribute "map" [attr-defined]
double.map(number=literal, other=1)
^
tests/decorators/test_python.py:519: error: "Callable[[int, int], Any]" has
no
attribute "partial" [attr-defined]
quadrupled = product.partial(task_id='times_4', multiple=3).ma...
^
tests/decorators/test_python.py:520: error: "Callable[[int, int], Any]" has
no
attribute "partial" [attr-defined]
doubled = product.partial(multiple=2).map(number=literal)
^
tests/decorators/test_python.py:521: error: "Callable[[int, int], Any]" has
no
attribute "partial" [attr-defined]
trippled = product.partial(multiple=3).map(number=literal)
^
tests/decorators/test_python.py:523: error: "Callable[[int, int], Any]" has
no
attribute "partial" [attr-defined]
product.partial(multiple=2)```
--
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]