@classmethod<EOL><INDENT>def query_by_admin(cls, admin):<DEDENT>
return cls.query.filter_by(<EOL>admin_type=resolve_admin_type(admin), admin_id=admin.get_id())<EOL>
Get all groups for for a specific admin.