Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH]: add distributed impl for ListDatabases #3440

Merged
merged 1 commit into from
Jan 10, 2025

Conversation

codetheweb
Copy link
Contributor

@codetheweb codetheweb commented Jan 8, 2025

Description of changes

Adds support to distributed Chroma for the new list databases API.

Test plan

How are these changes tested?

  • Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Covered by existing test introduced in the PR below in the stack.

Documentation Changes

Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

n/a

Copy link

github-actions bot commented Jan 8, 2025

Reviewer Checklist

Please leverage this checklist to ensure your code review is thorough before approving

Testing, Bugs, Errors, Logs, Documentation

  • Can you think of any use case in which the code does not behave as intended? Have they been tested?
  • Can you think of any inputs or external events that could break the code? Is user input validated and safe? Have they been tested?
  • If appropriate, are there adequate property based tests?
  • If appropriate, are there adequate unit tests?
  • Should any logging, debugging, tracing information be added or removed?
  • Are error messages user-friendly?
  • Have all documentation changes needed been made?
  • Have all non-obvious changes been commented?

System Compatibility

  • Are there any potential impacts on other parts of the system or backward compatibility?
  • Does this change intersect with any items on our roadmap, and if so, is there a plan for fitting them together?

Quality

  • Is this code of a unexpectedly high quality (Readability, Modularity, Intuitiveness)

Copy link
Contributor Author

codetheweb commented Jan 8, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch 3 times, most recently from 6b01b0b to f35dd9a Compare January 8, 2025 19:39
@codetheweb codetheweb marked this pull request as ready for review January 8, 2025 19:42
@codetheweb codetheweb force-pushed the feat-list-databases-api branch from ff322a0 to 37701ee Compare January 9, 2025 00:18
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from f35dd9a to 503c805 Compare January 9, 2025 00:19
@codetheweb codetheweb requested a review from sanketkedia January 9, 2025 17:46
@codetheweb codetheweb force-pushed the feat-list-databases-api branch from f2fc604 to b9bdfe2 Compare January 9, 2025 21:55
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from 503c805 to e7ae25d Compare January 9, 2025 21:56
@codetheweb codetheweb force-pushed the feat-list-databases-api branch from b9bdfe2 to 8b3a2e8 Compare January 9, 2025 23:10
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from e7ae25d to f892fc4 Compare January 9, 2025 23:10
@codetheweb codetheweb changed the base branch from feat-list-databases-api to graphite-base/3440 January 10, 2025 00:38
codetheweb added a commit that referenced this pull request Jan 10, 2025
## Description of changes

Adds a method to the admin client to list all databases for a tenant. Has limit/offset parameters similar to how listing collections works.

The implementation for distributed Chroma is in a separate PR, next in this stack: #3440.

See chroma-core/hosted-chroma#900 for main tracking issue.

## Test plan
*How are these changes tested?*

- [x] Tests pass locally with `pytest` for python, `yarn test` for js, `cargo test` for rust

## Documentation Changes
*Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs repository](https://github.com/chroma-core/docs)?*

Updated.
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from f892fc4 to 143f6b0 Compare January 10, 2025 00:39
@codetheweb codetheweb changed the base branch from graphite-base/3440 to main January 10, 2025 00:39
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from 143f6b0 to 98e57de Compare January 10, 2025 00:39
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from 98e57de to 4b233ff Compare January 10, 2025 19:47
@codetheweb codetheweb force-pushed the feat-list-databases-api-distributed branch from 4b233ff to 625e4e1 Compare January 10, 2025 19:48
@codetheweb codetheweb merged commit 8aa9501 into main Jan 10, 2025
79 checks passed
@codetheweb codetheweb deleted the feat-list-databases-api-distributed branch January 10, 2025 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants