def calculate_size(name, index, value):
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += INT_SIZE_IN_BYTES
    data_size += calculate_size_data(value)
    return data_size
Set the attributes value
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/list_add_with_index_codec.py/calculate_size--crossover with--dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/suds/sax/attribute.py/Attribute.setValue