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

feat: handle unique org for apikeys #340

Merged
merged 8 commits into from
Oct 29, 2024
Merged

Conversation

wilsonjr
Copy link
Collaborator

@wilsonjr wilsonjr commented Oct 25, 2024

  • Selects correct organization for scoped API Keys.
  • More informative error message when users have no access to datasets.

Important

Enhance organization selection for scoped API keys and improve error handling for dataset access in nomic/dataset.py.

  • Behavior:
    • _get_current_users_main_organization() in nomic/dataset.py now returns the organization if the user is not the owner.
    • _get_dataset_by_slug_identifier() in nomic/dataset.py raises ValueError on 403 status code.
  • Versioning:
    • Bump version in setup.py from 3.1.3 to 3.1.4.

This description was created by Ellipsis for 00757ac. It will automatically update as commits are pushed.

@wilsonjr wilsonjr marked this pull request as ready for review October 28, 2024 20:53
@wilsonjr wilsonjr changed the title handle unique org for apikeys feat: handle unique org for apikeys Oct 28, 2024
setup.py Outdated Show resolved Hide resolved
@wilsonjr wilsonjr merged commit 9e4701c into main Oct 29, 2024
3 checks passed
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