def encode_request(name, function):
    client_message = ClientMessage(payload_size=calculate_size(name, function))
    client_message.set_message_type(REQUEST_TYPE)
    client_message.set_retryable(RETRYABLE)
    client_message.append_str(name)
    client_message.append_data(function)
    client_message.update_frame_length()
    return client_message


# Empty decode_response(client_message), this message has no parameters to decode
Returns the absolute name of the module to be imported.
dataset/ETHPy150Open hazelcast/hazelcast-python-client/hazelcast/protocol/codec/atomic_long_alter_codec.py/encode_request--crossover with--dataset/ETHPy150Open tarekziade/boom/boom/util.py/_resolve_name