Pyright not handles copying TypedDict #2597
kumaraditya303
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
This is the expected behavior. It's consistent with other type checkers. See python/mypy#2738 for a related discussion. You can use |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
See this code:
Revealed Type should be A not
dict[str, object]
. Can support for copying be added ?Beta Was this translation helpful? Give feedback.
All reactions