from datetime import datetime from pydantic import BaseModel class HeadingRecord(BaseModel): frame_id: int heading: float timestamp: datetime