Scanfile

Properties


Methods

update

update(
   name: Optional[str] = None, object_name: Optional[str] = None,
   large: Optional[bool] = None
)

Description

Update this scan file.

Examples

script.update(object_name="another-path-to-script")

delete

delete()

Description

Delete this scan file

Examples

script.delete()

download

download(
   target_path: str = './', force_replace: bool = False
)

Description

Download an experiment's artifact to a given target_path.

Examples

script.download("myDir")
file_list = os.path.listdir("myDir")
print(file_list)
>>> ["saved_model.zip"]

Arguments

  • target_path (str, optional) : Path to download the file to, default to cwd. Defaults to './'.

  • force_replace : (bool, optional): Replace an existing file if exists. Defaults to False.