https://github.com/python/mypy/issues/18811
Нужно удалить
#typing #mypy
Нужно удалить
_DT
свойство из @dataclass(order=True)
в stubtest
. Кажется, что оно случайно у нас протекает в пользовательский тип.#typing #mypy
GitHub
stubtest invents _DT attribute on dataclasses · Issue #18811 · python/mypy
Bug Report Cf. python/typeshed#13645 and https://github.com/python/typeshed/actions/runs/13905970431/job/38908976156 When comparing dataclass with @dataclass(order=True) using stubtest, stubtest co...