You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910
  1. from pydantic import BaseModel, Field
  2. class CreateCarPart(BaseModel):
  3. ParentId: int = Field(...)
  4. Name: str = Field(...)
  5. Number: str = Field(...)
  6. Condition: str = Field(...)
  7. ImageURL: str = Field(...)
  8. Cost: int = Field(...)