from dataclasses import dataclass
from typing import Optional