We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
from typing import overload class A: @property def foo(self) -> bool: ... a: int @foo.setter # error: Name "foo" already defined on line 3 # error: "Callable[[A], bool]" has no attribute "setter" def foo(self, value) -> None: ... @overload # error: Single overload definition, multiple required def bar(self, i: int) -> int: ... b: int @overload # error: Name "bar" already defined on line 9 # error: Single overload definition, multiple required def bar(self, i: str) -> str: ... def bar(self, i: object) -> object: ...
stubgen can insert attribute definitions between the property defs
The text was updated successfully, but these errors were encountered:
Duplicate of #1465 (for properties) and #10120 (for overloads)
Sorry, something went wrong.
No branches or pull requests
stubgen can insert attribute definitions between the property defs
The text was updated successfully, but these errors were encountered: