mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-04-30 06:24:27 +02:00
use python 3.10 built-in types
This commit is contained in:
parent
3f9c306ade
commit
7a9f23e75a
@ -1,7 +1,6 @@
|
||||
import os
|
||||
import orjson
|
||||
import httpx_cache
|
||||
from typing import Dict, List
|
||||
from base64 import b64decode
|
||||
from modules.InternalCache import InternalCache
|
||||
|
||||
@ -51,7 +50,7 @@ class Releases:
|
||||
dict: A dictionary containing assets from each repository
|
||||
"""
|
||||
|
||||
releases: Dict[str, List] = {}
|
||||
releases: dict[str, list] = {}
|
||||
releases['tools'] = []
|
||||
|
||||
try:
|
||||
@ -117,7 +116,7 @@ class Releases:
|
||||
dict: A dictionary containing the contributors from each repository
|
||||
"""
|
||||
|
||||
contributors: Dict[str, List] = {}
|
||||
contributors: dict[str, list] = {}
|
||||
contributors['repositories'] = []
|
||||
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user