def __init__(self, parent, metrics, by, having):
    self.parent = parent
    self.op = parent.op()
    self.metrics = metrics
    self.by = by
    self.having = having
def __init__(self, parent, metrics, by, having):
    self.parent = parent
    self.op = parent.op()
    self.metrics = metrics
    self.by = by
    self.having = having