def list(interview_id): return session.query(Recording).filter_by(interview_id=interview_id)
def get(**kwargs): try: return session.query(Interview).filter_by(**kwargs).one() except orm_exc.NoResultFound: raise APIException("", "")
def list(interview_id): return session.query(Question).all()