import cyborgdb_core as cyborgdb
index_location = cyborgdb.DBConfig(location='redis', connection_string="redis://localhost")
config_location = cyborgdb.DBConfig(location='redis', connection_string="redis://localhost")
client = cyborgdb.Client(
api_key=api_key,
index_location=index_location,
config_location=config_location
)
print(client.list_indexes())
# Example output:
# ["index_one", "index_two", "index_three"]