Skip to content

Cleanup websocket streaming code #2143

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

Merged
merged 15 commits into from
Apr 11, 2025
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
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ dependencies = [
"numpy>=1.13",
"urllib3>=1.21.1",
"python-dateutil>=2.8.0",
"websocket-client>=1.5.1",
"ibm-platform-services>=0.22.6",
"pydantic>=2.5.0,<2.10",
"qiskit>=1.4.1",
Expand Down Expand Up @@ -118,7 +117,6 @@ common = [
"nbformat>=4.4.0",
"nbconvert>=5.3.1",
"qiskit-aer>=0.17.0",
"websockets>=8",
"black~=24.1",
"coverage>=6.3",
"pylatexenc",
Expand Down
2 changes: 0 additions & 2 deletions qiskit_ibm_runtime/api/clients/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

"""IBM Quantum API clients."""

from .base_websocket_client import WebsocketClientCloseCode
from .auth import AuthClient
from .version import VersionClient
from .runtime_ws import RuntimeWebsocketClient
from .runtime import RuntimeClient
301 changes: 0 additions & 301 deletions qiskit_ibm_runtime/api/clients/base_websocket_client.py

This file was deleted.

11 changes: 0 additions & 11 deletions qiskit_ibm_runtime/api/clients/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,6 @@ def job_results(self, job_id: str) -> str:
"""
return self._api.program_job(job_id).results()

def job_interim_results(self, job_id: str) -> str:
"""Get the interim results of a program job.

Args:
job_id: Program job ID.

Returns:
Job interim results.
"""
return self._api.program_job(job_id).interim_results()

def job_cancel(self, job_id: str) -> None:
"""Cancel a job.

Expand Down
Loading