3 ms·
To make that work you have to use `from __future__ import annotations`. see https://stackoverflow.com/questions/61544854/from-future-import-annotations https://
by kaashif 5y ago
To make that work you have to use `from __future__ import annotations`. see https://stackoverflow.com/questions/61544854/from-future-import-annotations https://stackoverflow.com/questions/61544854/from-future-imp...
Not the most ergonomic, but there is a way to do it.
- jwilk 5y agoThis was added in Python 3.7 and it's always enabled since Python 3.10.