IBMProvider.saved_accounts#
- static IBMProvider.saved_accounts(default=None, name=None)[source]#
List the accounts saved on disk.
- Parameters:
default (
Optional
[bool
]) – If set to True, only default accounts are returned.name (
Optional
[str
]) – If set, only accounts with the given name are returned.
- Return type:
dict
- Returns:
A dictionary with information about the accounts saved on disk.
- Raises:
ValueError – If an invalid account is found on disk.