def type(self):
    types = [result.type() for result in self.results]
    return dt.highest_precedence(types)
def type(self):
    types = [result.type() for result in self.results]
    return dt.highest_precedence(types)