def _get_temp_path(p: str, conf: ParamDict) -> str: if p is not None and p != "": return p return conf.get_or_throw(FUGUE_TUNE_TEMP_PATH, str) # TODO: remove hard code
def _get_temp_path(p: str, conf: ParamDict) -> str: if p is not None and p != "": return p return conf.get_or_throw(TUNE_TEMP_PATH, str)