Message408756
I know you know this, but here's a version without dataclasses, in case you want to add a test for this, too.
from enum import Enum
class Foo:
def __init__(self, a):
self.a = a
def __repr__(self):
return f'Foo(a={self.a!r})'
class Entries(Foo, Enum):
ENTRY1 = Foo(1)
repr(Entries.ENTRY1) != '<Entries.ENTRY1: Foo(a=1)>' |
|
Date |
User |
Action |
Args |
2021-12-17 07:57:00 | eric.smith | set | recipients:
+ eric.smith, ethan.furman |
2021-12-17 07:57:00 | eric.smith | set | messageid: <1639727820.68.0.974855238275.issue46108@roundup.psfhosted.org> |
2021-12-17 07:57:00 | eric.smith | link | issue46108 messages |
2021-12-17 07:57:00 | eric.smith | create | |
|