aistore.sdk.archive_config
aistore.sdk.archive_config
Module Contents
Classes
API
Dataclass
Configuration for extracting files from an archive
archpath (str, optional): If the object is an archive, use archpath to extract a single file
from the archive
regex (str, optional): A prefix, suffix, WebDataset key, or general-purpose regular expression
used to match filenames within the archive and select possibly multiple files
mode (ArchiveMode, optional): Specifies the mode of archive extraction when using regex
archpath
mode
regex
Bases: enum.Enum
Archive mode for getting files/objects from an archive in a bucket
See MatchMode enum in the cmn/archive/read.go
PREFIX
REGEXP
SUBSTR
SUFFIX
WDSKEY