Example #1
0
 def dyn_users(self):
     return session.object_session(self).query(User)\
             .filter(User.in_group(self))
Example #2
0
 def groups(self):
     return session.object_session(self).query(Group)\
             .filter(Group.has_member(self)).all()