api.routes.machinio.csv ======================= .. py:module:: api.routes.machinio.csv Attributes ---------- .. autoapisummary:: api.routes.machinio.csv.logger api.routes.machinio.csv.router api.routes.machinio.csv.MACHINIO_FIELDS Functions --------- .. autoapisummary:: api.routes.machinio.csv.clean_records api.routes.machinio.csv.get_category_name api.routes.machinio.csv.records_to_csv api.routes.machinio.csv.get_machinio_csv Module Contents --------------- .. py:data:: logger .. py:data:: router .. py:data:: MACHINIO_FIELDS .. py:function:: clean_records(record: dict[str, Any]) -> dict[str, Any] .. py:function:: get_category_name(record_id: str | None) -> str | None .. py:function:: records_to_csv(records: list[dict]) -> str .. py:function:: get_machinio_csv() :async: Route machinio : accessible avec MACHINIO_TOKEN. Retourne un fichier CSV avec les données de la table "Toutes les unités" / vue "Ne pas toucher : machinio".