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
When using stubgen the total attribute of TypedDict is lost.
total
TypedDict
To Reproduce
Assuming the following example
from typing import TypedDict class MyDict(TypedDict, total=False): foo: str bar: int
After running stubgen we get the following output:
from typing import TypedDict class MyDict(TypedDict): foo: str bar: int
Expected Behavior
The type signature matches the original method and total attribute is kept.
Actual Behavior
total attribute is lost
Your Environment
The text was updated successfully, but these errors were encountered:
total=False
DeviceInfo
stubgen: Fix missing total from TypedDict class (#15208)
ba8ae29
Fixes #15195
Thanks for the quick fix. Working correctly when I use stubgen of the master branch now.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Report
When using stubgen the
total
attribute ofTypedDict
is lost.To Reproduce
Assuming the following example
After running stubgen we get the following output:
Expected Behavior
The type signature matches the original method and
total
attribute is kept.Actual Behavior
total
attribute is lostYour Environment
The text was updated successfully, but these errors were encountered: