Skip to content

Feat/scope api#119

Merged
nicornk merged 3 commits intomainfrom
feat/scope-api
Mar 3, 2026
Merged

Feat/scope api#119
nicornk merged 3 commits intomainfrom
feat/scope-api

Conversation

@nicornk
Copy link
Copy Markdown
Contributor

@nicornk nicornk commented Mar 3, 2026

Summary

Checklist

  • You agree with our CLA
  • Included tests (or is not applicable).
  • Updated documentation (or is not applicable).
  • Used pre-commit hooks to format and lint the code.

nicornk and others added 2 commits March 3, 2026 16:13
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… to test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for retrieving the authenticated principal’s Multipass scope and verifies the endpoint via an integration test.

Changes:

  • Add MultipassClient.api_me_scope() to call GET me/scope.
  • Add an integration test asserting the endpoint returns a valid scope object with a recognized type.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
tests/integration/clients/test_multipass.py Adds integration coverage for the new me/scope endpoint.
libs/foundry-dev-tools/src/foundry_dev_tools/clients/multipass.py Introduces a new Multipass API method api_me_scope with docstring and examples.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@nicornk nicornk merged commit 3b8be90 into main Mar 3, 2026
3 checks passed
@nicornk nicornk deleted the feat/scope-api branch March 3, 2026 15:49
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