'Updates abstract SpinnakerStatus attributes from a Kato response.
This is called by the base class.'

def _update_response_from_json(self, doc):

    status = doc['status']
    failed = status['failed']
    self.current_state = status['phase']
    self._bind_exception_details(None)
    if status['completed']:
        self.__finished = True
        self.__failed = failed
    if failed:
        self._bind_exception_details(status['status'])
