def get(): userapp = USR_Session.query(User).all() for user in userapp: return user
def get_user(username): user = USR_Session.query(User).filter_by(username=User.username).first() return user