ЕП
Size: a a a
ЕП
Б
ЕП
Б
Б
Б
Б
ЕП
Б
Б
Б
ЕП
ЕП
Б
def time_decorator(func):
time_=time.time()
async def wrapper(*args, **kwargs):
nonlocal time_
kwargs['time_'] = int(time_)
await func(*args, **kwargs)
time_ = time.time() - time_
return wrapper
@time_decorator
async def check_user(self, data: dict, inline_query: types.InlineQuery, time_) -> None:
if len(inline_query.query) >= 3:
print(time_) ....
ЕП
def time_decorator(func):
time_=time.time()
async def wrapper(*args, **kwargs):
nonlocal time_
kwargs['time_'] = int(time_)
await func(*args, **kwargs)
time_ = time.time() - time_
return wrapper
@time_decorator
async def check_user(self, data: dict, inline_query: types.InlineQuery, time_) -> None:
if len(inline_query.query) >= 3:
print(time_) ....
Б
Б
Б
СА
D•