def get_repository_by_name(app, name):
 return get_repository_query(app).filter_by(name=name).first()

def get_repository_by_name ( app , name ) : return get_repository_query ( app ) . filter_by ( name = name ) . first ( )
get a repository from the database via name .