Spaces:
Sleeping
Sleeping
UPDATE: QDRANT
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -168,7 +168,7 @@ def listTables(username: str):
|
|
168 |
global qdrantClient
|
169 |
qdrantCollections = qdrantClient.get_collections()
|
170 |
return {
|
171 |
-
"output": list(filter(lambda x: True if x.split("-")[1] == username else False, [
|
172 |
}
|
173 |
except Exception as e:
|
174 |
return {
|
|
|
168 |
global qdrantClient
|
169 |
qdrantCollections = qdrantClient.get_collections()
|
170 |
return {
|
171 |
+
"output": list(filter(lambda x: True if x.split("-")[1] == username else False, [x.name for x in qdrantCollections.collections]))
|
172 |
}
|
173 |
except Exception as e:
|
174 |
return {
|