squirrel.catalog.yaml

Module Contents

Functions

catalog2yamlcatalog(catobj: squirrel.catalog.Catalog) → YamlCatalog

Convert a Catalog into a serializable catalog DTO

prep_yaml() → ruamel.yaml.YAML

Returns a ruamel.yaml.YAML instance with preregistered classes of squirrel catalogs.

yamlcatalog2catalog(yamlcat: YamlCatalog) → squirrel.catalog.Catalog

Convert a serializable catalog DTO into a Catalog

squirrel.catalog.yaml.catalog2yamlcatalog(catobj: squirrel.catalog.Catalog)YamlCatalog

Convert a Catalog into a serializable catalog DTO

squirrel.catalog.yaml.prep_yaml()ruamel.yaml.YAML

Returns a ruamel.yaml.YAML instance with preregistered classes of squirrel catalogs.

squirrel.catalog.yaml.yamlcatalog2catalog(yamlcat: YamlCatalog)squirrel.catalog.Catalog

Convert a serializable catalog DTO into a Catalog