apparently you can't define a recursive type in python
i'm ???????
so maybe i should not have expected too much out of an Industry Language™ tm but wow that actually sucks
@haskal does PEP 484 do what you want?
@confusedcharlot is that the one that provides delayed processing of annotations? well no because even if you define a recursive type using strings mypy still complains
@haskal i guess it's a specific problem with the mypy type checker. isn't statically typing python a relatively new thing?

@haskal if it's any condolence not even rust supports recursive types without indirection

Also since when did python care about typing enough to implement any of the neat things about typing