Adaptation au format TableSchema

This commit is contained in:
Colin Maudry
2025-10-04 19:13:51 +02:00
parent effe01dedf
commit 0404aa0973
2 changed files with 31 additions and 10 deletions
+2 -1
View File
@@ -93,7 +93,8 @@ def get_marche_data(url) -> tuple[dict, list]:
def update_marche_info(marche, titulaires):
def make_parameter(col):
column_object = data_schema.get(col)
column_name = column_object.get("friendly_name") if column_object else col
print(column_object)
column_name = column_object.get("title") if column_object else col
if marche[col]:
if col == "acheteur_nom":