def __init__(self, host_list=None):
    super(GearmanWorker, self).__init__(host_list=host_list)
    self.randomized_connections = None
    self.worker_abilities = {}
    self.worker_client_id = None
    self.command_handler_holding_job_lock = None
    self._update_initial_state()
def __init__(self, host_list=None):
    super(GearmanWorker, self).__init__(host_list=host_list)
    self.randomized_connections = None
    self.worker_abilities = {}
    self.worker_client_id = None
    self.command_handler_holding_job_lock = None
    self._update_initial_state()