from typing import List, Optional from pydantic import BaseModel