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)
Implement L{IRenderable} to allow one L{Element} to be embedded in
dataset/ETHPy150Open box/ClusterRunner/app/slave/cluster_slave.py/ClusterSlave._notify_master_of_state_change--crossover with--dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/web/_element.py/Element.render