Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.3.0
-
None
-
None
Description
When I run dev mypy (mypy @ git+git://github.com/python/mypy.git@f1eb04ad379fa7492b88794d2c575461079b478a) against feba5ac32f2598f6ca8a274850934106be0db64d I get
python/pyspark/pandas/indexing.py:558: error: Argument 1 to "rename" of "DataFrame" has incompatible type "Union[Any, Tuple[Any, ...]]"; expected "Union[Dict[Any, Any], Callable[[Any], Any]]" [arg-type]
I didn't investigate if further yet, so it is not clear if it is a problem with annotations or bug in mypy.