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_update(user, post_throttle):
        throttledoc = {'user': user, 'time': time.time()}
        if post_throttle:  # TODO: заменить на upsert
            _ = yield objs.Throttle.mupdate({'user': user}, throttledoc)
        else: