Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(1) | Call(1) | Derive(0) | Import(0)
src/b/n/bnw-HEAD/bnw/handlers/command_post.py bnw(Download)
def throttle_check(user): post_throttle = yield objs.Throttle.find_one({'user': user}) if post_throttle and post_throttle['time'] >= (time.time() - 5): raise BnwResponse('You are sending messages too fast!') defer.returnValue(post_throttle)