dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file¶
Module Contents¶
Functions¶
Config: path (str): absolute path on the VM to fetch |
|
Config: path (str|List[str]): the url to download from dest (str|List[str])): file name of the downloaded file multi (bool) : optional. if path and dest are lists providing information of multiple files. defaults to False gives (List[int]): optional. defaults to [0]. which files are directly returned to the metric. if len==1, str is returned; else, list is returned. |
|
Config: path (str): absolute path on the VM to fetch dest (str): file name of the downloaded file multi (bool) : optional. if path and dest are lists providing information of multiple files. defaults to False gives (List[int]): optional. defaults to [0]. which files are directly returned to the metric. if len==1, str is returned; else, list is returned. only support for single file now: time_suffix(bool): optional. defaults to False. if True, append the current time in required format. time_format(str): optional. defaults to “%Y%m%d_%H%M%S”. format of the time suffix. |
|
Config: path (str): relative path in cache dir |
Data¶
API¶
- dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file.logger¶
‘getLogger(…)’
- dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file.get_content_from_vm_file(env, config: Dict[str, Any]) Any¶
Config: path (str): absolute path on the VM to fetch
- dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file.get_cloud_file(env, config: Dict[str, Any]) Union[str, List[str]]¶
Config: path (str|List[str]): the url to download from dest (str|List[str])): file name of the downloaded file multi (bool) : optional. if path and dest are lists providing information of multiple files. defaults to False gives (List[int]): optional. defaults to [0]. which files are directly returned to the metric. if len==1, str is returned; else, list is returned.
- dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file.get_vm_file(env, config: Dict[str, Any]) Union[Optional[str], List[Optional[str]]]¶
Config: path (str): absolute path on the VM to fetch dest (str): file name of the downloaded file multi (bool) : optional. if path and dest are lists providing information of multiple files. defaults to False gives (List[int]): optional. defaults to [0]. which files are directly returned to the metric. if len==1, str is returned; else, list is returned. only support for single file now: time_suffix(bool): optional. defaults to False. if True, append the current time in required format. time_format(str): optional. defaults to “%Y%m%d_%H%M%S”. format of the time suffix.
- dockyard_rl.experience.cua.vendor.desktop_env_eval.getters.file.get_cache_file(env, config: Dict[str, str]) str¶
Config: path (str): relative path in cache dir