def _notify_master_of_state_change(self, new_state):
        state_url = self._master_api.url('slave', self._slave_id)
        self._network.put_with_digest(state_url, request_params={'slave': {'state': new_state}},
                                      secret=Secret.get(), error_on_failure=True)
Send a state notification to the master. This is used to notify the master of events occurring on the slave
dataset/ETHPy150Open box/ClusterRunner/app/slave/cluster_slave.py/ClusterSlave._notify_master_of_state_change