MinDalle_StableDiff/Python39/Lib/test/dataclass_textanno.py

13 lines
126 B
Python
Raw Normal View History

2022-09-17 15:26:13 +03:00
from __future__ import annotations
import dataclasses
class Foo:
pass
@dataclasses.dataclass
class Bar:
foo: Foo