von_anchor/wallet/wallet.py
async def open(self) -> 'Wallet':
        """
        Explicit entry. Open wallet as configured, for later closure via close().
        For use when keeping wallet open across multiple calls.

        Raise any IndyError causing failure to open wallet, WalletState if wallet already open,
        or AbsentWallet on attempt to enter wallet not yet created.

        :return: current object
        """

        LOGGER.debug('Wallet.open >>>')

        try:
            self._handle = await wallet.open_wallet(
                json.dumps(self.config),
                json.dumps(self.access_creds or Wallet.DEFAULT_ACCESS_CREDS))
            LOGGER.info('Opened wallet %s on handle %s', self.name, self.handle)
        except IndyError as x_indy:
            if x_indy.error_code == ErrorCode.WalletNotFoundError:
                LOGGER.info('Wallet %s does not exist', self.name)
                raise AbsentWallet('Wallet {} does not exist'.format(self.name))
            elif x_indy.error_code == ErrorCode.WalletAlreadyOpenedError:
                LOGGER.info('Wallet %s is already open', self.name)
                raise WalletState('Wallet {} is already open'.format(self.name))
            else:
                raise

        self._did = await self.get_anchor_did()
        self.verkey = await did.key_for_local_did(self.handle, self.did)
        LOGGER.info('Wallet %s got verkey %s for existing DID %s', self.name, self.verkey, self.did)

        LOGGER.debug('Wallet.open <<<')
        return self

        Explicit entry. Open wallet as configured, for later closure via close().
        For use when keeping wallet open across multiple calls.

        Raise any IndyError causing failure to open wallet, WalletState if wallet already open,
        or AbsentWallet on attempt to enter wallet not yet created.

        :return: current object
        
Explicit entry. Open wallet as configured, for later closure via close().
For use when keeping wallet open across multiple calls.

Raise any IndyError causing failure to open wallet, WalletState if wallet already open,
or AbsentWallet on attempt to enter wallet not yet created.
Explicit entry . Open wallet as configured for later closure via close () . For use when keeping wallet open across multiple calls . Raise any IndyError causing failure to open wallet WalletState if wallet already open or AbsentWallet on attempt to enter wallet not yet created .
async def open(self) -> 'Wallet':
        LOGGER.debug('Wallet.open >>>')
        try:
            self._handle = await wallet.open_wallet(
                json.dumps(self.config),
                json.dumps(self.access_creds or Wallet.DEFAULT_ACCESS_CREDS))
            LOGGER.info('Opened wallet %s on handle %s', self.name, self.handle)
        except IndyError as x_indy:
            if x_indy.error_code == ErrorCode.WalletNotFoundError:
                LOGGER.info('Wallet %s does not exist', self.name)
                raise AbsentWallet('Wallet {} does not exist'.format(self.name))
            elif x_indy.error_code == ErrorCode.WalletAlreadyOpenedError:
                LOGGER.info('Wallet %s is already open', self.name)
                raise WalletState('Wallet {} is already open'.format(self.name))
            else:
                raise
        self._did = await self.get_anchor_did()
        self.verkey = await did.key_for_local_did(self.handle, self.did)
        LOGGER.info('Wallet %s got verkey %s for existing DID %s', self.name, self.verkey, self.did)
        LOGGER.debug('Wallet.open <<<')
        return self
async def open ( self ) -> 'Wallet' : LOGGER . debug ( 'Wallet.open >>>' ) try : self . _handle = await wallet . open_wallet ( json . dumps ( self . config ) , json . dumps ( self . access_creds or Wallet . DEFAULT_ACCESS_CREDS ) ) LOGGER . info ( 'Opened wallet %s on handle %s' , self . name , self . handle ) except IndyError as x_indy : if x_indy . error_code == ErrorCode . WalletNotFoundError : LOGGER . info ( 'Wallet %s does not exist' , self . name ) raise AbsentWallet ( 'Wallet {} does not exist' . format ( self . name ) ) elif x_indy . error_code == ErrorCode . WalletAlreadyOpenedError : LOGGER . info ( 'Wallet %s is already open' , self . name ) raise WalletState ( 'Wallet {} is already open' . format ( self . name ) ) else : raise self . _did = await self . get_anchor_did ( ) self . verkey = await did . key_for_local_did ( self . handle , self . did ) LOGGER . info ( 'Wallet %s got verkey %s for existing DID %s' , self . name , self . verkey , self . did ) LOGGER . debug ( 'Wallet.open <<<' ) return self
Explicit entry.
Explicit entry .
"""
        Explicit entry. Open wallet as configured, for later closure via close().
        For use when keeping wallet open across multiple calls.

        Raise any IndyError causing failure to open wallet, WalletState if wallet already open,
        or AbsentWallet on attempt to enter wallet not yet created.

        :return: current object
        """
None
self