[Attrs] Invalid typing of init arguments in subclasses of generics #5744
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-attrs
fails ONLY on the last line:
It seems that typing for the attribute
items
works as expected. However, ifitems
is used as a keyword argument of the__init__
generated by attrs, typing fails.Note also that if the following class is added:
mypy fails with error:
The text was updated successfully, but these errors were encountered: