Remove genres from ComicSeries as it is no longer required with the new cache system

This commit is contained in:
Mizaki 2023-09-22 23:15:04 +01:00
parent 360a9e6308
commit 5874f3bcaf
4 changed files with 0 additions and 6 deletions

View File

@ -79,7 +79,6 @@ class ComicSeries:
image_url: str
publisher: str
start_year: int | None
genres: list[str]
format: str | None
def copy(self) -> ComicSeries:

View File

@ -489,7 +489,6 @@ class ComicVineTalker(ComicTalker):
name=record["name"],
publisher=pub_name,
start_year=start_year,
genres=[],
format=None,
)

View File

@ -14,7 +14,6 @@ search_results = [
publisher="test",
start_year=0,
aliases=[],
genres=[],
format=None,
),
dict(
@ -27,7 +26,6 @@ search_results = [
publisher="test",
start_year=0,
aliases=[],
genres=[],
format=None,
),
]

View File

@ -166,7 +166,6 @@ comic_series_result = comicapi.genericmetadata.ComicSeries(
image_url=cv_volume_result["results"]["image"]["super_url"],
publisher=cv_volume_result["results"]["publisher"]["name"],
start_year=int(cv_volume_result["results"]["start_year"]),
genres=[],
format=None,
)
date = utils.parse_date_str(cv_issue_result["results"]["cover_date"])
@ -203,7 +202,6 @@ cv_md = comicapi.genericmetadata.GenericMetadata(
day=date[0],
issue_count=cv_volume_result["results"]["count_of_issues"],
volume=None,
genres=[],
language=None,
description=cv_issue_result["results"]["description"],
volume_count=None,