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/k/o/kozmic-ci-HEAD/kozmic/accounts/views.py   kozmic-ci(Download)
def sync_memberships():
    ok_to_commit = current_user.sync_memberships_with_github()
 
    if ok_to_commit:
        db.session.commit()