hugo-page-test/scripts/read-competition-notification/competitionNotificationReader/mail.py

12 lines
200 B
Python
Raw Normal View History

import dataclasses
HeaderName_t = str
HeaderValue_t = str
HeaderEntry_t = tuple[HeaderName_t, HeaderValue_t]
@dataclasses.dataclass
class Mail:
headers: list[HeaderEntry_t]
body: list[str]