def METHOD_NAME(self, index, using="default"):
    opensearch = get_connection(using)
    raw = opensearch.indices.get_mapping(index=index)
    _, raw = raw.popitem()
    self._update_from_dict(raw["mappings"])