comicbox.formats.comicvine_api.transform ΒΆ
ComicVine API transform.
Converts a simyan Issue.model_dump(mode="json") dict into the comicbox internal schema. Same explicit-Python style as MetronApiTransform β the source dict has shapes that donβt fit the key-rename MetaSpec pattern (creators with comma-string roles, volume that means series, HTML in description).
ComicVineApiTransform ΒΆ
Bases: BaseTransform
Simyan Issue β comicbox internal schema.
Source code in comicbox/formats/comicvine_api/transform.py
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | |
to_comicbox(data) ΒΆ
Convert a simyan Issue dict into a validated comicbox dict.
Source code in comicbox/formats/comicvine_api/transform.py
181 182 183 184 185 186 187 188 189 190 191 | |