Skip to content

Commit

Permalink
🐛 Fix type annotation (#1735)
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Tian <kevin.tian@ibm.com>
  • Loading branch information
EarlMilktea and kt474 authored Jun 13, 2024
1 parent 5ec534d commit 5a4528e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qiskit_ibm_runtime/qiskit_runtime_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ def backends(
min_num_qubits: Optional[int] = None,
instance: Optional[str] = None,
dynamic_circuits: Optional[bool] = None,
filters: Optional[Callable[[List["ibm_backend.IBMBackend"]], bool]] = None,
filters: Optional[Callable[["ibm_backend.IBMBackend"], bool]] = None,
*,
use_fractional_gates: Optional[bool] = True,
**kwargs: Any,
Expand Down Expand Up @@ -1134,7 +1134,7 @@ def least_busy(
self,
min_num_qubits: Optional[int] = None,
instance: Optional[str] = None,
filters: Optional[Callable[[List["ibm_backend.IBMBackend"]], bool]] = None,
filters: Optional[Callable[["ibm_backend.IBMBackend"], bool]] = None,
**kwargs: Any,
) -> ibm_backend.IBMBackend:
"""Return the least busy available backend.
Expand Down

0 comments on commit 5a4528e

Please sign in to comment.