Skip to content

Commit

Permalink
Isolate changes and address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sicheng Pan committed Sep 19, 2024
1 parent 427ae63 commit af1fbcf
Show file tree
Hide file tree
Showing 11 changed files with 208 additions and 504 deletions.
7 changes: 7 additions & 0 deletions chromadb/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ def name(cls) -> str:
return "InvalidHTTPVersion"


class OutOfBoundError(ChromaError):
@classmethod
@overrides
def name(cls) -> str:
return "OutOfBound"


class AuthorizationError(ChromaError):
@overrides
def code(self) -> int:
Expand Down
148 changes: 75 additions & 73 deletions chromadb/proto/chroma_pb2.py

Large diffs are not rendered by default.

10 changes: 8 additions & 2 deletions chromadb/proto/chroma_pb2.pyi

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

97 changes: 16 additions & 81 deletions chromadb/proto/chroma_pb2_grpc.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions chromadb/proto/coordinator_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit af1fbcf

Please sign in to comment.