def abort_config(self) -> ScrapliCfgResponse:
    response = self._pre_abort_config(session_or_config_file=bool(self.candidate_config_filename))
    abort_result = self._delete_candidate_config()
    self._reset_config_session()
    return self._post_abort_config(response=response, scrapli_responses=[abort_result])
def abort_config(self) -> ScrapliCfgResponse:
    response = self._pre_abort_config(session_or_config_file=bool(self.candidate_config_filename))
    abort_result = self._delete_candidate_config()
    self._reset_config_session()
    return self._post_abort_config(response=response, scrapli_responses=[abort_result])