comicbox.transforms.spec

source module comicbox.transforms.spec

Transform maps.

Classes

  • MetaSpec Define a key mapping and transform functions.

Functions

source class MetaSpec()

Define a key mapping and transform functions.

source create_specs_to_comicbox(*metaspecs: MetaSpec, format_root_keypath: str = ‘’, comicbox_root_keypath: str = ComicboxSchemaMixin.ROOT_KEYPATH)MappingProxyType[str, dict[str, Coalesce] | Coalesce]

Create to comicbox specs.

source create_specs_from_comicbox(*metaspecs: MetaSpec, format_root_keypath: str = ‘’, comicbox_root_keypath: str = ComicboxSchemaMixin.ROOT_KEYPATH)MappingProxyType[str, dict[str, dict[str, Coalesce]] | dict[str, Coalesce] | Coalesce]

Create from comicbox specs.