def create_run(skips=0, fails=0, passes=0, run_time=0, artifacts=None,
               id=None, session=None, run_at=None):
    run = models.Run()
    if id:
        run.uuid = id
    if run_at:
        run.run_at = run_at
    run.skips = skips
    run.fails = fails
    run.passes = passes
    run.run_time = run_time
    run.artifacts = artifacts
    session = session or get_session()
    with session.begin():
        session.add(run)
    return run
Given a request either
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/create_run--crossover with--dataset/ETHPy150Open tschellenbach/Django-facebook/django_facebook/connect.py/connect_user