MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / execute

Method execute

keepercommander/commands/utils.py:1985–1997  ·  view source on GitHub ↗
(self, params, **kwargs)

Source from the content-addressed store, hash-verified

1983 return False
1984
1985 def execute(self, params, **kwargs):
1986 share_account_by = params.get_share_account_timestamp()
1987 if share_account_by is not None:
1988 if api.accept_account_transfer_consent(params):
1989 if 'must_perform_account_share_by' in params.settings:
1990 del params.settings['must_perform_account_share_by']
1991 if 'share_account_to' in params.settings:
1992 del params.settings['share_account_to']
1993 logging.info('Account Transfer policy accepted.')
1994 else:
1995 logging.info('Account Transfer policy acceptance canceled.')
1996 else:
1997 logging.info('There is no account transfer to accept.')
1998
1999
2000class LogoutCommand(Command):

Callers 1

executeMethod · 0.95

Calls 2

infoMethod · 0.45

Tested by

no test coverage detected