def calculate_size(name, uuid, callable, partition_id):
    data_size = 0
    data_size += calculate_size_str(name)
    data_size += calculate_size_str(uuid)
    data_size += calculate_size_data(callable)
    data_size += INT_SIZE_IN_BYTES
    return data_size
Calculates the request payload size
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/executor_service_submit_to_partition_codec.py/calculate_size