def get_model(id): return with_session(compose( model_model_to_dict, query_id(ModelModel, id) ))
def get_recommender(id): return with_session(compose( recommender_model_to_dict, query_id(RecommenderModel, id) ))
def get_datasource(id): return with_session(compose( datasource_model_to_dict, query_id(DatasourceModel, id) ))