I am trying to convert a subquery into a ~exists() query.
~exists()
def validate_fields(self, fields): fields_union = union(*[select([literal(field)])