def __init__(self, defaults: dict = None) -> None:
        """
        Initializer for wallet manager. Store default values by dict key:

            - 'storage_type': storage type (default None)
            - 'freshness_time': freshness time (default indefinite)
            - 'auto_create': auto_create behaviour (default False)
            - 'auto_remove': auto_remove behaviour (default False)
            - 'key': access credentials value (default 'key', for indy wallet access credentials {'key': 'key'}).

        :param defaults: default values to use as above
        """

        LOGGER.debug('WalletManager.__init__ >>> defaults %s', defaults)

        self._defaults = {
            'storage_type': (defaults or {}).get('storage_type', None),
            'freshness_time': int((defaults or {}).get('freshness_time', 0)),
            'auto_create': bool((defaults or {}).get('auto_create', False)),
            'auto_remove': bool((defaults or {}).get('auto_remove', False)),
            'access_creds': {'key': (defaults or {}).get('key', 'key')}
        }

        LOGGER.debug('WalletManager.__init__ <<<')
def __init__ ( self , defaults : dict = None ) -> None : LOGGER . debug ( 'WalletManager.__init__ >>> defaults %s' , defaults ) self . _defaults = { 'storage_type' : ( defaults or { } ) . get ( 'storage_type' , None ) , 'freshness_time' : int ( ( defaults or { } ) . get ( 'freshness_time' , 0 ) ) , 'auto_create' : bool ( ( defaults or { } ) . get ( 'auto_create' , False ) ) , 'auto_remove' : bool ( ( defaults or { } ) . get ( 'auto_remove' , False ) ) , 'access_creds' : { 'key' : ( defaults or { } ) . get ( 'key' , 'key' ) } } LOGGER . debug ( 'WalletManager.__init__ <<<' )
Initializer for wallet manager. Store default values by dict key:

            - 'storage_type': storage type (default None)
            - 'freshness_time': freshness time (default indefinite)
            - 'auto_create': auto_create behaviour (default False)
            - 'auto_remove': auto_remove behaviour (default False)
            - 'key': access credentials value (default 'key', for indy wallet access credentials {'key': 'key'}).

        :param defaults: default values to use as above