Due to the from __future__ import annotations line in models.py, subscripting types with containers directly (e.g., dict[) will work for Python 3.7+. I don't think replacing usages of the typing library in these instances will have backwards compatibility issues, but I may be wrong.
Due to the
from __future__ import annotations
line inmodels.py
, subscripting types with containers directly (e.g.,dict[
) will work for Python 3.7+. I don't think replacing usages of the typing library in these instances will have backwards compatibility issues, but I may be wrong.