Nettoyage
This commit is contained in:
@@ -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("")
|
||||||
|
|||||||
@@ -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("")
|
||||||
|
|||||||
Reference in New Issue
Block a user