-
MetaSpec — Define a key mapping and transform functions.
comicbox.transforms.spec¶
source module comicbox.transforms.spec
Transform maps.
Classes
Functions
-
create_specs_to_comicbox — Create to comicbox specs.
-
create_specs_from_comicbox — Create from comicbox specs.
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.