MCPcopy
hub / github.com/InstaPy/InstaPy / sleep

Function sleep

instapy/time_util.py:31–35  ·  view source on GitHub ↗
(t, custom_percentage=None)

Source from the content-addressed store, hash-verified

29
30
31def sleep(t, custom_percentage=None):
32 if custom_percentage is None:
33 custom_percentage = sleep_percentage
34 time = randomize_time(t) * custom_percentage
35 original_sleep(time)
36
37
38def sleep_actual(t):

Callers 15

get_following_statusFunction · 0.90
extract_post_infoFunction · 0.90
extract_informationFunction · 0.90
users_likedFunction · 0.90
likers_from_photoFunction · 0.90
unfollowFunction · 0.85
follow_userFunction · 0.85
unfollow_userFunction · 0.85
confirm_unfollowFunction · 0.85
post_unfollow_cleanupFunction · 0.85

Calls 1

randomize_timeFunction · 0.85

Tested by

no test coverage detected