def decode_response(client_message, to_object=None):
parameters = dict(partitions=None)<EOL>partitions_size = client_message.read_int()<EOL>partitions = {}<EOL>for _ in range(<NUM_LIT:0>, partitions_size):<EOL><INDENT>partitions_key = AddressCodec.decode(client_message, to_object)<EOL>partitions_val_size = client_message.read_int()<EOL>partitions_val = []<EOL>for _ in range(<NUM_LIT:0>, partitions_val_size):<EOL><INDENT>partitions_val_item = client_message.read_int()<EOL>partitions_val.append(partitions_val_item)<EOL><DEDENT>partitions[partitions_key] = partitions_val<EOL><DEDENT>parameters['<STR_LIT>'] = partitions<EOL>return parameters<EOL>
Decode response from client message