Serializes a ProjectCatalog model into JSON and compresses it on-the-fly using Gzip.

Methods

save_compressed_ir

save_compressed_ir(catalog: ProjectCatalog, file_path: Union)

Serializes a ProjectCatalog model into JSON and compresses it on-the-fly using Gzip.

ParameterTypeDescription
catalogProjectCatalogThe ProjectCatalog instance to save.
file_pathUnionThe target file path on disk (usually with a .json.gz extension).

Generated with Flude

Copyright © 2026