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

Method execute

keepercommander/commands/scripting.py:102–107  ·  view source on GitHub ↗
(self, params, **kwargs)

Source from the content-addressed store, hash-verified

100 return sleep_parser
101
102 def execute(self, params, **kwargs):
103 sleep_duration = kwargs.get('sleep-duration')
104 if sleep_duration is None:
105 logging.warning(f'Please specify the sleep duration in seconds')
106 return
107 time.sleep(sleep_duration)

Callers

nothing calls this directly

Calls 2

warningMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected