|
_frozen_ordered = dataclasses.dataclass(order=True, frozen=True) |
|
|
|
|
|
@_frozen_ordered |
|
class _Participant: |
|
"""Represent PEP participant.""" |
|
full_name: str # The participant's name. |
|
email: str # The participant's email address. |
|
|
|
|
|
@_frozen_ordered |
|
class _Author(_Participant): |
|
"""Represent PEP authors.""" |
|
full_name: str # The author's name. |
|
email: str # The author's email address. |
|
|
|
|
|
@_frozen_ordered |
|
class _Sponsor(_Participant): |
|
"""Represent PEP sponsors.""" |
|
@dataclasses.dataclass(order=True, frozen=True) |
|
class _Participant: |
|
"""Represent PEP participant.""" |
|
full_name: str = dataclasses.field(doc="The participant's name.") |
|
email: str = dataclasses.field(doc="The participant's email address.") |
|
|
|
|
|
@dataclasses.dataclass(order=True, frozen=True) |
|
class _Author(_Participant): |
|
"""Represent PEP authors.""" |
|
full_name: str = dataclasses.field(doc="The author's name.") |
|
email: str = dataclasses.field(doc="The author's email address.") |
|
|
|
|
|
@dataclasses.dataclass(order=True, frozen=True) |
|
class _Sponsor(_Participant): |
|
"""Represent PEP sponsors.""" |