mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-05-03 15:44:26 +02:00
preparations for api admin backend
This commit is contained in:
parent
5862853774
commit
a626c5b14b
@ -79,12 +79,9 @@ class Releases:
|
|||||||
|
|
||||||
return content
|
return content
|
||||||
|
|
||||||
async def get_patches_json(self, simplified: bool = False) -> dict:
|
async def get_patches_json(self) -> dict:
|
||||||
"""Get patches.json from revanced-patches repository.
|
"""Get patches.json from revanced-patches repository.
|
||||||
|
|
||||||
Args:
|
|
||||||
simplified (bool): If True, returns a simplified version of patches.json
|
|
||||||
|
|
||||||
Returns:
|
Returns:
|
||||||
dict: Patches available for a given app
|
dict: Patches available for a given app
|
||||||
"""
|
"""
|
||||||
|
14
poetry.lock
generated
14
poetry.lock
generated
@ -484,6 +484,14 @@ category = "dev"
|
|||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.7"
|
python-versions = ">=3.7"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "types-toml"
|
||||||
|
version = "0.10.8"
|
||||||
|
description = "Typing stubs for toml"
|
||||||
|
category = "main"
|
||||||
|
optional = false
|
||||||
|
python-versions = "*"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "typing-extensions"
|
name = "typing-extensions"
|
||||||
version = "4.3.0"
|
version = "4.3.0"
|
||||||
@ -557,7 +565,7 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "1.1"
|
lock-version = "1.1"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "66ede5e2aeb5b3b25bd8e15710520a376af8f979d45a6bb17274260853741c66"
|
content-hash = "3b632a6a403a937ced5e868173235cdaffefe82a167d72c631ab4ec9411bf1a1"
|
||||||
|
|
||||||
[metadata.files]
|
[metadata.files]
|
||||||
aioredis = [
|
aioredis = [
|
||||||
@ -955,6 +963,10 @@ tomli = [
|
|||||||
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
||||||
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
||||||
]
|
]
|
||||||
|
types-toml = [
|
||||||
|
{file = "types-toml-0.10.8.tar.gz", hash = "sha256:b7e7ea572308b1030dc86c3ba825c5210814c2825612ec679eb7814f8dd9295a"},
|
||||||
|
{file = "types_toml-0.10.8-py3-none-any.whl", hash = "sha256:8300fd093e5829eb9c1fba69cee38130347d4b74ddf32d0a7df650ae55c2b599"},
|
||||||
|
]
|
||||||
typing-extensions = [
|
typing-extensions = [
|
||||||
{file = "typing_extensions-4.3.0-py3-none-any.whl", hash = "sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02"},
|
{file = "typing_extensions-4.3.0-py3-none-any.whl", hash = "sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02"},
|
||||||
{file = "typing_extensions-4.3.0.tar.gz", hash = "sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"},
|
{file = "typing_extensions-4.3.0.tar.gz", hash = "sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"},
|
||||||
|
@ -18,6 +18,7 @@ fastapi-cache2 = ">=0.1.9"
|
|||||||
aioredis = ">=2.0.1"
|
aioredis = ">=2.0.1"
|
||||||
redis = ">=4.3.4"
|
redis = ">=4.3.4"
|
||||||
msgpack = ">=1.0.4"
|
msgpack = ">=1.0.4"
|
||||||
|
types-toml = ">=0.10.8"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
mypy = ">=0.971"
|
mypy = ">=0.971"
|
||||||
@ -32,6 +33,7 @@ fastapi-cache2 = ">=0.1.9"
|
|||||||
aioredis = ">=2.0.1"
|
aioredis = ">=2.0.1"
|
||||||
redis = ">=4.3.4"
|
redis = ">=4.3.4"
|
||||||
msgpack = ">=1.0.4"
|
msgpack = ">=1.0.4"
|
||||||
|
types-toml = ">=0.10.8"
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=1.0.0"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user