-
Notifications
You must be signed in to change notification settings - Fork 99
Add support for workspace v2 endpoints #702
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
Merged
kikomiss
merged 18 commits into
microsoft:main
from
rigidit:users/rigidit/new-workspace
Dec 16, 2025
Merged
Add support for workspace v2 endpoints #702
kikomiss
merged 18 commits into
microsoft:main
from
rigidit:users/rigidit/new-workspace
Dec 16, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…nly when not live
katymccl
reviewed
Dec 11, 2025
katymccl
reviewed
Dec 11, 2025
kikomiss
reviewed
Dec 11, 2025
Contributor
Author
|
/azp run |
|
Commenter does not have sufficient privileges for PR 702 in repo microsoft/azure-quantum-python |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
katymccl
approved these changes
Dec 15, 2025
kikomiss
approved these changes
Dec 16, 2025
kikomiss
approved these changes
Dec 16, 2025
| WORKSPACE = "myworkspace" | ||
| LOCATION = "eastus" | ||
| STORAGE = "mystorage" | ||
| ENDPOINT_URI = f"https://{LOCATION}.quantum.azure.com/" # TODO change to f"https://{WORKSPACE}.{LOCATION}.quantum.azure.com/" when recordings are removed to follow format returned by ARM. Currently set to format which is used in connection string to avoid mass updates of recordings. |
Check notice
Code scanning / devskim
A "TODO" or similar was left in source code, possibly indicating incomplete functionality Note test
Suspicious comment
Collaborator
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For workspace initialization from connection string, regex is updated to handle both v1 and v2 workspaces.
For non connection strings, if user provided resource id or params to build the resource id, we call ARM to fetch the workspace and get location and endpoint information. In case there is not enough params to build resource id, but workspace name is provided, we try to query ARG.