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/d/p/dpxdt-HEAD/tests/site_diff_test.py   dpxdt(Download)
def create_build():
    """Creates a new build and returns its ID."""
    build = models.Build(name='My build')
    db.session.add(build)
    db.session.commit()