Skip to content
This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Runtime release Q4#165

Merged
rathishcholarajan merged 39 commits intomainfrom
runtime-release-q4
Nov 9, 2021
Merged

Runtime release Q4#165
rathishcholarajan merged 39 commits intomainfrom
runtime-release-q4

Conversation

@rathishcholarajan
Copy link
Copy Markdown
Member

Summary

This is just consolidation of all PRs approved for runtime release q4.

Details and comments

rathishcholarajan and others added 4 commits October 18, 2021 01:14
* Remove version field from runtime program

* Add release note
This needs to change in the program upload body request in order to
meet the IBM Cloud API guidance.

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
@rathishcholarajan rathishcholarajan changed the title Runtime release q4 Runtime release Q4 Oct 18, 2021
@rathishcholarajan rathishcholarajan self-assigned this Oct 19, 2021
@rathishcholarajan rathishcholarajan added this to the 0.1 milestone Oct 19, 2021
rathishcholarajan and others added 3 commits October 25, 2021 19:16
* Accept JSON schema as program metadata

* Update qiskit_ibm/runtime/ibm_runtime_service.py

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
kt474 and others added 4 commits October 28, 2021 13:35
* update runtime metadata

* return if no data

* fix mypy

* Update releasenotes/notes/update-runtime-metadata-d2ddbcfc0d034530.yaml

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
@rathishcholarajan rathishcholarajan added the backport potential The bug might be minimal and/or important enough to be port to stable label Nov 2, 2021
* Remove version field from runtime program

* Add release note
rathishcholarajan and others added 11 commits November 2, 2021 13:20
This needs to change in the program upload body request in order to
meet the IBM Cloud API guidance.

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
* Accept JSON schema as program metadata

* Update qiskit_ibm/runtime/ibm_runtime_service.py

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>

* Apply suggestions from code review

* Apply suggestions from code review

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>

Co-authored-by: Jessie Yu <jessieyu@us.ibm.com>
* update runtime metadata

* return if no data

* fix mypy

* Update releasenotes/notes/update-runtime-metadata-d2ddbcfc0d034530.yaml

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
kt474 and others added 6 commits November 2, 2021 13:24
* Allow filtering runtime jobs by program ID

* Fix lint
* retrieve program data

* refetch once if no program data

* remove unused import

* refresh program on data property

* fix lint

* Update qiskit_ibm/runtime/runtime_program.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* Update qiskit_ibm/runtime/runtime_program.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* Update qiskit_ibm/runtime/runtime_program.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* add test case

* add test case

* add default data constant

* add _validate_program method

* Update test/ibm/runtime/test_runtime.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
* add provider param

* split provider into hub/group/project

* add reno

* wip add test case

* fix lint/docs

* Update qiskit_ibm/runtime/ibm_runtime_service.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* Update releasenotes/notes/filter-jobs-by-provider-dead04faaf223840.yaml

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* refactor test cases

* remove print

* add integration test

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
* wip add limit/offset params

* add reno

* refactor & update test case

* offset -> skip, implement refresh logic

* refresh when skip/limit not default

* Update releasenotes/notes/runtime-program-pagination-8d599ae984a5ce33.yaml

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* Update releasenotes/notes/runtime-program-pagination-8d599ae984a5ce33.yaml

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* add  to test case

* refactor refresh logic

* refactor

* fix lint

* add integration test

* update doc string

* Update qiskit_ibm/api/clients/runtime.py

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>

* cleanup merge

* Apply suggestions from code review

* fix lint refactor

* Fetch all programs upfront 20 at a time and store in cache

For subsequent requests paginate and return from cache

* Fix integration test

Co-authored-by: Rathish Cholarajan <rathishc24@gmail.com>
Co-authored-by: Rathish Cholarajan <Rathish.C@ibm.com>
@rathishcholarajan rathishcholarajan merged commit 8dffda3 into main Nov 9, 2021
@daka1510 daka1510 deleted the runtime-release-q4 branch February 28, 2022 14:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport potential The bug might be minimal and/or important enough to be port to stable

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants