-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Draft - Do not merge] [Quantum] Azure CLI leverages paginated jobs #8197
Draft
warren-jones
wants to merge
77
commits into
Azure:main
Choose a base branch
from
warren-jones:25267-azure-cli-leverages-paginated-jobs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[Draft - Do not merge] [Quantum] Azure CLI leverages paginated jobs #8197
warren-jones
wants to merge
77
commits into
Azure:main
from
warren-jones:25267-azure-cli-leverages-paginated-jobs
+6,858
−3,680
Conversation
This file contains 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
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
quantum job list | cmd quantum job list added parameter created_after |
||
quantum job list | cmd quantum job list added parameter created_before |
||
quantum job list | cmd quantum job list added parameter item_type |
||
quantum job list | cmd quantum job list added parameter job_name |
||
quantum job list | cmd quantum job list added parameter job_status |
||
quantum job list | cmd quantum job list added parameter job_type |
||
quantum job list | cmd quantum job list added parameter order |
||
quantum job list | cmd quantum job list added parameter orderby |
||
quantum job list | cmd quantum job list added parameter provider_id |
||
quantum job list | cmd quantum job list added parameter skip |
||
quantum job list | cmd quantum job list added parameter target_id |
||
quantum job list | cmd quantum job list added parameter top |
Hi @warren-jones, |
Thank you for your contribution! We will review the pull request and get back to you soon. |
Release SuggestionsModule: quantum
Notes
|
… into the CLI extension
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.
CLI section copied from AQ Job Pagination Design.docx:
Client update required
The data-plane client files in vendored_sdks were updated after the azure-quantum-python SDK's DP client was updated in SDK PR 652: All the files from azure-quantum-python\azure-quantum\azure\quantum\_client were copied into azure-cli-extensions\src\quantum\azext_quantum\vendored_sdks\azure_quantum
No CLI-specific changes were required, so now the CLI extension and the Quantum Python SDK use identical DP client files, automatically generated with Dataplane Codegen and Typespec.
Note: The CLI wiki How to generate the control-plane and data-plane clients no longer applies to the DP client. The AutoREST/Swagger-based client generation described in the wiki now only applies to the control plane client, but that may also change when the CP client is next updated. No changes to the CP client were made for this PR.
New params for
az quantum job list
Required code changes
list
function in job.pywith self.argument_context('quantum job list')…
block in theload_arguments
function in _params.py, with corresponding…_type
statements at the top of that function, including help textcf_quantum
function in _client_factory.py to accommodate DP client method name and parameter changesRelated command
az quantum job list
Collateral damage
(Other commands affected by the DP client update -- no external changes expected)
az quantum job cancel
az quantum job output
az quantum job show
az quantum job submit
az quantum job wait
az quantum run
az quantum target list
az quantum workspace quotas
General Guidelines
This checklist is used to make sure that common guidelines for a pull request are followed.
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)