Skip to content
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

Deprecate service.runtime #1278

Merged
merged 3 commits into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions qiskit_ibm_runtime/qiskit_runtime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
from .api.client_parameters import ClientParameters
from .runtime_options import RuntimeOptions
from .ibm_backend import IBMBackend
from .utils.deprecation import issue_deprecation_msg

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -1187,6 +1188,12 @@ def runtime(self): # type:ignore
Returns:
self
"""
issue_deprecation_msg(
msg="The runtime property is deprecated",
version="0.18.0",
remedy="",
period="1 month",
)
return self

def __repr__(self) -> str:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
deprecations:
- |
:meth:`~qiskit_ibm_runtime.QiskitRuntimeService.runtime` has been deprecated.