From 375f068864f09bb69bd036d92e1f0ee3ccb75cf6 Mon Sep 17 00:00:00 2001 From: Max Isom Date: Wed, 8 Jan 2025 12:52:06 -0800 Subject: [PATCH] Add Python docs --- .../markdoc/content/reference/python/client.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/docs.trychroma.com/markdoc/content/reference/python/client.md b/docs/docs.trychroma.com/markdoc/content/reference/python/client.md index 379d340e918..61df475941f 100644 --- a/docs/docs.trychroma.com/markdoc/content/reference/python/client.md +++ b/docs/docs.trychroma.com/markdoc/content/reference/python/client.md @@ -471,6 +471,20 @@ Get a database. Raises an error if the database does not exist. - `database` - The name of the database to get. - `tenant` - The tenant of the database to get. +## list_databases + +```python +def list_databases(limit: Optional[int] = None, offset: Optional[int] = None, tenant: str = DEFAULT_TENANT) -> Sequence[Database] +``` + +List databases for a tenant. + +**Arguments**: + +- `limit` - The maximum number of entries to return. Defaults to None. +- `offset` - The number of entries to skip before returning. Defaults to None. +- `tenant` - The tenant to list databases for. + ## create_tenant ```python