load_tar¶
- load_tar(location: str, key: str) TarFile [source]¶
Load key as tar archive from specified location.
Method will load from the S3 bucket if the location begins with the s3:// protocol, otherwise it assumes the location is a local path.
Method currently only supports xz compression.
- Parameters:
location – Object location (local path or S3 bucket).
key – Object key ending in .tar.xz.
- Returns:
Loaded tar archive.