def calculate_size(timeout, durability, transaction_type, thread_id):
    data_size = 0
    data_size += LONG_SIZE_IN_BYTES
    data_size += INT_SIZE_IN_BYTES
    data_size += INT_SIZE_IN_BYTES
    data_size += LONG_SIZE_IN_BYTES
    return data_size
Calculates the request payload size
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/transaction_create_codec.py/calculate_size