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/core/post.py   bnw(Download)
    sub_rec = {'user': user['name'], 'target': target, 'type': target_type}
    adddesc = ''
    if fast or ((yield objs.Subscription.find_one(sub_rec)) is None):
        sub = objs.Subscription(sub_rec)
        sub['jid'] = user['jid']