This reverts commits 044a1048ca93d466965afc027b91a5a9eb9ce23c and 1be456ae9d53bb1cba2b24fc86175c282d1c2169, adapting the code to changes that happened after it.
13 lines
126 B
Python
13 lines
126 B
Python
from __future__ import annotations
|
|
|
|
import dataclasses
|
|
|
|
|
|
class Foo:
|
|
pass
|
|
|
|
|
|
@dataclasses.dataclass
|
|
class Bar:
|
|
foo: Foo
|