| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Diff from mypy_primer, showing the effect of this PR on open source code: pip (https://github.com/pypa/pip)
+ src/pip/_internal/utils/misc.py:706: error: "F" has no attribute "__name__" [attr-defined]
+ src/pip/_internal/utils/temp_dir.py:203: error: "Callable[..., Any]" has no attribute "__qualname__" [attr-defined]
beartype (https://github.com/beartype/beartype)
+ beartype/_util/error/utilerrwarn.py:153: error: "Callable[[type[Warning], str], None]" has no attribute "__doc__" [attr-defined]
+ beartype/_decor/decormain.py:132: error: overloaded function has no attribute "__doc__" [attr-defined]
+ beartype/_util/hint/pep/proposal/pep749/pep749evaluate.py:524: error: "Callable[[type | Callable[..., Any] | Module | None, Any, str, str, object, Any, type[Exception], str], Any | Iota]" has no attribute "__doc__" [attr-defined]
+ beartype/_util/func/utilfuncscope.py:212: error: "Callable[..., Any]" has no attribute "__closure__" [attr-defined]
+ beartype/_util/func/utilfuncscope.py:230: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/_util/func/utilfuncscope.py:454: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ beartype/_util/cache/func/utilcacheproperty.py:116: error: "CallableT" has no attribute "__name__" [attr-defined]
+ beartype/_util/func/utilfunctest.py:577: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ beartype/_util/func/utilfuncmake.py:337: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ beartype/_util/cls/pep/clspep3119.py:947: error: "Callable[[object, type | tuple[type, ...] | UnionType], bool]" has no attribute "__name__" [attr-defined]
- beartype/_util/func/arg/utilfuncargiter.py:404: error: Unused "type: ignore" comment [unused-ignore]
- beartype/_util/func/arg/utilfuncargiter.py:419: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:677: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1060: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1068: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1086: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1434: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1459: error: Item "function" of "type | Callable[..., Any] | Module" has no attribute "__annotations__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1462: error: "Callable[[type | Callable[..., Any] | Module, Any, type[Exception], str], dict[str, Any] | None]" has no attribute "__doc__" [attr-defined]
+ beartype/_util/hint/pep/proposal/pep749/pep649749annotate.py:1518: error: "Callable[[type | Callable[..., Any] | Module, dict[str, Any], type[Exception], str], None]" has no attribute "__doc__" [attr-defined]
+ beartype/door/_cls/_doorcache.py:211: error: "CallableT" has no attribute "__name__" [attr-defined]
+ beartype/_check/convert/_reduce/_nonpep/rednonpeptype.py:142: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ beartype/_check/cls/call/calldatadecorfunc.py:509: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ beartype/_util/hint/pep/proposal/pep612.py:622: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:268: error: Unused "type: ignore[misc]" comment [unused-ignore]
+ beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:268: error: Item "function" of the upper bound "type | Callable[..., Any] | classmethod[Any, Any, Any] | property | staticmethod[Any, Any]" of type variable "BeartypeableT" has no attribute "__class__" [union-attr]
+ beartype/_decor/_nontype/_builtin/decorbuiltindescriptor.py:268: note: Error code "union-attr" not covered by "type: ignore[misc, return-value]" comment
+ beartype/_decor/_nontype/decornontype.py:129: error: Item "function" of the upper bound "Callable[..., Any] | classmethod[Any, Any, Any] | property | staticmethod[Any, Any]" of type variable "BeartypeableT" has no attribute "__class__" [union-attr]
+ beartype/_decor/_nontype/decornontype.py:666: error: Item "function" of the upper bound "type | Callable[..., Any] | classmethod[Any, Any, Any] | property | staticmethod[Any, Any]" of type variable "BeartypeableT" has no attribute "__class__" [union-attr]
+ beartype/_decor/_nontype/decornontype.py:688: error: Item "function" of the upper bound "type | Callable[..., Any] | classmethod[Any, Any, Any] | property | staticmethod[Any, Any]" of type variable "BeartypeableT" has no attribute "__class__" [union-attr]
CPython (Argument Clinic) (https://github.com/python/cpython)
+ Tools/clinic/libclinic/return_converters.py:26: error: "Callable[..., CReturnConverter]" has no attribute "__name__" [attr-defined]
tornado (https://github.com/tornadoweb/tornado)
+ tornado/template.py:349: 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: 2.4.0
+ tornado/template.py:349: note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6251, in accept
+ File "mypy/checkexpr.py", line 6286, in accept_maybe_cache
+ typ = node.accept(self)
+ File "mypy/nodes.py", line 2939, in accept
+ File "mypy/checkexpr.py", line 5510, in visit_dict_expr
+ dt = self.fast_dict_type(e)
+ File "mypy/checkexpr.py", line 5465, in fast_dict_type
+ vt = self._first_or_join_fast_item(values)
+ File "mypy/checkexpr.py", line 5251, in _first_or_join_fast_item
+ typ = join.join_type_list(items)
+ File "mypy/join.py", line 954, in join_type_list
+ File "mypy/join.py", line 254, in join_types
+ return t.accept(TypeJoinVisitor(s, instance_joiner))
+ File "mypy/types.py", line 1702, in accept
+ File "mypy/join.py", line 349, in visit_instance
+ nominal = self.instance_joiner.join_instances(t, self.s)
+ File "mypy/join.py", line 154, in join_instances
+ result = self.join_instances_via_supertype(s, t)
+ File "mypy/join.py", line 189, in join_instances_via_supertype
+ assert best is not None
+ AssertionError
+
- tornado/log.py:39: error: Unused "type: ignore" comment [unused-ignore]
- tornado/log.py:41: error: Incompatible types in assignment (expression has type "None", variable has type Module) [assignment]
- tornado/concurrent.py:168: error: Unused "type: ignore" comment [unused-ignore]
- tornado/concurrent.py:169: error: Unused "type: ignore" comment [unused-ignore]
- tornado/netutil.py:137: error: Unused "type: ignore" comment [unused-ignore]
- tornado/gen.py:271: error: Unused "type: ignore" comment [unused-ignore]
- tornado/gen.py:929: error: Unused "type: ignore" comment [unused-ignore]
- tornado/gen.py:933: error: Unused "type: ignore" comment [unused-ignore]
- tornado/iostream.py:59: error: Unused "type: ignore" comment [unused-ignore]
- tornado/iostream.py:1182: error: Unused "type: ignore" comment [unused-ignore]
- tornado/iostream.py:1587: error: Unused "type: ignore" comment [unused-ignore]
- tornado/iostream.py:1667: error: Unused "type: ignore" comment [unused-ignore]
- tornado/iostream.py:1675: error: Unused "type: ignore" comment [unused-ignore]
- tornado/httpclient.py:206: error: Unused "type: ignore" comment [unused-ignore]
- tornado/httpclient.py:568: error: Unused "type: ignore" comment [unused-ignore]
- tornado/process.py:53: error: Unused "type: ignore" comment [unused-ignore]
- tornado/process.py:337: error: Unused "type: ignore" comment [unused-ignore]
- tornado/curl_httpclient.py:338: error: Unused "type: ignore" comment [unused-ignore]
- tornado/web.py:228: error: Unused "type: ignore" comment [unused-ignore]
- tornado/web.py:2238: error: Unused "type: ignore" comment [unused-ignore]
- tornado/testing.py:857: error: Unused "type: ignore" comment [unused-ignore]
- tornado/wsgi.py:178: error: Unused "type: ignore" comment [unused-ignore]
- tornado/websocket.py:1547: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/util.py:137: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/websocket_test.py:1217: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:840: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:1901: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:1908: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:2786: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:2801: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:3214: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/web_test.py:3544: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/tcpserver_test.py:79: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/runtests.py:83: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/runtests.py:89: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/runtests.py:180: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/locks_test.py:101: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/iostream_test.py:730: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/iostream_test.py:748: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/iostream_test.py:773: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/iostream_test.py:978: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/iostream_test.py:1106: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/ioloop_test.py:45: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/ioloop_test.py:46: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/ioloop_test.py:429: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpserver_test.py:65: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpserver_test.py:122: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpserver_test.py:133: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:160: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:166: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:554: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:886: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:1050: error: Argument 1 to "fetch" of "AsyncHTTPTestCase" has incompatible type "**dict[str | Any, str | Any]"; expected "bool" [arg-type]
- tornado/test/httpclient_test.py:1064: error: Argument 1 to "fetch" of "AsyncHTTPTestCase" has incompatible type "**dict[str | Any, str | Any]"; expected "bool" [arg-type]
- tornado/test/httpclient_test.py:1121: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:1229: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/httpclient_test.py:1243: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/asyncio_test.py:307: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/asyncio_test.py:317: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/asyncio_test.py:321: error: Unused "type: ignore" comment [unused-ignore]
- tornado/test/simple_httpclient_test.py:411: error: Unused "type: ignore" comment [unused-ignore]
pwndbg (https://github.com/pwndbg/pwndbg)
+ pwndbg/lib/cache.py: note: In member "__init__" of class "DebugCacheDict":
+ pwndbg/lib/cache.py:36: error: "Callable[P, T]" has no attribute "__module__" [attr-defined]
+ pwndbg/lib/cache.py:36: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/lib/cache.py: note: In function "cache_until":
+ pwndbg/lib/cache.py:186: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/lib/cache.py:206: error: "Callable[P, T]" has no attribute "__module__" [attr-defined]
+ pwndbg/lib/cache.py:206: error: "Callable[P, T]" has no attribute "__qualname__" [attr-defined]
+ pwndbg/lib/cache.py:219: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/decorators.py: note: In function "suppress_errors":
+ pwndbg/decorators.py:61: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/__init__.py: note: In function "requires_debug_symbols":
+ pwndbg/aglib/kernel/__init__.py:83: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/__init__.py: note: In function "requires_debug_info":
+ pwndbg/aglib/kernel/__init__.py:103: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/__init__.py: note: In function "typeinfo_recovery":
+ pwndbg/aglib/kernel/__init__.py:132: error: "Callable[P, str]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/__init__.py:132: error: "Callable[[], None]" has no attribute "__name__" [attr-defined]
+ pwndbg/gdblib/functions.py: note: In member "__init__" of class "_GdbFunction":
+ pwndbg/gdblib/functions.py:33: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ pwndbg/gdblib/functions.py:36: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ pwndbg/gdblib/functions.py:38: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ pwndbg/gdblib/functions.py:49: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ pwndbg/commands/__init__.py: note: In member "__init__" of class "CommandObj":
+ pwndbg/commands/__init__.py:181: error: "Callable[..., str | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py: note: In member "invoke" of class "CommandObj":
+ pwndbg/commands/__init__.py:468: error: "Callable[..., str | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py: note: In member "__call__" of class "CommandObj":
+ pwndbg/commands/__init__.py:534: error: "Callable[..., str | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py:559: error: "Callable[..., str | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py: note: In function "func_name":
+ pwndbg/commands/__init__.py:772: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py: note: In function "OnlyWhenLocal":
+ pwndbg/commands/__init__.py:781: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/__init__.py: note: At top level:
+ pwndbg/aglib/kernel/symbol.py: note: In function "kernel_symbol_func":
+ pwndbg/aglib/kernel/symbol.py:332: error: "Callable[P, int | type[NeedLookup] | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/symbol.py:335: error: "Callable[P, int | type[NeedLookup] | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/symbol.py:339: error: "Callable[P, int | type[NeedLookup] | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/aglib/kernel/symbol.py:343: error: "Callable[P, int | type[NeedLookup] | None]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/glibc_malloc.py: note: In function "func_name":
+ pwndbg/commands/glibc_malloc.py:181: error: "Callable[P, T]" has no attribute "__name__" [attr-defined]
+ pwndbg/commands/glibc_malloc.py: note: At top level:
+ pwndbg/gdblib/tui/context.py:230: error: "Callable[..., list[str]]" has no attribute "__name__" [attr-defined]
+ pwndbg/dbg_mod/lldb/__init__.py: note: In function "event_handler":
+ pwndbg/dbg_mod/lldb/__init__.py:2469: error: "Callable[..., None]" has no attribute "__name__" [attr-defined]
+ pwndbg/dbg_mod/lldb/__init__.py:2481: error: "Callable[..., None]" has no attribute "__module__" [attr-defined]
+ pwndbg/dbg_mod/lldb/__init__.py:2481: error: "Callable[..., None]" has no attribute "__qualname__" [attr-defined]
optuna (https://github.com/optuna/optuna)
+ ./tests/samplers_tests/test_samplers.py:94: 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: 2.4.0
+ ./tests/samplers_tests/test_samplers.py:94: note: use --pdb to drop into pdb
+ optuna/_experimental.py:66: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_experimental.py:67: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_experimental.py:70: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_experimental.py:71: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_experimental.py:73: error: "Callable[FP, FT]" has no attribute "__module__" [attr-defined]
+ optuna/_experimental.py:73: error: "Callable[FP, FT]" has no attribute "__qualname__" [attr-defined]
+ optuna/_deprecated.py:90: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_deprecated.py:91: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_deprecated.py:96: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_deprecated.py:97: error: "Callable[FP, FT]" has no attribute "__doc__" [attr-defined]
+ optuna/_deprecated.py:107: error: "Callable[FP, FT]" has no attribute "__name__" [attr-defined]
+ optuna/_convert_positional_args.py:89: error: "Callable[_P, _T]" has no attribute "__name__" [attr-defined]
+ optuna/_convert_positional_args.py:96: error: "Callable[_P, _T]" has no attribute "__name__" [attr-defined]
+ optuna/_convert_positional_args.py:112: error: "Callable[_P, _T]" has no attribute "__name__" [attr-defined]
+ optuna/_convert_positional_args.py:122: error: "Callable[_P, _T]" has no attribute "__name__" [attr-defined]
+ tests/test_convert_positional_args.py:33: error: "def (*, a: int, b: int, c: int) -> int" has no attribute "__name__" [attr-defined]
+ tests/test_convert_positional_args.py:33: error: "def _sample_func(*, a: int, b: int, c: int) -> int" has no attribute "__name__" [attr-defined]
+ tests/test_convert_positional_args.py:67: error: "def _sample_func(*, a: int, b: int, c: int) -> int" has no attribute "__name__" [attr-defined]
+ tests/test_experimental.py:55: error: "Callable[[], int]" has no attribute "__name__" [attr-defined]
+ tests/test_experimental.py:56: error: "Callable[[], int]" has no attribute "__doc__" [attr-defined]
+ tests/test_experimental.py:68: error: "Callable[[], None]" has no attribute "__name__" [attr-defined]
+ tests/test_experimental.py:69: error: "Callable[[], None]" has no attribute "__doc__" [attr-defined]
+ tests/test_experimental.py:81: error: "Callable[[_Sample], None]" has no attribute "__name__" [attr-defined]
+ tests/test_experimental.py:82: error: "Callable[[_Sample], None]" has no attribute "__doc__" [attr-defined]
+ tests/test_experimental.py:95: error: "Callable[[_Sample, Any, Any, Any], None]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:56: error: "Callable[[], int]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:57: error: "Callable[[], int]" has no attribute "__doc__" [attr-defined]
+ tests/test_deprecated.py:72: error: "Callable[[_Sample], None]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:73: error: "Callable[[_Sample], None]" has no attribute "__doc__" [attr-defined]
+ tests/test_deprecated.py:87: error: "Callable[[_Sample, Any, Any, Any], None]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:137: error: "Callable[[], int]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:138: error: "Callable[[], int]" has no attribute "__doc__" [attr-defined]
+ tests/test_deprecated.py:192: error: "Callable[[], int]" has no attribute "__name__" [attr-defined]
+ tests/test_deprecated.py:193: error: "Callable[[], int]" has no attribute "__doc__" [attr-defined]
+ optuna/testing/pytest_storages.py:65: error: "Callable[[BaseStorage], None]" has no attribute "__name__" [attr-defined]
+ optuna/testing/pytest_storages.py:115: error: "Callable[[BaseStorage], None]" has no attribute "__name__" [attr-defined]
+ Traceback (most recent call last):
+ File "mypy/checkexpr.py", line 6251, in accept
+ File "mypy/checkexpr.py", line 6286, in accept_maybe_cache
+ typ = node.accept(self)
+ File "mypy/nodes.py", line 2922, in accept
+ File "mypy/checkexpr.py", line 5202, in visit_list_expr
+ return self.check_lst_expr(e, "builtins.list", "<list>")
+ File "mypy/checkexpr.py", line 5261, in check_lst_expr
+ t = self.fast_container_type(e, fullname)
+ File "mypy/checkexpr.py", line 5243, in fast_container_type
+ vt = self._first_or_join_fast_item(values)
+ File "mypy/checkexpr.py", line 5251, in _first_or_join_fast_item
+ typ = join.join_type_list(items)
+ File "mypy/join.py", line 954, in join_type_list
+ File "mypy/join.py", line 254, in join_types
+ return t.accept(TypeJoinVisitor(s, instance_joiner))
+ File "mypy/types.py", line 2379, in accept
+ File "mypy/join.py", line 408, in visit_callable_type
+ return join_types(t.fallback, self.s)
+ File "mypy/join.py", line 254, in join_types
+ return t.accept(TypeJoinVisitor(s, instance_joiner))
+ File "mypy/types.py", line 2379, in accept
+ return visitor.visit_callable_type(self)
+ File "mypy/join.py", line 416, in visit_callable_type
+ return join_types(t.fallback, self.s)
+ File "mypy/join.py", line 254, in join_types
+ return t.accept(TypeJoinVisitor(s, instance_joiner))
+ File "mypy/types.py", line 1702, in accept
+ return visitor.visit_instance(self)
+ File "mypy/join.py", line 349, in visit_instance
+ nominal = self.instance_joiner.join_instances(t, self.s)
+ File "mypy/join.py", line 154, in join_instances
+ result = self.join_instances_via_supertype(s, t)
+ File "mypy/join.py", line 186, in join_instances_via_supertype
+ res = self.join_instances(mapped, s)
+ File "mypy/join.py", line 154, in join_instances
+ result = self.join_instances_via_supertype(s, t)
+ File "mypy/join.py", line 189, in join_instances_via_supertype
+ assert best is not None
+ AssertionError
+
spark (https://github.com/apache/spark)
+ python/pyspark/memory_profiler_ext.py:147: error: "Callable[..., Any]" has no attribute "__module__" [attr-defined]
+ python/pyspark/memory_profiler_ext.py:148: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/memory_profiler_ext.py:149: error: "Callable[..., Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/memory_profiler_ext.py:169: error: "Callable[..., Any]" has no attribute "__code__" [attr-defined]
+ python/pyspark/instrumentation_utils.py:78: error: "Callable[[Any], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/instrumentation_utils.py:96: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/core/rdd.py:190: error: Unsupported left operand type for == ("Callable[[Any], int]") [operator]
+ python/pyspark/sql/utils.py:282: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:297: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:312: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:327: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:357: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:376: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:381: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:385: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:403: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:408: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:412: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:430: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:434: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:450: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/utils.py:454: error: "FuncT" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/udf.py:212: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/udf.py:671: error: "Callable[..., Any]" has no attribute "__code__" [attr-defined]
+ python/pyspark/sql/udf.py:722: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/udf.py:1020: error: "Callable[[UDFRegistration, str, Callable[..., Any] | UserDefinedFunctionLike, DataType | str | None], UserDefinedFunctionLike]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/session.py:2588: error: "Callable[[SparkSession, ProgressHandler], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/session.py:2589: error: "Callable[[SparkSession, ProgressHandler], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/session.py:2590: error: "Callable[[SparkSession], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:38: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:42: error: "Callable[[GroupedData], DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:42: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:43: error: "Callable[[GroupedData], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:43: error: "Callable[..., DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:51: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:55: error: "def _api(self: GroupedData, *cols: str) -> DataFrame" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:55: error: "Callable[..., DataFrame]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/group.py:56: error: "def _api(self: GroupedData, *cols: str) -> DataFrame" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:56: error: "Callable[..., DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/group.py:545: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7150: error: "Callable[[DataFrameNaFunctions, str, int | None, str | tuple[str, ...] | list[str] | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7150: error: "Callable[[DataFrame, str, int | None, str | tuple[str, ...] | list[str] | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7165: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7165: error: "Callable[[DataFrame, bool | float | int | str | dict[str, bool | float | int | str], str | tuple[str, ...] | list[str] | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7200: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7239: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7244: error: "Callable[[DataFrameStatFunctions, str, str, str | None], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7244: error: "Callable[[DataFrame, str, str, str | None], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7249: error: "Callable[[DataFrameStatFunctions, str, str], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7249: error: "Callable[[DataFrame, str, str], float]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7254: error: "Callable[[DataFrameStatFunctions, str, str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7254: error: "Callable[[DataFrame, str, str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7259: error: "Callable[[DataFrameStatFunctions, list[str], float | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7259: error: "Callable[[DataFrame, list[str] | tuple[str], float | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7266: error: "Callable[[DataFrameStatFunctions, str, dict[Any, float], int | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/dataframe.py:7266: error: "Callable[[DataFrame, Column | str, dict[Any, float], int | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/pandas/group_ops.py:1207: error: "Callable[[PandasGroupedOpsMixin, GroupedMapPandasUserDefinedFunction], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/pandas/group_ops.py:1208: error: "Callable[[PandasGroupedOpsMixin, Callable[[pandas.core.frame.DataFrame], pandas.core.frame.DataFrame] | Callable[[Any, pandas.core.frame.DataFrame], pandas.core.frame.DataFrame] | Callable[[Iterator[pandas.core.frame.DataFrame]], Iterator[pandas.core.frame.DataFrame]] | Callable[[Any, Iterator[pandas.core.frame.DataFrame]], Iterator[pandas.core.frame.DataFrame]], StructType | str], pyspark.sql.dataframe.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/pandas/group_ops.py:1209: error: "Callable[[PandasCogroupedOps, Callable[[pandas.core.frame.DataFrame, pandas.core.frame.DataFrame], pandas.core.frame.DataFrame] | Callable[[Any, pandas.core.frame.DataFrame, pandas.core.frame.DataFrame], pandas.core.frame.DataFrame], StructType | str], pyspark.sql.dataframe.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/pandas/group_ops.py:1212: error: "Callable[[PandasGroupedOpsMixin, Callable[[Any], Any] | Callable[[tuple[Any, ...], Any], Any] | Callable[[Iterator[Any]], Iterator[Any]] | Callable[[tuple[Any, ...], Iterator[Any]], Iterator[Any]], StructType | str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/pandas/group_ops.py:1213: error: "Callable[[PandasCogroupedOps, Callable[[Any, Any], Any] | Callable[[tuple[Any, ...], Any, Any], Any], StructType | str], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:26582: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:26589: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:26621: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:34899: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:34900: error: "def arrow_udtf(cls: type[Any] | None = ..., *, returnType: StructType | str | None = ...) -> UserDefinedTableFunction | Callable[[type[Any]], UserDefinedTableFunction]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/functions/builtin.py:34901: error: "Callable[[Aggregator], UserDefinedFunctionLike]" 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: "def json_tuple(self: TableValuedFunction, input: Column, *fields: 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: "def stack(self: TableValuedFunction, n: Column, *fields: 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/tvf.py:115: error: "Callable[[TableValuedFunction], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/datasource.py:42: error: "Callable[[DataSourceRegistration, type[DataSource]], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:2161: error: "Callable[[pyspark.sql.dataframe.DataFrame], pandas.core.frame.DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:2162: error: "Callable[[pyspark.sql.dataframe.DataFrame, Callable[[Iterator[pandas.core.frame.DataFrame]], Iterator[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:2163: error: "Callable[[pyspark.sql.dataframe.DataFrame, str | list[str] | None], pyspark.pandas.frame.DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:2166: error: "Callable[[DataFrame], Any]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:2167: error: "Callable[[DataFrame, Callable[[Iterator[Any]], Iterator[Any]], StructType | str, bool, ResourceProfile | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/classic/dataframe.py:2174: error: "Callable[[DataFrame, Callable[[Iterator[Any]], Iterator[Any]], StructType | str, bool, ResourceProfile | None], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/utils.py:590: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/generic.py:3433: error: "Callable[[FrameLike, int | str | None, bool, int | None], FrameLike]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3526: error: "Callable[[FrameLike, int | str | None, bool, int | None], FrameLike]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3631: error: "Callable[[Frame], AtIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3637: error: "Callable[[Frame], iAtIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3643: error: "Callable[[Frame], iLocIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/generic.py:3649: error: "Callable[[Frame], LocIndexer]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1042: error: "def hist(self: PandasOnSparkPlotAccessor, bins: Any = ..., **kwds: Any) -> Any" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1048: error: "def box(self: PandasOnSparkPlotAccessor, **kwds: Any) -> Any" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1054: error: "def kde(self: PandasOnSparkPlotAccessor, bw_method: Any = ..., ind: Any = ..., **kwargs: Any) -> Any" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1056: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1063: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1070: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1079: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1086: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1093: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1100: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1109: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1116: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1125: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1132: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1139: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1146: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1153: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1160: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:1167: error: "Callable[[DataFrame[T], Any], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5487: error: "def to_table(self: DataFrame[T], name: str, format: str | None = ..., mode: str = ..., partition_cols: str | list[str] | None = ..., index_col: str | list[str] | None = ..., **options: Any) -> None" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5487: error: "def to_table(self: SparkFrameMethods, name: str, format: str | None = ..., mode: str = ..., partition_cols: str | list[str] | None = ..., index_col: str | list[str] | None = ..., **options: bool | float | int | str | None) -> None" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:5751: 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:14033: error: "Callable[[DataFrame[T], Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str | _NoValueType, bool, bool], DataFrameGroupBy]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/frame.py:14033: error: "Callable[[FrameLike, Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str | _NoValueType, bool, bool], GroupBy[FrameLike]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/base.py:210: error: Unsupported left operand type for == ("Callable[..., Column]") [operator]
+ 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:600: error: "Callable[[Series[T], Any, int | str | float], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:611: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:624: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:635: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:646: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:657: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:670: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:681: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:694: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:705: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:716: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:727: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:738: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:749: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:760: error: "Callable[[Series[T], Any], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1676: error: "def to_clipboard(self: Series[T], excel: bool = ..., sep: str | None = ..., **kwargs: Any) -> None" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1676: error: "def [T] to_clipboard(self: DataFrame[T], excel: bool = ..., sep: str = ..., **kwargs: Any) -> None" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:1749: 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:1749: 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:3765: 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:3765: error: "Callable[[DataFrame[T], int, float, bool, int, bool], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:3771: error: "def hist(self: PandasOnSparkPlotAccessor, bins: Any = ..., **kwds: Any) -> Any" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4063: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/series.py:4370: 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:4370: error: "Callable[[DataFrame[T], Sequence[Any], str, str, int | str], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4375: error: "Callable[[Series[T], list[float] | None], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:4375: error: "Callable[[DataFrame[T], list[float]], DataFrame[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:7288: error: "Callable[[Series[T], Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str | _NoValueType, bool, bool], SeriesGroupBy]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/series.py:7288: error: "Callable[[FrameLike, Any | tuple[Any, ...] | Series[Any] | list[Any | tuple[Any, ...] | Series[Any]], int | str | _NoValueType, bool, bool], GroupBy[FrameLike]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/namespace.py:2814: 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:2814: 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:3688: error: "Callable[[Column], Column]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/groupby.py:4671: error: "Callable[[SeriesGroupBy], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/groupby.py:4671: error: "Callable[[GroupBy[FrameLike]], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/datetimes.py:223: error: "Callable[[DatetimeMethods], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/datetimes.py:557: error: "Callable[[DatetimeMethods], Series[Any]]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:324: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:334: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:355: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/indexes/datetimes.py:546: error: "Callable[[DatetimeIndex], Index]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/pandas/numpy_compat.py:541: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/pandas/numpy_compat.py:566: 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:186: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:264: error: "Callable[..., Any]" has no attribute "__class__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:355: error: "Callable[[UDFRegistration, str, Callable[..., Any] | UserDefinedFunctionLike, DataType | str | None], UserDefinedFunctionLike]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:365: error: "Callable[[UDFRegistration, str, str, DataType | str | None], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udf.py:370: error: "Callable[[UDFRegistration, str, str], None]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/udtf.py:253: error: "Callable[[UDTFRegistration, str, UserDefinedTableFunction], UserDefinedTableFunction]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:180: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:187: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:219: error: "Callable[..., Any]" has no attribute "__name__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:270: error: "Callable[[str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:298: error: "Callable[[Any], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:306: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:313: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:320: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:327: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:334: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:352: error: "Callable[[DataFrame], DataFrame]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:359: error: "def coalesce(*cols: Column | str) -> Column" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:368: error: "Callable[[str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:380: error: "def greatest(*cols: Column | str) -> Column" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:387: error: "Callable[[], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:399: error: "def least(*cols: Column | str) -> Column" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:406: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:413: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:420: error: "Callable[[], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:427: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:437: error: "Callable[[int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:450: error: "Callable[[int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:457: error: "Callable[[], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:485: error: "Callable[[Column, Any], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:495: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:502: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:509: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:516: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:523: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:530: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:540: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:547: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:554: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:561: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:568: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:575: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:582: error: "Callable[[Column | str | float, Column | str | float], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:589: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:596: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:608: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:615: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:627: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:639: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:646: error: "Callable[[Column | str, int, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:653: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:660: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:667: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:674: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:681: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:688: error: "Callable[[], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:695: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:702: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:709: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:721: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:728: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:735: error: "Callable[[Column | str | float, Column | str | float], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:747: error: "Callable[[Column | str | float, Column | str | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:747: error: overloaded function has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:754: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:761: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:768: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:775: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:782: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:792: error: "Callable[[], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:799: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:806: error: "Callable[[Column | str | float, Column | str | float], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:820: error: "Callable[[Column | str, Column | str, Column | str, Column | str | int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:827: error: "Callable[[Column | str | float, Column | str | float], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:837: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:844: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:856: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:868: error: "Callable[[Column | str, Column | int | None], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:875: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:883: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:890: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:898: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:905: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:913: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:920: error: "Callable[[Column | str, int], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:927: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:934: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:941: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:948: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:955: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:962: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:969: error: "Callable[[Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:976: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:983: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/builtin.py:990: error: "Callable[[Column | str, Column | str], Column]" has no attribute "__doc__" [attr-defined]
+ python/pyspark/sql/connect/functions/built
... (truncated 19592 lines) ... |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Part of #7580