def sleep_correctly(period):
    current_time = time.time()
    end_time = current_time + period
    while current_time < end_time:
        time.sleep(end_time - current_time)
        current_time = time.time()
Given a key, returns an element from the redis table
dataset/ETHPy150Open linkedin/simoorg/src/simoorg/atropos.py/sleep_correctly--crossover with--dataset/ETHPy150Open tweepy/tweepy/tweepy/cache.py/RedisCache.get