-
BaseTransform — Base Transform methods.
comicbox.transforms.base¶
source module comicbox.transforms.base
Transform to and from a format and comicbox format.
Classes
Functions
-
skip_not — Skip if not function.
source skip_not(val: Any) → bool
Skip if not function.
source class BaseTransform(path: Path | None = None)
Base Transform methods.
Initialize instances.
Methods
-
to_comicbox — Transform the data to a normalized comicbox schema.
-
from_comicbox — Transform the data from the comicbox schema to this schema.
source method BaseTransform.to_comicbox(data: Mapping) → MappingProxyType
Transform the data to a normalized comicbox schema.
source method BaseTransform.from_comicbox(data: Mapping) → MappingProxyType
Transform the data from the comicbox schema to this schema.