Remove optional from deprecated

This commit is contained in:
quietsy 2025-02-09 18:51:59 +02:00
parent 4a359ec76e
commit 7f29e2db0a
2 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ class Image(BaseModel):
version_timestamp: str
category: str
stable: bool
deprecated: bool | None
deprecated: bool
stars: int
tags: list[Tag]
architectures: list[Architecture]

View File

@ -152,7 +152,7 @@ def get_image(repo):
if "Internal" in categories:
return None
tags, stable = get_tags(readme_vars)
deprecated = readme_vars.get("project_deprecation_status", None)
deprecated = readme_vars.get("project_deprecation_status", False)
version, version_timestamp = gh.get_last_stable_release(repo)
config = Config(
application_setup=f"{repo.html_url}?tab=readme-ov-file#application-setup",