module
dataset.py
class
DataDirectory
property
created_atproperty
created_byproperty
descriptionproperty
fqnproperty
metadataproperty
nameproperty
storage_rootproperty
updated_atfunction
add_files
DataDirectory
.
Args:
file_paths
(List[truefoundry.ml.DataDirectoryPath], optional): A list of pairs of (source path, destination path) to add files and folders to the DataDirectory contents. The first member of the pair should be a file or directory path and the second member should be the path inside the artifact contents to upload to.function
download
download_path
: Relative source path to the desired files.path
: Absolute path of the local filesystem destination directory to which to download the specified files. This directory must already exist. If unspecified, the files will either be downloaded to a new uniquely-named directory.overwrite
: if to overwrite the files at/inside dst_path
if they existstr
: Absolute path of the local filesystem location containing the desired files or folder.classmethod
from_fqn
fqn
(str): Fully qualified name of the data directory.DataDirectory
: An DataDirectory instance of the artifactfunction
list_files
path
: The path of directory in data_directory, from which the files are to be listed.str
: Absolute path of the local filesystem location containing the desired files or folder.function
update
class
DataDirectoryPath