def get_indexes(self, default_indexes=DEFAULT_INDEXES):
        for action, value in reversed(self.steps):
            if action == 'indexes':
                return list(value)

        if self.type is not None:
            indexes = self.type.get_index()
            if isinstance(indexes, string_types):
                indexes = [indexes]
            return indexes

        return default_indexes
Calculates the request payload size
dataset/ETHPy150Open mozilla/elasticutils/elasticutils/__init__.py/S.get_indexes--crossover with--dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/list_add_with_index_codec.py/calculate_size