from pydantic import BaseModel, ConfigDict class ImportedPartRead(BaseModel): model_config = ConfigDict(from_attributes=True) InventoryID: str Description: str | None TBXColour: str | None ProductMaxThreadDepthmm: str | None ProductMaxThreadDepthin: str | None ProductODmm: str | None ProductODin: str | None TBXThreadAttribute: str | None class ImportedPartConfigRead(BaseModel): model_config = ConfigDict(from_attributes=True) odata_url: str | None username: str | None has_password: bool class ImportedPartConfigUpdate(BaseModel): odata_url: str | None = None username: str | None = None password: str | None = None class SyncResult(BaseModel): created: int updated: int total: int