def calculate_size(transaction_id, thread_id):
    data_size = 0
    data_size += calculate_size_str(transaction_id)
    data_size += LONG_SIZE_IN_BYTES
    return data_size
Calculates the request payload size
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/transaction_commit_codec.py/calculate_size