from pydantic import BaseModel, ConfigDict class Instrument(BaseModel): model_config = ConfigDict(extra='ignore') family: str number: int