Exemple #1
0
def get_model(id):
    return with_session(compose(
        model_model_to_dict,
        query_id(ModelModel, id)
    ))
Exemple #2
0
def get_recommender(id):
    return with_session(compose(
        recommender_model_to_dict,
        query_id(RecommenderModel, id)
    ))
Exemple #3
0
def get_datasource(id):
    return with_session(compose(
        datasource_model_to_dict,
        query_id(DatasourceModel, id)
    ))