def encode_request(timeout, durability, transaction_type, thread_id):
    client_message = ClientMessage(payload_size=calculate_size(timeout, durability, transaction_type, thread_id))
    client_message.set_message_type(REQUEST_TYPE)
    client_message.set_retryable(RETRYABLE)
    client_message.append_long(timeout)
    client_message.append_int(durability)
    client_message.append_int(transaction_type)
    client_message.append_long(thread_id)
    client_message.update_frame_length()
    return client_message
Parses text in ReST format and returns a node with the content.
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/transaction_create_codec.py/encode_request--crossover with--dataset/ETHPy150Open reviewboard/rbtools/docs/rbtools/_ext/rbt_commands.py/parse_text