You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The typing spec indicates that if a caller passes an unpacked (non-closed) TypeVar as an argument to a function that accepts a fixed set of keyword argument, it should result in an error because additional items may be present in the argument TypedDict.
# > Kwargs hinted with an unpacked TypedDict can only be passed to another function if the function
# > to which unpacked kwargs are being passed to has **kwargs in its signature as well,
# > because then additional keywords would not cause errors at runtime during function invocation.
# > Otherwise, the type checker should generate an error.
For more details, refer to this pull request in the conformance tests.
The text was updated successfully, but these errors were encountered:
The typing spec indicates that if a caller passes an unpacked (non-closed) TypeVar as an argument to a function that accepts a fixed set of keyword argument, it should result in an error because additional items may be present in the argument TypedDict.
For more details, refer to this pull request in the conformance tests.
The text was updated successfully, but these errors were encountered: