Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
frankharkins committed Dec 17, 2024
1 parent cb84f21 commit 9f35940
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qiskit_ibm_runtime/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def input(message: str, is_valid: Callable[[str], bool]) -> str:

@staticmethod
def token() -> str:
"""Ask for API token, prompting again if empty"""
while True:
token = getpass("Token: ").strip()
if token != "":
Expand Down

0 comments on commit 9f35940

Please sign in to comment.