Skip to content

Commit

Permalink
Remove runtime property (#1537)
Browse files Browse the repository at this point in the history
  • Loading branch information
kt474 authored Mar 21, 2024
1 parent 54982ac commit 17f1b82
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions qiskit_ibm_runtime/qiskit_runtime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
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 @@ -1160,20 +1159,5 @@ def channel(self) -> str:
"""
return self._channel

@property
def runtime(self): # type:ignore
"""Return self for compatibility with IBMQ provider.
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:
return "<{}>".format(self.__class__.__name__)

0 comments on commit 17f1b82

Please sign in to comment.