def get_review_by_repository_id_changeset_revision_user_id(app, repository_id, changeset_revision, user_id):
 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), (app.model.RepositoryReview.user_id == app.security.decode_id(user_id)))).first()

def get_review_by_repository_id_changeset_revision_user_id ( app , repository_id , changeset_revision , user_id ) : 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 ) , ( app . model . RepositoryReview . user_id == app . security . decode_id ( user_id ) ) ) ) . first ( )
get a repository_review from the database via repository id .