Skip to content

Conversation

@xinyi-joffre
Copy link
Collaborator

Currently, the logic to override quantum_endpoint is broken, this fixes it so that data plane calls actually use the overridden endpoint. We need this for testing the new data plane v2 endpoint.

workspace = Workspace(resource_id= "",
location="",
quantum_endpoint="https://quantum.azure.com/"
)

@xinyi-joffre xinyi-joffre requested a review from a team as a code owner October 27, 2025 19:06
@xinyi-joffre
Copy link
Collaborator Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinyi-joffre xinyi-joffre merged commit 305696b into main Oct 27, 2025
6 checks passed
@xinyi-joffre xinyi-joffre deleted the xinyi/allow-override-endpoint branch October 27, 2025 19:46
_endpoint = endpoint
print("Overrided endpoint: ", _endpoint)
else:
_endpoint = "https://{region}.{serviceBaseUrl}"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does not this need to be _endpoint = f"https://{region}.{service_base_url}"?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, it gets formatted within service client. This is just the base pattern that will get replaced.

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.

4 participants