def __init__(self, search):
    self._base = self
    self._search = search
    self._params = {'aggs': {}}
def __init__(self, search):
    self._base = self
    self._search = search
    self._params = {'aggs': {}}