def set_client_id(self, client_id):
    'Notify the server that we should be identified as this client ID'
    self.worker_client_id = client_id
    self._update_initial_state()
    for command_handler in self.handler_to_connection_map.keys():
        command_handler.set_client_id(self.handler_initial_state['client_id'])
    return client_id
Notify the server that we should be identified as this client ID
def set_client_id(self, client_id):
    
    self.worker_client_id = client_id
    self._update_initial_state()
    for command_handler in self.handler_to_connection_map.keys():
        command_handler.set_client_id(self.handler_initial_state['client_id'])
    return client_id