def _set_relation(self, v): v = convert.to_relation(v) self.last_relation = v if self.expression: self._handle_relation()
def is_relation(s): convert.to_relation(s)