Rauhan commited on
Commit
fe0b51f
1 Parent(s): 681223f

UPDATE: QDRANT

Browse files
Files changed (1) hide show
  1. 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, [qdrantCollections.collections[0].name for x in qdrantCollections]))
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 {