Skip to content

Commit

Permalink
Add Python docs
Browse files Browse the repository at this point in the history
  • Loading branch information
codetheweb committed Jan 9, 2025
1 parent 4b381c2 commit 375f068
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/docs.trychroma.com/markdoc/content/reference/python/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 375f068

Please sign in to comment.