This repository was archived by the owner on Jul 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 70
Support pagination for retrieving runtime programs #170
Merged
rathishcholarajan
merged 22 commits into
Qiskit:runtime-release-q4
from
kt474:runtime-program-pagination
Nov 8, 2021
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
9a09154
wip add limit/offset params
kt474 0353fdb
add reno
kt474 4b6ad0d
refactor & update test case
kt474 9393385
Merge branch 'main' into runtime-program-pagination
rathishcholarajan 41d5506
offset -> skip, implement refresh logic
kt474 f6f6902
refresh when skip/limit not default
kt474 77199e9
Update releasenotes/notes/runtime-program-pagination-8d599ae984a5ce33…
kt474 ac4c506
Update releasenotes/notes/runtime-program-pagination-8d599ae984a5ce33…
kt474 d692aee
add to test case
kt474 4987738
refactor refresh logic
kt474 53f7fc0
refactor
kt474 7bc900b
fix lint
kt474 8395bea
Merge branch 'main' into runtime-program-pagination
kt474 542d2a8
add integration test
kt474 6975d61
update doc string
kt474 2c99ad1
Update qiskit_ibm/api/clients/runtime.py
kt474 5a1d86e
Merge branch 'runtime-release-q4' into runtime-program-pagination
kt474 b34db6f
cleanup merge
kt474 2a764ed
Apply suggestions from code review
rathishcholarajan 221d990
fix lint refactor
kt474 8eaf821
Fetch all programs upfront 20 at a time and store in cache
rathishcholarajan 5f3019c
Fix integration test
rathishcholarajan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
9 changes: 9 additions & 0 deletions
9
releasenotes/notes/runtime-program-pagination-8d599ae984a5ce33.yaml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| upgrade: | ||
| - | | ||
| ``limit`` and ``skip`` parameters have been added to | ||
| :meth:`qiskit_ibm.runtime.IBMRuntimeService.programs` and | ||
| :meth:`qiskit_ibm.runtime.IBMRuntimeService.pprint_programs`. | ||
| ``limit`` can be used to set the number of runtime programs returned | ||
| and ``skip`` is the number of programs to skip when retrieving | ||
| programs. |
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.