Skip to content

Commit

Permalink
[DOC]: Fix a typo in comment section in chromadb/db/system.py (#2386)
Browse files Browse the repository at this point in the history
## Description of changes

Fix a typo in comment section in chromadb/db/system.py

```

"""
Create a new collection any (-> and) associated resources
        in the SysDB.

"""
```

## Test plan

Do not need test

## Documentation Change

Not public facing API documentation change.
  • Loading branch information
imaffe committed Jun 20, 2024
1 parent 131e8dd commit a09ee92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromadb/db/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ def create_collection(
tenant: str = DEFAULT_TENANT,
database: str = DEFAULT_DATABASE,
) -> Tuple[Collection, bool]:
"""Create a new collection any associated resources
"""Create a new collection and associated resources
in the SysDB. If get_or_create is True, the
collection will be created if one with the same name does not exist.
The metadata will be updated using the same protocol as update_collection. If get_or_create
is False and the collection already exists, a error will be raised.
is False and the collection already exists, an error will be raised.
Returns a tuple of the created collection and a boolean indicating whether the
collection was created or not.
Expand Down

0 comments on commit a09ee92

Please sign in to comment.