api.routes.internal.model.create

Attributes

Classes

Functions

create_model(payload)

Crée un nouveau record dans la table "Model" d'Airtable.

Module Contents

api.routes.internal.model.create.logger
api.routes.internal.model.create.router
api.routes.internal.model.create.LENGTH_FIELD = 'Longueur (mm)'
api.routes.internal.model.create.HEIGHT_FIELD = 'Hauteur (mm)'
api.routes.internal.model.create.WIDTH_FIELD = 'Profondeur (mm)'
class api.routes.internal.model.create.ModelCreate

Bases: pydantic.BaseModel

brandId: str
typeId: str
name: str
longueur: float
hauteur: float
profondeur: float
async api.routes.internal.model.create.create_model(payload: ModelCreate)

Crée un nouveau record dans la table “Model” d’Airtable.