Skip to content

Commit 7f29e2d

Browse files
committed
Remove optional from deprecated
1 parent 4a359ec commit 7f29e2d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

root/app/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class Image(BaseModel):
9999
version_timestamp: str
100100
category: str
101101
stable: bool
102-
deprecated: bool | None
102+
deprecated: bool
103103
stars: int
104104
tags: list[Tag]
105105
architectures: list[Architecture]

root/app/updater.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def get_image(repo):
152152
if "Internal" in categories:
153153
return None
154154
tags, stable = get_tags(readme_vars)
155-
deprecated = readme_vars.get("project_deprecation_status", None)
155+
deprecated = readme_vars.get("project_deprecation_status", False)
156156
version, version_timestamp = gh.get_last_stable_release(repo)
157157
config = Config(
158158
application_setup=f"{repo.html_url}?tab=readme-ov-file#application-setup",

0 commit comments

Comments
 (0)