ZipFileEntry#

class caf.cvt.model_config.ZipFileEntry(*, zip_path, file_path=None, output_path=None)[source]#

Bases: BaseConfig

Configuration for a file within a zip archive.

Attributes

model_config

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

zip_path

Path to the zip file

file_path

Path within the zip file.

output_path

Output path for the extracted file

Methods

Attributes Documentation

Parameters:
  • zip_path (Path)

  • file_path (str | None)

  • output_path (Path | None)

model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

zip_path: Path[source]#

Path to the zip file

file_path: str | None[source]#

Path within the zip file.

output_path: Path | None[source]#

Output path for the extracted file