How to do python typing for list of classes.
Suppose I have following classes.
from dataclasses import dataclass @dataclass class A: name: str @d