api.routes.internal.model.create ================================ .. py:module:: api.routes.internal.model.create Attributes ---------- .. autoapisummary:: api.routes.internal.model.create.logger api.routes.internal.model.create.router api.routes.internal.model.create.LENGTH_FIELD api.routes.internal.model.create.HEIGHT_FIELD api.routes.internal.model.create.WIDTH_FIELD Classes ------- .. autoapisummary:: api.routes.internal.model.create.ModelCreate Functions --------- .. autoapisummary:: api.routes.internal.model.create.create_model Module Contents --------------- .. py:data:: logger .. py:data:: router .. py:data:: LENGTH_FIELD :value: 'Longueur (mm)' .. py:data:: HEIGHT_FIELD :value: 'Hauteur (mm)' .. py:data:: WIDTH_FIELD :value: 'Profondeur (mm)' .. py:class:: ModelCreate Bases: :py:obj:`pydantic.BaseModel` .. py:attribute:: brandId :type: str .. py:attribute:: typeId :type: str .. py:attribute:: name :type: str .. py:attribute:: longueur :type: float .. py:attribute:: hauteur :type: float .. py:attribute:: profondeur :type: float .. py:function:: create_model(payload: ModelCreate) :async: Crée un nouveau record dans la table "Model" d'Airtable.