def get_reviews_by_repository_id_changeset_revision(app, repository_id, changeset_revision):
 sa_session = app.model.context.current
 return sa_session.query(app.model.RepositoryReview).filter(and_((app.model.RepositoryReview.repository_id == app.security.decode_id(repository_id)), (app.model.RepositoryReview.changeset_revision == changeset_revision))).all()

def get_reviews_by_repository_id_changeset_revision ( app , repository_id , changeset_revision ) : sa_session = app . model . context . current return sa_session . query ( app . model . RepositoryReview ) . filter ( and_ ( ( app . model . RepositoryReview . repository_id == app . security . decode_id ( repository_id ) ) , ( app . model . RepositoryReview . changeset_revision == changeset_revision ) ) ) . all ( )
get all repository_reviews from the database via repository id and changeset_revision .