Nettoyage

This commit is contained in:
Colin Maudry
2025-11-18 15:37:47 +01:00
parent 6b133c21ab
commit a51d2a83b4
2 changed files with 1 additions and 12 deletions
+1 -2
View File
@@ -90,5 +90,4 @@ def update_search_results(query):
content.extend(org_content) content.extend(org_content)
return content return content
else: return html.P("")
return html.P("")
-10
View File
@@ -215,16 +215,6 @@ def get_titulaire_marches_data(url, titulaire_year: str) -> list[dict]:
Input(component_id="titulaire_data", component_property="data"), Input(component_id="titulaire_data", component_property="data"),
) )
def get_last_marches_table(data) -> html.Div: def get_last_marches_table(data) -> html.Div:
columns = [
"uid",
"objet",
"dateNotification",
"acheteur_nom",
"montant",
"codeCPV",
"dureeMois",
]
dff = pl.DataFrame(data) dff = pl.DataFrame(data)
dff = dff.cast(pl.String) dff = dff.cast(pl.String)
dff = dff.fill_null("") dff = dff.fill_null("")