def __init__(self, meta=None, **kwargs): super(Geocomplete, self).__init__(meta, **kwargs) if self.index in compute_index_name(self.index): self._doc_type.index = compute_index_name(self.index)
def __init__(self, meta=None, **kwargs): super(Company, self).__init__(meta, **kwargs) self._doc_type.index = compute_index_name(self.index)
def __init__(self, meta=None, **kwargs): super(Job, self).__init__(meta, **kwargs) self._doc_type.index = compute_index_name(self.index)