def __gt__(self, other):
     yield '?>{}={}'.format(self, cast_to_api(other))
 def __eq__(self, other):
     yield '?={}={}'.format(self, cast_to_api(other))