typeshed
typeshed copied to clipboard
Remove builtins.function
Part of #7580
Diff from mypy_primer, showing the effect of this PR on open source code:
kornia (https://github.com/kornia/kornia)
+ kornia/core/mixin/image_module.py:66: error: "Callable[[Any], Any]" has no attribute "__code__" [attr-defined]
+ kornia/core/module.py:72: error: "Callable[[Any], Any]" has no attribute "__code__" [attr-defined]
bidict (https://github.com/jab/bidict)
+ bidict/_orderedbidict.py: note: In function "_override_set_methods_to_use_backing_dict":
+ bidict/_orderedbidict.py:161:9: error: "Callable[[_OrderedBidictKeysView[KT] | _OrderedBidictItemsView[KT, Any], VarArg(Any)], Any]" has no attribute "__name__" [attr-defined]
+ bidict/_orderedbidict.py:162:9: error: "Callable[[_OrderedBidictKeysView[KT] | _OrderedBidictItemsView[KT, Any], VarArg(Any)], Any]" has no attribute "__qualname__" [attr-defined]
pandera (https://github.com/pandera-dev/pandera)
+ pandera/typing/geopandas.py:124: error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 1.18.2
+ pandera/typing/geopandas.py:124: : note: use --pdb to drop into pdb
+ pandera/utils.py:14: error: "F" has no attribute "__doc__" [attr-defined]
+ pandera/utils.py:18: error: "F" has no attribute "__doc__" [attr-defined]
+ pandera/utils.py:18: note: Error code "attr-defined" not covered by "type: ignore" comment
+ pandera/utils.py:20: error: "F" has no attribute "__doc__" [attr-defined]
+ pandera/utils.py:20: note: Error code "attr-defined" not covered by "type: ignore" comment
+ pandera/utils.py:21: error: "F" has no attribute "__doc__" [attr-defined]
+ pandera/inspection_utils.py:27: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/base/checks.py:100: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/base/checks.py:101: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/base/checks.py:104: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/parsers.py:59: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
- pandera/engines/pyspark_engine.py:165: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:168: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:171: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:180: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:183: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:186: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:195: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:198: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:201: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:210: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:213: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:216: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:225: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:228: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:231: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:240: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:243: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:246: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:255: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:258: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:261: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:272: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:279: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:314: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:317: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:329: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:332: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:335: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:343: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:347: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:350: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:352: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:355: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:364: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:367: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:370: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:404: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyspark_engine.py:466: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/common.py:41: error: Unused "type: ignore" comment [unused-ignore]
+ pandera/api/checks.py:173: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
- pandera/engines/utils.py:70: error: Unused "type: ignore[union-attr]" comment [unused-ignore]
- pandera/engines/utils.py:73: error: Unused "type: ignore[call-overload]" comment [unused-ignore]
- pandera/engines/utils.py:78: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/utils.py:84: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/error_formatters.py:126: error: Unused "type: ignore[assignment, call-overload]" comment [unused-ignore]
- pandera/backends/pandas/error_formatters.py:235: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/error_formatters.py:243: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/error_formatters.py:260: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/numpy_engine.py:306: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/numpy_engine.py:314: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/checks.py:61: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/checks.py:64: error: Unused "type: ignore" comment [unused-ignore]
+ pandera/api/base/model_components.py:133: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ pandera/api/base/model_components.py:154: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
- pandera/backends/pandas/checks.py:311: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/base_strategies.py:21: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:385: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:524: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:526: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:534: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:706: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:707: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:712: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:760: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:764: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1311: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1384: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1386: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1394: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1485: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1498: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1523: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1811: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1812: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:1848: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:2016: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pandas_engine.py:2017: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/extensions.py:81: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/extensions.py:224: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/extensions.py:228: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/model_components.py:46: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pandas.py:80: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pandas.py:129: error: Unused "type: ignore" comment [unused-ignore]
+ pandera/api/extensions.py:255: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/extensions.py:257: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/extensions.py:316: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pandera/api/dataframe/model_components.py:310: error: Item "function" of "classmethod[Any, Any, Any] | Callable[..., Any]" has no attribute "__doc__" [union-attr]
+ pandera/api/dataframe/model_components.py:337: error: Item "function" of "classmethod[Any, Any, Any] | Callable[..., Any]" has no attribute "__doc__" [union-attr]
+ pandera/api/dataframe/model_components.py:358: error: Item "function" of "classmethod[Any, Any, Any] | Callable[..., Any]" has no attribute "__doc__" [union-attr]
+ pandera/api/dataframe/model_components.py:374: error: Item "function" of "classmethod[Any, Any, Any] | Callable[..., Any]" has no attribute "__doc__" [union-attr]
- pandera/typing/pandas.py:196: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pandas.py:233: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pandas.py:363: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:67: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:68: error: Unused "type: ignore[arg-type]" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:69: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:70: error: Unused "type: ignore[arg-type]" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:220: error: Unused "type: ignore[union-attr]" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:221: error: Unused "type: ignore[union-attr]" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:246: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:253: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:272: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:273: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:394: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:398: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:410: error: Unused "type: ignore" comment [unused-ignore]
- pandera/strategies/pandas_strategies.py:1168: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyarrow_engine.py:289: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyarrow_engine.py:290: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyarrow_engine.py:323: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyarrow_engine.py:487: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/pyarrow_engine.py:488: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/geopandas_engine.py:95: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/geopandas_engine.py:118: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/container.py:220: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/container.py:224: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/container.py:378: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/container.py:815: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/array.py:247: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/container.py:166: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/container.py:423: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/container.py:1107: error: Redundant cast to "Self" [redundant-cast]
- pandera/api/dataframe/container.py:1368: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/container.py:1386: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/container.py:1387: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:30: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:33: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:34: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:35: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:36: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:37: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:38: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:39: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:40: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:41: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:42: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark_sql.py:43: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/pyspark.py:41: error: Unused "type: ignore" comment [unused-ignore]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6078, in accept
+ File "mypy/checkexpr.py", line 6113, in accept_maybe_cache
+ File "mypy/nodes.py", line 2594, in accept
+ File "mypy/checkexpr.py", line 5390, in visit_dict_expr
+ File "mypy/checkexpr.py", line 5341, in fast_dict_type
+ File "mypy/checkexpr.py", line 5121, in _first_or_join_fast_item
+ File "mypy/join.py", line 889, in join_type_list
+ File "mypy/join.py", line 253, in join_types
+ File "mypy/types.py", line 2628, in accept
+ File "mypy/join.py", line 448, in visit_overloaded
+ File "mypy/join.py", line 253, in join_types
+ File "mypy/types.py", line 1657, in accept
+ File "mypy/join.py", line 343, in visit_instance
+ File "mypy/join.py", line 153, in join_instances
+ File "mypy/join.py", line 188, in join_instances_via_supertype
+ AssertionError:
- pandera/typing/geopandas.py:55: error: Cannot override final attribute "__setattr__" (previously declared in base class "NDFrame") [misc]
- pandera/typing/geopandas.py:55: error: Definition of "interpolate" in base class "GeoPandasBase" is incompatible with definition in base class "DataFrame" [misc]
- pandera/typing/geopandas.py:55: error: Definition of "skew" in base class "GeoPandasBase" is incompatible with definition in base class "DataFrame" [misc]
- pandera/typing/geopandas.py:55: error: Definition of "transform" in base class "GeoPandasBase" is incompatible with definition in base class "DataFrame" [misc]
- pandera/typing/geopandas.py:134: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/geopandas.py:172: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/dask.py:32: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/__init__.py:117: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/components.py:347: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/components.py:514: error: Argument 1 to "_map_schema_to_levels" of "MultiIndexBackend" has incompatible type "Index[Any]"; expected "MultiIndex" [arg-type]
- pandera/backends/pandas/components.py:520: error: Argument 1 to "_check_strict" of "MultiIndexBackend" has incompatible type "Index[Any]"; expected "MultiIndex" [arg-type]
- pandera/backends/pandas/components.py:526: error: Argument 1 to "_validate_index_names" of "MultiIndexBackend" has incompatible type "Index[Any]"; expected "MultiIndex" [arg-type]
- pandera/backends/pandas/components.py:555: error: Argument 1 to "_check_unique" of "MultiIndexBackend" has incompatible type "Index[Any]"; expected "MultiIndex" [arg-type]
- pandera/backends/pandas/components.py:693: error: Incompatible types in assignment (expression has type "Hashable", variable has type "str") [assignment]
- pandera/backends/pandas/components.py:940: error: Incompatible types in assignment (expression has type "Hashable", variable has type "str | None") [assignment]
- pandera/backends/pandas/components.py:1072: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/pandas/builtin_checks.py:302: error: Unused "type: ignore[return-value]" comment [unused-ignore]
- pandera/api/pandas/array.py:173: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/pandas/array.py:252: error: Redundant cast to "Series[Any]" [redundant-cast]
- pandera/api/pandas/array.py:282: error: Redundant cast to "Series[Any]" [redundant-cast]
- pandera/api/pandas/components.py:23: error: Incompatible default for argument "dtype" (default has type "None", argument has type "str | type | DataType | ExtensionDtype | dtype[Any]") [assignment]
- pandera/api/pandas/components.py:23: note: PEP 484 prohibits implicit Optional. Accordingly, mypy has changed its default to no_implicit_optional=True
- pandera/api/pandas/components.py:23: note: Use https://github.com/hauntsaninja/no_implicit_optional to automatically upgrade your codebase
- pandera/api/pandas/components.py:365: error: Argument "dtype" to "Column" has incompatible type "DataType | None"; expected "str | type | DataType | ExtensionDtype | dtype[Any]" [arg-type]
- pandera/api/pandas/components.py:439: error: Unused "type: ignore" comment [unused-ignore]
- pandera/schema_inference/pandas.py:25: error: Unused "type: ignore" comment [unused-ignore]
- pandera/schema_inference/pandas.py:60: error: Unused "type: ignore" comment [unused-ignore]
- pandera/schema_inference/pandas.py:62: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/model.py:160: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/model.py:590: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/dataframe/model.py:593: error: Unused "type: ignore" comment [unused-ignore]
- pandera/decorators.py:494: error: Unused "type: ignore" comment [unused-ignore]
- pandera/decorators.py:508: error: Unused "type: ignore" comment [unused-ignore]
- pandera/decorators.py:511: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/pandas/model.py:247: error: Incompatible types in assignment (expression has type "Index[bool]", variable has type "MultiIndex") [assignment]
- tests/mypy/pandas_modules/pandas_dataframe.py:35: error: No overload variant of "pipe" of "NDFrame" matches argument type "type[pandera.typing.pandas.DataFrame[AnotherSchema]]" [call-overload]
- tests/mypy/pandas_modules/pandas_dataframe.py:35: note: Possible overload variants:
- tests/mypy/pandas_modules/pandas_dataframe.py:35: note: def [P`10215, T] pipe(self, func: Callable[[DataFrame[Schema], **P], T], *args: P.args, **kwargs: P.kwargs) -> T
- tests/mypy/pandas_modules/pandas_dataframe.py:35: note: def [T] pipe(self, func: tuple[Callable[..., T], str], *args: Any, **kwargs: Any) -> T
- tests/mypy/pandas_modules/pandas_dataframe.py:41: error: Incompatible return value type (got "DataFrame[Schema]", expected "DataFrame[SchemaOut]") [return-value]
- tests/mypy/pandas_modules/pandas_dataframe.py:54: error: Argument 1 to "fn" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[Schema]" [arg-type]
- tests/mypy/pandas_modules/pandas_dataframe.py:58: error: Argument 1 to "fn" has incompatible type "DataFrame[AnotherSchema]"; expected "DataFrame[Schema]" [arg-type]
- tests/mypy/pandas_modules/pandas_dataframe.py:80: error: Incompatible return value type (got "DataFrame[Schema]", expected "DataFrame[SchemaOut]") [return-value]
- tests/strategies/test_strategies.py:192: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:272: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:377: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:378: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:447: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:639: error: Argument 1 to "__call__" of "ComponentSchema" has incompatible type "DataFrame"; expected "Index[Any]" [arg-type]
- tests/strategies/test_strategies.py:649: error: Argument 1 to "__call__" of "ComponentSchema" has incompatible type "DataFrame"; expected "Index[Any]" [arg-type]
- tests/strategies/test_strategies.py:890: error: Unused "type: ignore" comment [unused-ignore]
- tests/strategies/test_strategies.py:931: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_typing.py:15: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_typing.py:17: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:1105: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:1337: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:1793: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:1794: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:1837: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schemas.py:2021: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_statistics.py:59: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_inference.py:39: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_components.py:296: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_components.py:411: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_components.py:653: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_schema_components.py:659: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_parsers.py:34: error: "Series[Any]" not callable [operator]
- tests/pandas/test_parsers.py:45: error: "int" not callable [operator]
- tests/pandas/test_multithreaded.py:11: error: Type argument "floating[_32Bit]" of "Series" must be a subtype of "bool | int | str | float | Bool | <30 more items>" [type-var]
- tests/pandas/test_model.py:46: error: Self argument missing for a non-static method (or an invalid type for self) [misc]
- tests/pandas/test_model.py:51: error: Self argument missing for a non-static method (or an invalid type for self) [misc]
- tests/pandas/test_model.py:193: error: Type argument "list[int]" of "Series" must be a subtype of "bool | int | str | float | Bool | <30 more items>" [type-var]
- tests/pandas/test_model.py:215: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:582: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:605: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:736: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:743: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:749: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1467: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1468: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1469: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1478: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1479: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1480: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1489: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1490: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1491: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1531: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1532: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1533: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:1537: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:2097: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:2109: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_model.py:2125: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_logical_dtypes.py:65: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_logical_dtypes.py:120: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_from_to_format_conversions.py:277: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:343: error: Need type annotation for "series" [var-annotated]
- tests/pandas/test_dtypes.py:347: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:614: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:625: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:642: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:652: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_dtypes.py:674: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_decorators.py:597: error: Incompatible return value type (got "pandas.core.frame.DataFrame", expected "pandera.typing.pandas.DataFrame[OnlyZeroesSchema]") [return-value]
- tests/pandas/test_decorators.py:600: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_decorators.py:813: error: Argument 1 to "some_transformation" has incompatible type "DataFrame"; expected "MySchema1" [arg-type]
- tests/pandas/test_decorators.py:850: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_decorators.py:856: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_decorators.py:995: error: Unused "type: ignore" comment [unused-ignore]
- tests/pandas/test_decorators.py:1058: error: Argument 1 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1058: error: Argument 2 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1059: error: Argument 1 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1059: error: Argument 2 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1059: error: Argument 3 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1064: error: Argument 1 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1064: error: Argument 2 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1064: error: Argument 3 to "get_len_star_args__dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1093: error: Argument "kwarg1" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema] | None" [arg-type]
- tests/pandas/test_decorators.py:1094: error: Argument "kwarg2" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1097: error: Argument "kwarg1" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema] | None" [arg-type]
- tests/pandas/test_decorators.py:1097: error: Argument "kwarg2" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1097: error: Argument "kwarg3" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1108: error: Argument "kwarg1" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema] | None" [arg-type]
- tests/pandas/test_decorators.py:1108: error: Argument "kwarg2" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1108: error: Argument "kwarg3" to "get_star_kwargs_keys_dataframe" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument 1 to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument 2 to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument 3 to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument "kwarg1" to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument "kwarg2" to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/pandas/test_decorators.py:1134: error: Argument "kwarg3" to "star_args_kwargs" has incompatible type "pandas.core.frame.DataFrame"; expected "pandera.typing.pandas.DataFrame[InSchema]" [arg-type]
- tests/modin/test_logical_dtypes.py:66: error: Unused "type: ignore" comment [unused-ignore]
- tests/modin/test_logical_dtypes.py:125: error: Unused "type: ignore" comment [unused-ignore]
- tests/io/test_pandas_io.py:32: error: Unused "type: ignore" comment [unused-ignore]
- tests/io/test_pandas_io.py:35: error: Unused "type: ignore" comment [unused-ignore]
- tests/geopandas/test_geopandas.py:14: error: Unused "type: ignore" comment [unused-ignore]
- tests/geopandas/test_geopandas.py:16: error: Unused "type: ignore" comment [unused-ignore]
- tests/geopandas/test_geopandas.py:57: error: Incompatible return value type (got "pandas.core.series.Series[bool]", expected "pandera.typing.pandas.Series[bool]") [return-value]
- tests/geopandas/test_from_to_format_conversions.py:288: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:30: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:31: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:31: error: "Series[Any]" not callable [operator]
- tests/dask/test_dask.py:31: note: Error code "operator" not covered by "type: ignore" comment
- tests/dask/test_dask.py:33: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:36: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:36: error: "Series[Any]" not callable [operator]
- tests/dask/test_dask.py:36: note: Error code "operator" not covered by "type: ignore" comment
- tests/dask/test_dask.py:38: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:41: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:41: error: "Series[Any]" not callable [operator]
- tests/dask/test_dask.py:41: note: Error code "operator" not covered by "type: ignore" comment
- tests/dask/test_dask.py:57: error: Unused "type: ignore" comment [unused-ignore]
- tests/dask/test_dask.py:81: error: Unused "type: ignore" comment [unused-ignore]
- pandera/typing/fastapi.py:92: error: Module "pydantic.fields" has no attribute "ModelField" [attr-defined]
- pandera/typing/fastapi.py:111: error: Unused "type: ignore" comment [unused-ignore]
- pandera/engines/polars_engine.py:864: error: Unused "type: ignore" comment [unused-ignore]
- pandera/accessors/pyspark_sql_accessor.py:11: error: Unused "type: ignore" comment [unused-ignore]
- pandera/accessors/pyspark_sql_accessor.py:12: error: Unused "type: ignore" comment [unused-ignore]
- pandera/accessors/pyspark_sql_accessor.py:41: error: Unused "type: ignore" comment [unused-ignore]
- pandera/accessors/pyspark_sql_accessor.py:46: error: Unused "type: ignore" comment [unused-ignore]
- tests/fastapi/app.py:16: error: Unused "type: ignore" comment [unused-ignore]
- tests/fastapi/app.py:18: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/polars/base.py:242: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/polars/container.py:118: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/polars/container.py:296: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/polars/container.py:303: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/polars/container.py:307: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/ibis/container.py:271: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/ibis/container.py:278: error: Unused "type: ignore" comment [unused-ignore]
- pandera/backends/ibis/container.py:282: error: Unused "type: ignore" comment [unused-ignore]
- pandera/api/polars/model.py:129: error: Overloaded function signature 2 will never be matched: signature 1's parameter type(s) are the same or broader [overload-cannot-match]
- tests/polars/test_polars_model.py:8: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_model.py:10: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_model.py:70: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_decorators.py:79: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_dataframe_generic.py:62: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_dataframe_generic.py:66: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_container.py:21: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_container.py:23: error: Unused "type: ignore" comment [unused-ignore]
- tests/polars/test_polars_components.py:220: error: Unused "type: ignore" comment [unused-ignore]
- tests/ibis/test_ibis_decorators.py:79: error: Unused "type: ignore" comment [unused-ignore]
- tests/ibis/test_ibis_components.py:247: error: Unused "type: ignore" comment [unused-ignore]
spark (https://github.com/apache/spark)
+ python/pyspark/instrumentation_utils.py:80: error: "Callable[[Any], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/instrumentation_utils.py:98: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/profiler.py:246: error: "Callable[..., Any]" has no attribute "__module__" [attr-defined]
+ python/pyspark/profiler.py:247: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/profiler.py:248: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/profiler.py:268: error: "Callable[..., Any]" has no attribute "__code__" [attr-defined]
+ python/pyspark/core/rdd.py:191: error: Unsupported left operand type for == ("Callable[[Any], int]") [operator]
+ python/pyspark/sql/utils.py:280: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:295: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:310: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:325: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:355: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:374: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:379: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:383: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:401: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:406: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:410: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:428: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:432: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:448: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:452: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/udf.py:195: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/udf.py:478: error: "Callable[..., Any]" has no attribute "__code__" [attr-defined]
+ python/pyspark/sql/udf.py:523: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/session.py:2441: error: Item "function" of "Callable[..., Any] | property" has no attribute "__doc__" [union-attr]
+ python/pyspark/sql/session.py:2442: error: Item "function" of "Callable[..., Any] | property" has no attribute "__doc__" [union-attr]
+ python/pyspark/sql/session.py:2443: error: Item "function" of "Callable[..., Any] | property" has no attribute "__doc__" [union-attr]
+ python/pyspark/sql/group.py:36: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:40: error: "Callable[[GroupedData], DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:40: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:41: error: "Callable[[GroupedData], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:41: error: "Callable[..., DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:49: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:53: error: "Callable[[GroupedData, VarArg(str)], DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:53: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:54: error: "Callable[[GroupedData, VarArg(str)], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:54: error: "Callable[..., DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:541: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:6941: error: "Callable[[DataFrameNaFunctions, str, int | None, str | tuple[str, ...] | list[str] | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:6941: error: "Callable[[DataFrame, str, int | None, str | tuple[str, ...] | list[str] | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:6959: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:6998: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7040: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7046: error: "Callable[[DataFrameStatFunctions, str, str, str | None], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7046: error: "Callable[[DataFrame, str, str, str | None], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7052: error: "Callable[[DataFrameStatFunctions, str, str], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7052: error: "Callable[[DataFrame, str, str], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7058: error: "Callable[[DataFrameStatFunctions, str, str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7058: error: "Callable[[DataFrame, str, str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7064: error: "Callable[[DataFrameStatFunctions, list[str], float | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7064: error: "Callable[[DataFrame, list[str] | tuple[str], float | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7072: error: "Callable[[DataFrameStatFunctions, str, dict[Any, float], int | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7072: error: "Callable[[DataFrame, Column | str, dict[Any, float], int | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:23272: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:23279: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:23310: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:28290: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:28291: error: "Callable[[type[Any] | None, DefaultNamedArg(StructType | str | None, 'returnType')], UserDefinedTableFunction | Callable[[type[Any]], UserDefinedTableFunction]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/__init__.py:90: error: "_F" has no attribute "__doc__" [attr-defined]
+ python/pyspark/__init__.py:92: error: "_F" has no attribute "__doc__" [attr-defined]
+ python/pyspark/__init__.py:94: error: "_F" has no attribute "__doc__" [attr-defined]
+ python/pyspark/__init__.py:113: error: "_F" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:45: error: "Callable[[TableValuedFunction, int, int | None, int, int | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:50: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:55: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:60: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:65: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:75: error: "Callable[[TableValuedFunction, Column, VarArg(Column)], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:80: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:85: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:90: error: "Callable[[TableValuedFunction, Column, VarArg(Column)], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:95: error: "Callable[[TableValuedFunction], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:100: error: "Callable[[TableValuedFunction], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:105: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/tvf.py:110: error: "Callable[[TableValuedFunction, Column], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/datasource.py:47: error: "Callable[[DataSourceRegistration, type[DataSource]], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:1972: error: "Callable[[DataFrame], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:1973: error: "Callable[[pyspark.sql.dataframe.DataFrame], pandas.core.frame.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:1974: error: "Callable[[DataFrame, Callable[[Iterable[Any]], Iterable[Any]], StructType | str, bool, ResourceProfile | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:1975: error: "Callable[[pyspark.sql.dataframe.DataFrame, Callable[[Iterable[pandas.core.frame.DataFrame]], Iterable[pandas.core.frame.DataFrame]], StructType | str, bool, ResourceProfile | None], pyspark.sql.dataframe.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:1976: error: "Callable[[pyspark.sql.dataframe.DataFrame, str | list[str] | None], pyspark.pandas.frame.DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/utils.py:588: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/generic.py:3583: error: "Callable[[Frame], AtIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3589: error: "Callable[[Frame], iAtIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3595: error: "Callable[[Frame], iLocIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3601: error: "Callable[[Frame], LocIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1025: error: "Callable[[PandasOnSparkPlotAccessor, Any, KwArg(Any)], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1031: error: "Callable[[PandasOnSparkPlotAccessor, KwArg(Any)], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1037: error: "Callable[[PandasOnSparkPlotAccessor, Any, Any, KwArg(Any)], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1039: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1046: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1053: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1062: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1069: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1076: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1083: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1092: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1099: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1108: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1115: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1122: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1129: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1136: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1143: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1150: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5281: error: "Callable[[DataFrame[T], str, str | None, str, str | list[str] | None, str | list[str] | None, KwArg(Any)], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5281: error: "Callable[[SparkFrameMethods, str, str | None, str, str | list[str] | None, str | list[str] | None, KwArg(bool | float | int | str | None)], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5545: error: "Callable[[pyspark.pandas.frame.DataFrame[T], str | list[str] | None], pyspark.sql.dataframe.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:13377: error: "Callable[[DataFrame[T], Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str, bool, bool], DataFrameGroupBy]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:13377: error: "Callable[[FrameLike, Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str, bool, bool], GroupBy[FrameLike]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/base.py:193: error: Unsupported left operand type for == ("Callable[..., Column]") [operator]
+ python/pyspark/pandas/series.py:558: error: "Callable[[Series[T], Any, int | str | float], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:579: error: "Callable[[Series[T], Any, int | str | float], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:590: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:603: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:614: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:625: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:636: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:649: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:660: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:673: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:684: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:695: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:706: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:717: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:728: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:739: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1647: error: "Callable[[Series[T], bool, str | None, KwArg(Any)], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1647: error: "Callable[[DataFrame[T], bool, str, KwArg(Any)], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1720: error: "Callable[[Series[T], IO[str] | None, list[Any | tuple[Any, ...]] | None, bool, bool, str, list[Callable[[Any], str]] | dict[Any | tuple[Any, ...], Callable[[Any], str]] | None, Callable[[float], str] | None, bool | None, bool, bool, str | None, bool | None, bool | None, str | None, str, bool | None, str | None, bool | None], str | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1720: error: "Callable[[DataFrame[T], IO[str], list[Any | tuple[Any, ...]], bool, bool, str, list[Callable[[Any], str]] | dict[Any | tuple[Any, ...], Callable[[Any], str]], Callable[[float], str], bool, bool, bool, str, bool, bool, str, str, bool, str, bool], str]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:3675: error: "Callable[[Series[T], int | None, float | None, bool, int | None, bool], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:3675: error: "Callable[[DataFrame[T], int, float, bool, int, bool], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:3681: error: "Callable[[PandasOnSparkPlotAccessor, Any, KwArg(Any)], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:3973: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/series.py:4280: error: "Callable[[Series[T], Sequence[Any] | None, str | None, str | None, int | str | None], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4280: error: "Callable[[DataFrame[T], Sequence[Any], str, str, int | str], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4285: error: "Callable[[Series[T], list[float] | None], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4285: error: "Callable[[DataFrame[T], list[float]], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:7151: error: "Callable[[Series[T], Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str, bool, bool], SeriesGroupBy]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:7151: error: "Callable[[FrameLike, Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str, bool, bool], GroupBy[FrameLike]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/namespace.py:2769: error: "Callable[[DataFrame[Any], Any | tuple[Any, ...] | list[Any | tuple[Any, ...]] | None, Any | tuple[Any, ...] | list[Any | tuple[Any, ...]] | None, str | list[str] | None, str], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/namespace.py:2769: error: "Callable[[DataFrame[T], Any | tuple[Any, ...] | list[Any | tuple[Any, ...]], Any | tuple[Any, ...] | list[Any | tuple[Any, ...]], str | list[str], str], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/groupby.py:3553: error: "Callable[[Column], Column]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/groupby.py:4244: error: "Callable[[SeriesGroupBy], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/groupby.py:4244: error: "Callable[[GroupBy[FrameLike]], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/datetimes.py:220: error: "Callable[[DatetimeMethods], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/datetimes.py:554: error: "Callable[[DatetimeMethods], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:311: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:321: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:342: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:533: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/numpy_compat.py:187: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/numpy_compat.py:211: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:63: error: "Callable[[StreamingQuery], str]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:69: error: "Callable[[StreamingQuery], str]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:75: error: "Callable[[StreamingQuery], str | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:75: error: "Callable[[StreamingQuery], str]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:81: error: "Callable[[StreamingQuery], bool]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:100: error: "Callable[[StreamingQuery, int | None], bool | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:111: error: "Callable[[StreamingQuery], dict[str, Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:120: error: "Callable[[StreamingQuery], list[StreamingQueryProgress]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:132: error: "Callable[[StreamingQuery], StreamingQueryProgress | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:139: error: "Callable[[StreamingQuery], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:146: error: "Callable[[StreamingQuery], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:154: error: "Callable[[StreamingQuery, bool], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:171: error: "Callable[[StreamingQuery], StreamingQueryException | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:204: error: "Callable[[StreamingQueryManager], list[StreamingQuery]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:216: error: "Callable[[StreamingQueryManager, str], StreamingQuery | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:239: error: "Callable[[StreamingQueryManager, int | None], bool | None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:246: error: "Callable[[StreamingQueryManager], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:252: error: "Callable[[StreamingQueryManager, StreamingQueryListener], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/streaming/query.py:257: error: "Callable[[StreamingQueryManager, StreamingQueryListener], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:172: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:244: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:323: error: "Callable[[UDFRegistration, str, Callable[..., Any] | UserDefinedFunctionLike, DataType | str | None], UserDefinedFunctionLike]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:333: error: "Callable[[UDFRegistration, str, str, DataType | str | None], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:338: error: "Callable[[UDFRegistration, str, str], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udtf.py:257: error: "Callable[[UDTFRegistration, str, UserDefinedTableFunction], UserDefinedTableFunction]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:171: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:178: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:210: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:261: error: "Callable[[str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:289: error: "Callable[[Any], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:297: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:304: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/b
... (truncated 10277 lines) ...