Omar ID EL MOUMEN
commited on
Commit
·
b17df46
1
Parent(s):
2313d1f
Sorted index
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ class TsgDocFinder:
|
|
95 |
raise HTTPException(status_code=500, detail="Erreur lors de la récupération")
|
96 |
finally:
|
97 |
cursor.close()
|
98 |
-
return doc
|
99 |
|
100 |
def get_workgroup(self, doc):
|
101 |
main_tsg = "tsg_ct" if doc[0] == "C" else "tsg_sa" if doc[0] == "S" else None
|
|
|
95 |
raise HTTPException(status_code=500, detail="Erreur lors de la récupération")
|
96 |
finally:
|
97 |
cursor.close()
|
98 |
+
return dict(sorted(doc.items()))
|
99 |
|
100 |
def get_workgroup(self, doc):
|
101 |
main_tsg = "tsg_ct" if doc[0] == "C" else "tsg_sa" if doc[0] == "S" else None
|