Fix inheriting from generic @frozen attrs class by ikonst · Pull Request #15700 · python/mypy (original) (raw)
Actually, this is problematic with converters, e.g.
def converter(s: str) -> int: return int(s)
@attrs.define class C: x: int = attrs.field(converter=converter)
The attribute.init_type
will be str
here :(