diff --git a/src/quantum/azext_quantum/operations/job.py b/src/quantum/azext_quantum/operations/job.py index 4d3ecbb1f88..40f3a104a2f 100644 --- a/src/quantum/azext_quantum/operations/job.py +++ b/src/quantum/azext_quantum/operations/job.py @@ -70,6 +70,8 @@ def build(cmd, target_id=None, project=None): logger.debug("Building project with arguments:") logger.debug(args) + print("Building project...") + import subprocess result = subprocess.run(args, stdout=subprocess.PIPE, check=False) @@ -181,6 +183,8 @@ def submit(cmd, program_args, resource_group_name=None, workspace_name=None, loc args = _generate_submit_args(program_args, ws, target, token, project, job_name, shots, storage, job_params) _set_cli_version() + print("Submitting job...") + import subprocess result = subprocess.run(args, stdout=subprocess.PIPE, check=False) diff --git a/src/quantum/azext_quantum/operations/workspace.py b/src/quantum/azext_quantum/operations/workspace.py index 2a047f6a070..9a0b84135aa 100644 --- a/src/quantum/azext_quantum/operations/workspace.py +++ b/src/quantum/azext_quantum/operations/workspace.py @@ -207,6 +207,9 @@ def create(cmd, resource_group_name=None, workspace_name=None, location=None, st credentials = _get_data_credentials(cmd.cli_ctx, info.subscription) arm_client = ResourceManagementClient(credentials, info.subscription) + # Show the first progress indicator dot before starting ARM template deployment + print('.', end='', flush=True) + deployment_async_operation = arm_client.deployments.begin_create_or_update( info.resource_group, workspace_name, # Note: This is actually specifying a the deployment name, but workspace_name is used here in test_quantum_workspace.py