Skip to content

Commit 2e04544

Browse files
s-ddavydenkoidanielstevenazclibotrigidithenryzdai
authored
Quantum: Remove deprecated location parameter (#9908)
* remove dpericated --location * style * update history * NetworkCloud CLI for the 2026-05-01-preview API (#9867) * Managed Network Fabric CLI updates for new 2026-01-15-preview API * Managed Network Fabric CLI updates for new 2026-01-15-preview API * NetworkCloud CLI for the 2026-05-01-preview API * NetworkCloud CLI for the 2026-05-01-preview API * retrigger checks * [Release] Update index.json for extension [ networkcloud-5.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=165822620&view=results Last commit: 72ddb7f * Quantum: workspace create and set related bug fixes (#9906) * Fix workspace create, tested * Worspace set command improvements * [Release] Update index.json for extension [ quantum-1.0.0b15 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=165988604&view=results Last commit: f561f26 * [Microsoft.ChangeSafety][BugFix] fix additional data parsing issue (#9901) * Fix --additional-data and --change-definition to accept free-form nested JSON The --additional-data argument was defined as AAZObjectArg with no child fields, causing 'Model AAZObjectArg has no field named safeFly' errors. The --change-definition details field had the same issue, rejecting ApiOperations payloads with 'no field named operations'. Changes: - Change additional_data from AAZObjectArg to AAZFreeFormDictArg - Change change_definition.details from AAZObjectArg to AAZFreeFormDictArg - Change corresponding AAZObjectType to AAZFreeFormDictType in builders and response schemas across create, update, show, and list - Add content injection for additionalData in custom.py (same pattern as changeDefinition) to work around AAZ builder serialization limitation - Add tests for SafeFly payload, links, and orchestration-tool arguments - Bump version to 1.0.0b2 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Retrigger CI (transient GitHub 403 incident on prior run) * Address PR nits: use 'is None' / 'is not None' for additional_data checks Per review feedback, replace truthiness checks with explicit None checks so that an explicitly provided empty dict {} is treated as a valid user-supplied value rather than being silently dropped. - _inject_additional_data_into_content: 'if not additional_data' -> 'is None' - ChangeRecordCreate.pre_operations: 'if additional_data' -> 'is not None' - ChangeRecordUpdate.pre_operations: same fix for consistency (duplicated pattern) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Henry Dai <henrydai@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * [Release] Update index.json for extension [ azure-changesafety-1.0.0b2 ] Triggered by Azure CLI Extensions Release Pipeline - ADO_BUILD_URL: https://dev.azure.com/msazure/One/_build/results?buildId=166044594&view=results Last commit: b145cb5 * style * history log * delete empty breaking_changes file * version bump in setup.py --------- Co-authored-by: idanielsteven <danielsteven@microsoft.com> Co-authored-by: Azure CLI Team <AzPyCLI@microsoft.com> Co-authored-by: Zulfat Nutfullin <rigidit@users.noreply.github.com> Co-authored-by: likesys <henry.zekun.dai@outlook.com> Co-authored-by: Henry Dai <henrydai@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 557232f commit 2e04544

10 files changed

Lines changed: 54 additions & 67 deletions

File tree

src/quantum/HISTORY.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
Release History
44
===============
55

6+
1.0.0b16
7+
+++++++++++++++
8+
* Removed deprecated ``--location``/``-l`` parameter from ``quantum execute``, ``quantum run``, ``quantum job submit``, ``quantum job cancel``, ``quantum job list``, ``quantum job output``, ``quantum job show``, ``quantum job wait``, ``quantum target list``, ``quantum workspace set``, and ``quantum workspace quotas`` commands.
9+
610
1.0.0b15
711
+++++++++++++++
812
* Fixed bug where workspace providers were appended to wrong property causing workspace creation to fail

src/quantum/azext_quantum/_breaking_change.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/quantum/azext_quantum/_help.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
examples:
1818
- name: Run QIR bitcode from a file in the current folder and wait for the result.
1919
text: |-
20-
az quantum execute -g MyResourceGroup -w MyWorkspace -l MyLocation -t MyTarget \\
20+
az quantum execute -g MyResourceGroup -w MyWorkspace -t MyTarget \\
2121
--job-name MyJob --job-input-format qir.v1 --job-input-file MyQirBitcode.bc \\
2222
--entry-point MyQirEntryPoint
2323
- name: Run a Quil pass-through job on the Rigetti simulator and wait for the result.
2424
text: |-
25-
az quantum execute -g MyResourceGroup -w MyWorkspace -l MyLocation \\
25+
az quantum execute -g MyResourceGroup -w MyWorkspace \\
2626
-t rigetti.sim.qvm --job-name MyJob --job-input-file MyProgram.quil \\
2727
--job-input-format rigetti.quil.v1 --job-output-format rigetti.quil-results.v1
2828
- name: Submit a Qiskit circuit to the IonQ simulator with job params and wait for the results.
2929
text: |-
30-
az quantum execute -g MyResourceGroup -w MyWorkspace -l MyLocation \\
30+
az quantum execute -g MyResourceGroup -w MyWorkspace \\
3131
-t ionq.simulator --job-name MyJobName --job-input-file MyCircuit.json \\
3232
--job-input-format ionq.circuit.v1 --job-output-format ionq.quantum-results.v1 \\
3333
--job-params count=100 content-type=application/json
@@ -40,17 +40,17 @@
4040
examples:
4141
- name: Run QIR bitcode from a file in the current folder and wait for the result.
4242
text: |-
43-
az quantum run -g MyResourceGroup -w MyWorkspace -l MyLocation -t MyTarget \\
43+
az quantum run -g MyResourceGroup -w MyWorkspace -t MyTarget \\
4444
--job-name MyJob --job-input-format qir.v1 --job-input-file MyQirBitcode.bc \\
4545
--entry-point MyQirEntryPoint
4646
- name: Run a Quil pass-through job on the Rigetti simulator and wait for the result.
4747
text: |-
48-
az quantum run -g MyResourceGroup -w MyWorkspace -l MyLocation \\
48+
az quantum run -g MyResourceGroup -w MyWorkspace \\
4949
-t rigetti.sim.qvm --job-name MyJob --job-input-file MyProgram.quil \\
5050
--job-input-format rigetti.quil.v1 --job-output-format rigetti.quil-results.v1
5151
- name: Submit a Qiskit circuit to the IonQ simulator with job params and wait for the results.
5252
text: |-
53-
az quantum run -g MyResourceGroup -w MyWorkspace -l MyLocation \\
53+
az quantum run -g MyResourceGroup -w MyWorkspace \\
5454
-t ionq.simulator --job-name MyJobName --job-input-file MyCircuit.json \\
5555
--job-input-format ionq.circuit.v1 --job-output-format ionq.quantum-results.v1 \\
5656
--job-params count=100 content-type=application/json
@@ -67,31 +67,31 @@
6767
examples:
6868
- name: Get the list of jobs from an Azure Quantum workspace.
6969
text: |-
70-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation
70+
az quantum job list -g MyResourceGroup -w MyWorkspace
7171
- name: List jobs that used the quantinuum provider.
7272
text: |-
73-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --provider-id quantinuum
73+
az quantum job list -g MyResourceGroup -w MyWorkspace --provider-id quantinuum
7474
- name: List jobs that ran on the ionq.simulator target.
7575
text: |-
76-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --target-id ionq.simulator
76+
az quantum job list -g MyResourceGroup -w MyWorkspace --target-id ionq.simulator
7777
- name: List jobs that completed successfully.
7878
text: |-
79-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --status Succeeded
79+
az quantum job list -g MyResourceGroup -w MyWorkspace --status Succeeded
8080
- name: List jobs created after January 15th, 2025.
8181
text: |-
82-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --created-after 2025-01-15
82+
az quantum job list -g MyResourceGroup -w MyWorkspace --created-after 2025-01-15
8383
- name: List jobs whose names start with "Generate...".
8484
text: |-
85-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --job-name Generate
85+
az quantum job list -g MyResourceGroup -w MyWorkspace --job-name Generate
8686
- name: Skip the first 50 jobs, start listing at the 51st job and list 10 jobs.
8787
text: |-
88-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --skip 50 --top 10
88+
az quantum job list -g MyResourceGroup -w MyWorkspace --skip 50 --top 10
8989
- name: Sort the job list by Target ID and display in tabular format.
9090
text: |-
91-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --orderby Target -o table
91+
az quantum job list -g MyResourceGroup -w MyWorkspace --orderby Target -o table
9292
- name: Sort the job list by Job Name in descending order, display in tabular format.
9393
text: |-
94-
az quantum job list -g MyResourceGroup -w MyWorkspace -l MyLocation --orderby Name --order desc -o table
94+
az quantum job list -g MyResourceGroup -w MyWorkspace --orderby Name --order desc -o table
9595
"""
9696

9797
helps['quantum job output'] = """
@@ -100,7 +100,7 @@
100100
examples:
101101
- name: Print the results of a successful Azure Quantum job.
102102
text: |-
103-
az quantum job output -g MyResourceGroup -w MyWorkspace -l MyLocation \\
103+
az quantum job output -g MyResourceGroup -w MyWorkspace \\
104104
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -o table
105105
"""
106106

@@ -110,7 +110,7 @@
110110
examples:
111111
- name: Get the status of an Azure Quantum job.
112112
text: |-
113-
az quantum job show -g MyResourceGroup -w MyWorkspace -l MyLocation \\
113+
az quantum job show -g MyResourceGroup -w MyWorkspace \\
114114
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --query status
115115
"""
116116

@@ -120,17 +120,17 @@
120120
examples:
121121
- name: Submit QIR bitcode from a file in the current folder.
122122
text: |-
123-
az quantum job submit -g MyResourceGroup -w MyWorkspace -l MyLocation -t MyTarget \\
123+
az quantum job submit -g MyResourceGroup -w MyWorkspace -t MyTarget \\
124124
--job-name MyJob --job-input-format qir.v1 --job-input-file MyQirBitcode.bc \\
125125
--entry-point MyQirEntryPoint
126126
- name: Submit a Quil pass-through job to the Rigetti simulator.
127127
text: |-
128-
az quantum job submit -g MyResourceGroup -w MyWorkspace -l MyLocation \\
128+
az quantum job submit -g MyResourceGroup -w MyWorkspace \\
129129
-t rigetti.sim.qvm --job-name MyJob --job-input-file MyProgram.quil \\
130130
--job-input-format rigetti.quil.v1 --job-output-format rigetti.quil-results.v1
131131
- name: Submit a IonQ JSON circuit to the IonQ simulator with job params.
132132
text: |-
133-
az quantum job submit -g MyResourceGroup -w MyWorkspace -l MyLocation \\
133+
az quantum job submit -g MyResourceGroup -w MyWorkspace \\
134134
-t ionq.simulator --job-name MyJobName --job-input-file MyCircuit.json \\
135135
--job-input-format ionq.circuit.v1 --job-output-format ionq.quantum-results.v1 \\
136136
--job-params count=100 content-type=application/json
@@ -142,7 +142,7 @@
142142
examples:
143143
- name: Wait for completion of a job, check at 60 second intervals.
144144
text: |-
145-
az quantum job wait -g MyResourceGroup -w MyWorkspace -l MyLocation \\
145+
az quantum job wait -g MyResourceGroup -w MyWorkspace \\
146146
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --max-poll-wait-secs 60 -o table
147147
"""
148148

@@ -152,7 +152,7 @@
152152
examples:
153153
- name: Cancel an Azure Quantum job by id.
154154
text: |-
155-
az quantum job cancel -g MyResourceGroup -w MyWorkspace -l MyLocation \\
155+
az quantum job cancel -g MyResourceGroup -w MyWorkspace \\
156156
-j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy
157157
"""
158158

@@ -211,7 +211,7 @@
211211
examples:
212212
- name: Get the list of targets available in a Azure Quantum workspaces
213213
text: |-
214-
az quantum target list -g MyResourceGroup -w MyWorkspace -l MyLocation
214+
az quantum target list -g MyResourceGroup -w MyWorkspace
215215
"""
216216

217217
helps['quantum target set'] = """
@@ -288,9 +288,9 @@
288288
type: command
289289
short-summary: List the quotas for the given (or current) Azure Quantum workspace.
290290
examples:
291-
- name: List the quota information of a specified Azure Quantum workspace. If a default workspace has been set, the -g, -w, and -l parameters are not required.
291+
- name: List the quota information of a specified Azure Quantum workspace. If a default workspace has been set, the -g and -w parameters are not required.
292292
text: |-
293-
az quantum workspace quotas -g MyResourceGroup -w MyWorkspace -l MyLocation
293+
az quantum workspace quotas -g MyResourceGroup -w MyWorkspace
294294
"""
295295

296296
helps['quantum workspace set'] = """
@@ -299,7 +299,7 @@
299299
examples:
300300
- name: Set the default Azure Quantum workspace.
301301
text: |-
302-
az quantum workspace set -g MyResourceGroup -w MyWorkspace -l MyLocation
302+
az quantum workspace set -g MyResourceGroup -w MyWorkspace
303303
"""
304304

305305
helps['quantum workspace show'] = """

src/quantum/azext_quantum/operations/job.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
knack_logger = knack.log.get_logger(__name__)
4747

4848

49-
def list(cmd, resource_group_name, workspace_name, location=None, job_type=None, item_type=None, provider_id=None,
49+
def list(cmd, resource_group_name, workspace_name, job_type=None, item_type=None, provider_id=None,
5050
target_id=None, job_status=None, created_after=None, created_before=None, job_name=None,
5151
skip=None, top=None, orderby=None, order=None):
5252
"""
@@ -141,7 +141,7 @@ def _construct_orderby_expression(orderby, order):
141141
return orderby_expression
142142

143143

144-
def get(cmd, job_id, resource_group_name=None, workspace_name=None, location=None):
144+
def get(cmd, job_id, resource_group_name=None, workspace_name=None):
145145
"""
146146
Get the job's status and details.
147147
"""
@@ -173,7 +173,7 @@ def _convert_numeric_params(job_params):
173173
pass
174174

175175

176-
def submit(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format, location=None,
176+
def submit(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format,
177177
job_name=None, shots=None, storage=None, job_params=None, target_capability=None,
178178
job_output_format=None, entry_point=None):
179179
"""
@@ -354,7 +354,7 @@ def submit(cmd, resource_group_name, workspace_name, target_id, job_input_file,
354354
return client.create(ws_info.subscription, ws_info.resource_group, ws_info.name, job_id, job_details).as_dict()
355355

356356

357-
def output(cmd, job_id, resource_group_name, workspace_name, location=None):
357+
def output(cmd, job_id, resource_group_name, workspace_name):
358358
"""
359359
Get the results of running a job.
360360
"""
@@ -371,7 +371,7 @@ def output(cmd, job_id, resource_group_name, workspace_name, location=None):
371371
return _get_job_output(job)
372372

373373

374-
def wait(cmd, job_id, resource_group_name, workspace_name, location=None, max_poll_wait_secs=5):
374+
def wait(cmd, job_id, resource_group_name, workspace_name, max_poll_wait_secs=5):
375375
"""
376376
Place the CLI in a waiting state until the job finishes running.
377377
"""
@@ -400,7 +400,7 @@ def wait(cmd, job_id, resource_group_name, workspace_name, location=None, max_po
400400
return job.as_dict()
401401

402402

403-
def job_show(cmd, job_id, resource_group_name, workspace_name, location=None):
403+
def job_show(cmd, job_id, resource_group_name, workspace_name):
404404
"""
405405
Get the job's status and details.
406406
"""
@@ -410,13 +410,13 @@ def job_show(cmd, job_id, resource_group_name, workspace_name, location=None):
410410
return job.as_dict()
411411

412412

413-
def run(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format, location=None,
413+
def run(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format,
414414
job_name=None, shots=None, storage=None, job_params=None, target_capability=None,
415415
job_output_format=None, entry_point=None):
416416
"""
417417
Submit a job to run on Azure Quantum, and wait for the result.
418418
"""
419-
job = submit(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format, location,
419+
job = submit(cmd, resource_group_name, workspace_name, target_id, job_input_file, job_input_format,
420420
job_name, shots, storage, job_params, target_capability,
421421
job_output_format, entry_point)
422422
logger.warning("Job id: %s", job["id"])
@@ -428,7 +428,7 @@ def run(cmd, resource_group_name, workspace_name, target_id, job_input_file, job
428428
return output(cmd, job["id"], resource_group_name, workspace_name)
429429

430430

431-
def cancel(cmd, job_id, resource_group_name, workspace_name, location=None):
431+
def cancel(cmd, job_id, resource_group_name, workspace_name):
432432
"""
433433
Request to cancel a job on Azure Quantum if it hasn't completed.
434434
"""

src/quantum/azext_quantum/operations/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def set(cmd, target_id):
4949
return info
5050

5151

52-
def list(cmd, resource_group_name, workspace_name, location=None):
52+
def list(cmd, resource_group_name, workspace_name):
5353
"""
5454
Get the list of providers and their targets in an Azure Quantum workspace.
5555
"""

src/quantum/azext_quantum/operations/workspace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ def get(cmd, resource_group_name=None, workspace_name=None):
345345
return ws
346346

347347

348-
def quotas(cmd, resource_group_name, workspace_name, location=None):
348+
def quotas(cmd, resource_group_name, workspace_name):
349349
"""
350350
List the quotas for the given (or current) Azure Quantum workspace.
351351
"""
@@ -355,7 +355,7 @@ def quotas(cmd, resource_group_name, workspace_name, location=None):
355355
return repack_response_json(response)
356356

357357

358-
def set(cmd, workspace_name, resource_group_name, location=None):
358+
def set(cmd, workspace_name, resource_group_name):
359359
"""
360360
Set the default Azure Quantum workspace.
361361
"""

src/quantum/azext_quantum/tests/latest/test_quantum_jobs.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class QuantumJobsScenarioTest(ScenarioTest):
3333
@live_only()
3434
def test_jobs(self):
3535
# set current workspace:
36-
self.cmd(f'az quantum workspace set -g {get_test_resource_group()} -w {get_test_workspace()} -l {get_test_workspace_location()}')
36+
self.cmd(f'az quantum workspace set -g {get_test_resource_group()} -w {get_test_workspace()}')
3737

3838
# list
3939
targets = self.cmd('az quantum target list -o json').get_output_in_json()
@@ -45,10 +45,10 @@ def test_jobs(self):
4545
# # See "TODO" in issue_cmd_with_param_missing un utils.py
4646

4747
def test_job_errors(self):
48-
issue_cmd_with_param_missing(self, "az quantum job cancel", "az quantum job cancel -g MyResourceGroup -w MyWorkspace -l MyLocation -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy\nCancel an Azure Quantum job by id.")
49-
issue_cmd_with_param_missing(self, "az quantum job output", "az quantum job output -g MyResourceGroup -w MyWorkspace -l MyLocation -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -o table\nPrint the results of a successful Azure Quantum job.")
50-
issue_cmd_with_param_missing(self, "az quantum job show", "az quantum job show -g MyResourceGroup -w MyWorkspace -l MyLocation -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --query status\nGet the status of an Azure Quantum job.")
51-
issue_cmd_with_param_missing(self, "az quantum job wait", "az quantum job wait -g MyResourceGroup -w MyWorkspace -l MyLocation -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --max-poll-wait-secs 60 -o table\nWait for completion of a job, check at 60 second intervals.")
48+
issue_cmd_with_param_missing(self, "az quantum job cancel", "az quantum job cancel -g MyResourceGroup -w MyWorkspace -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy\nCancel an Azure Quantum job by id.")
49+
issue_cmd_with_param_missing(self, "az quantum job output", "az quantum job output -g MyResourceGroup -w MyWorkspace -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy -o table\nPrint the results of a successful Azure Quantum job.")
50+
issue_cmd_with_param_missing(self, "az quantum job show", "az quantum job show -g MyResourceGroup -w MyWorkspace -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --query status\nGet the status of an Azure Quantum job.")
51+
issue_cmd_with_param_missing(self, "az quantum job wait", "az quantum job wait -g MyResourceGroup -w MyWorkspace -j yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy --max-poll-wait-secs 60 -o table\nWait for completion of a job, check at 60 second intervals.")
5252

5353
def test_transform_output(self):
5454
# Call with a good histogram
@@ -203,7 +203,7 @@ def test_submit(self):
203203
# Wait for role assignments to propagate so the new workspace can access the storage account
204204
time.sleep(60)
205205

206-
self.cmd(f"az quantum workspace set -g {test_resource_group} -w {test_workspace_temp} -l {test_location}")
206+
self.cmd(f"az quantum workspace set -g {test_resource_group} -w {test_workspace_temp}")
207207

208208
# Submit a job to Rigetti and look for SAS tokens in URIs in the output
209209
results = self.cmd("az quantum job submit -t rigetti.sim.qvm --job-input-format rigetti.quil.v1 --job-input-file src/quantum/azext_quantum/tests/latest/input_data/bell-state.quil --job-output-format rigetti.quil-results.v1 -o json").get_output_in_json()
@@ -267,7 +267,7 @@ def test_submit_with_disabled_then_enabled_storage_key_access(self):
267267
storage_info = self.cmd(f"az storage account show -g {test_resource_group} -n {test_storage_temp} -o json").get_output_in_json()
268268
self.assertFalse(storage_info["allowSharedKeyAccess"], "Access keys should be disabled on the newly created storage account for new workspace")
269269

270-
self.cmd(f"az quantum workspace set -g {test_resource_group} -w {test_workspace_temp} -l {test_location}")
270+
self.cmd(f"az quantum workspace set -g {test_resource_group} -w {test_workspace_temp}")
271271
time.sleep(60) # wait for role assignments to propagate so the new workspace can access the storage account
272272

273273
# Test that job submission works with disabled access keys on linked storage (/sasUri returns user delegation SAS)

0 commit comments

Comments
 (0)