Compare commits

...

2 Commits

Author SHA1 Message Date
qzhu
b7c816c919 add index_stats to python api 2024-03-12 16:28:15 -07:00
qzhu
34dd548bc8 init commit for test 2024-03-11 13:28:24 -07:00

View File

@@ -68,9 +68,13 @@ class RemoteTable(Table):
def list_indices(self): def list_indices(self):
"""List all the indices on the table""" """List all the indices on the table"""
print(self._name)
resp = self._conn._client.post(f"/v1/table/{self._name}/index/list/") resp = self._conn._client.post(f"/v1/table/{self._name}/index/list/")
return resp return resp
def index_stats(self, index_uuid: str):
"""List all the indices on the table"""
resp = self._conn._client.post(f"/v1/table/{self._name}/index/{index_uuid}/stats/")
return resp
def create_scalar_index( def create_scalar_index(
self, self,