From 18f8355bf78fc2dee5d47765ddfb7d9d851ccc52 Mon Sep 17 00:00:00 2001 From: IrynaBrenko Date: Mon, 21 Oct 2024 13:04:22 +0300 Subject: [PATCH] fix anotation --- app/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/main.py b/app/main.py index f086aa58..b14bcf1f 100644 --- a/app/main.py +++ b/app/main.py @@ -4,10 +4,8 @@ def cache(func: Callable) -> Callable: cache_dict = {} - @wraps(func) def inner(*args: Hashable, **kwargs: Hashable) -> Any: - cache_key = (args, tuple(kwargs.items())) if cache_key in cache_dict: print("Getting from cache")