Every line of 'python sleep for 1 minute' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
87 def _Sleep(mins): 88 """Calls time.sleep(). Exists solely for better unit testing. 89 90 Args: 91 mins: The number of minutes to sleep(). 92 """ 93 time.sleep(mins * 60)
29 def sleep_for(secs): 30 time.sleep(secs)
189 def sleep(seconds): 190 """A reimplementation of the xbmc sleep() function""" 191 time.sleep(seconds)
108 def sleep(sec): 109 """Sleep sec in commands""" 110 def sleeper(): 111 import time 112 time.sleep(sec) 113 return sleeper
35 def sleep(n): 36 time.sleep(n)
110 def sleep(self, secs): 111 time.sleep(secs)
27 def sleep(*args): 28 """ Args for backwards compatibility 29 """ 30 if skip_sleep: 31 return 32 time.sleep(1)
70 @overload 71 def sleep(secs: float) -> None: pass
71 def wait(interval=0.1): 72 """ Convenience function to adjust sleep interval for all tests. """ 73 time.sleep(interval)
34 def sleep_actual(t): 35 original_sleep(t)