from __future__ import annotations from typing import List from pydantic import BaseModel, Field class SwitchRequest(BaseModel): symbol: str interval: str class WatchlistRequest(BaseModel): symbols: List[str] = Field(min_length=1, max_length=50)