attr.Attributes
incompatible with Literal
#1207
Labels
Typing
Typing/stub/Mypy/PyRight related bugs.
attr.Attributes
incompatible with Literal
#1207
Because
attr.Attributes
causes the type it contains to be invariant,Literal
types likeLiteral[1]
to be incompatible withattr.Attributes[int]
LiteralDefault
error:LiteralFactory
error:The text was updated successfully, but these errors were encountered: