We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Bug Report
Stubgen generates incorre stubs when a non default keyword-only argument is positioned after the asterix symbol in the signature.
To Reproduce
def func(*, non_default_kwarg: bool, default_kwarg: bool = True): pass
Expected Behavior
def func(*, non_default_kwarg: bool, default_kwarg: bool=...) -> Any: ...
Actual Behavior
def func(non_default_kwarg: bool, *, default_kwarg: bool=...) -> Any: ...
Your Environment
The text was updated successfully, but these errors were encountered:
stubgen: Fix non default keyword-only argument positioning (python#11082
cd0ec24
)
254ae2e
stubgen: fix non default keyword-only argument positioning (#12303)
8650f5c
Fixes #11082
stubgen: fix non default keyword-only argument positioning (python#12303
cce09ac
) Fixes python#11082
Successfully merging a pull request may close this issue.
Bug Report
Stubgen generates incorre stubs when a non default keyword-only argument is positioned after the asterix symbol in the signature.
To Reproduce
Expected Behavior
Actual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: