def get_run_by_id(id, session=None):
    session = session or get_session()
    run = db_utils.model_query(models.Run, session).filter_by(id=id).first()
    return run
start an API console for CONNECTION
dataset/ETHPy150Open openstack-infra/subunit2sql/subunit2sql/db/api.py/get_run_by_id--crossover with--dataset/ETHPy150Open Shopify/shopify_python_api/scripts/shopify_api.py/Tasks.console