Skip to content

Commit

Permalink
fix: Make name optional parameter for get_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Nov 6, 2023
1 parent 5848b67 commit ed6fbc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/api/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def get_or_create_collection(
@override
def get_collection(
self,
name: str,
name: Optional[str] = None,
id: Optional[UUID] = None,
embedding_function: Optional[
EmbeddingFunction[Embeddable]
Expand Down

0 comments on commit ed6fbc7

Please sign in to comment.