Пример #1
0
 def get():
     userapp = USR_Session.query(User).all()
     for user in userapp:
         return user
Пример #2
0
 def get_user(username):
     user = USR_Session.query(User).filter_by(username=User.username).first()
     return user