Skip to content

mypy detects a dict as an object #1896

Closed Answered by JelleZijlstra
Sanchoyzer asked this question in Q&A
Discussion options

You must be logged in to vote

This is related to mypy's longstanding behavior of using the join operator instead of using unions: https://github.com/python/mypy/labels/topic-join-v-union . We'll likely change this eventually in at least some circumstances in mypy (python/mypy#12056), but it's a complex change to make.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sanchoyzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants