boundary/relay_get_output.py
def _handle_results(self):
        """
        Call back function to be implemented by the CLI.
        """
        # Only process if we get HTTP result of 200
        if self._api_result.status_code == requests.codes.ok:
            self._relay_output = json.loads(self._api_result.text)
            if self._raw:
                self._dump_json()
            else:
                self._dump_text()
def _handle_results(self):
        """
        Call back function to be implemented by the CLI.
        """
        # Only process if we get HTTP result of 200
        if self._api_result.status_code == requests.codes.ok:
            self._relay_output = json.loads(self._api_result.text)
            if self._raw:
                self._dump_json()
            else:
                self._dump_text()
Call back function to be implemented by the CLI.