예제 #1
0
 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
예제 #2
0
 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)