1from __future__ import annotations
2
3import dataclasses
4
5
6class Foo:
7    pass
8
9
10@dataclasses.dataclass
11class Bar:
12    foo: Foo
13