Automated update of Base Application package.

This commit is contained in:
bot
2025-08-08 02:55:16 +00:00
parent cfd5383f76
commit 00a6217044
5 changed files with 13 additions and 5 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
Metadata-Version: 2.2
Metadata-Version: 2.4
Name: app
Version: 1.0.0
Summary: Base application
+10 -2
View File
@@ -36,7 +36,11 @@ def time_cache(timeout: int = 600):
@wraps(func)
def wrapper(*args, **kwargs):
key = [arg for arg in args if isinstance(arg,(int,str,bool,dict,list,tuple,set))]
key = [
arg
for arg in args
if isinstance(arg, (int, str, bool, dict, list, tuple, set))
]
if not key:
return func(*args, **kwargs)
key = (
@@ -66,7 +70,11 @@ def time_cache_async(timeout: int = 600):
@wraps(func)
async def wrapper(*args, **kwargs):
key = [arg for arg in args if isinstance(arg,(int,str,bool,dict,list,tuple,set))]
key = [
arg
for arg in args
if isinstance(arg, (int, str, bool, dict, list, tuple, set))
]
if not key:
return await func(*args, **kwargs)