mirror of
https://github.com/linuxserver/docker-lsio-api.git
synced 2026-02-20 08:40:34 +08:00
Remove optional from deprecated
This commit is contained in:
parent
4a359ec76e
commit
7f29e2db0a
@ -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]
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user