Message416368
The dataclass transformation ignores attributes that are annotated as ClassVar. I think it should also ignore attributes that are annotated as TypeAlias.
Specifically, I have this usecase in mind:
class RunMode(Enum):
release = auto()
debug = auto()
@dataclass
class Run:
Mode: TypeAlias = RunMode
mode: Mode = Mode.release |
|
Date |
User |
Action |
Args |
2022-03-30 14:49:32 | thomkeh | set | recipients:
+ thomkeh |
2022-03-30 14:49:32 | thomkeh | set | messageid: <1648651772.62.0.141726987387.issue47166@roundup.psfhosted.org> |
2022-03-30 14:49:32 | thomkeh | link | issue47166 messages |
2022-03-30 14:49:32 | thomkeh | create | |
|