From bdf7a8dd6b662c10031760e01294c4134518c4b0 Mon Sep 17 00:00:00 2001 From: Myroslava Nezbrytska Date: Wed, 27 Nov 2024 23:04:54 +0200 Subject: [PATCH] fixed flake --- app/main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 4e226a31..e1f59eca 100644 --- a/app/main.py +++ b/app/main.py @@ -1,9 +1,10 @@ -from typing import Callable +from typing import Callable, Any def cache(func: Callable) -> Callable: result = {} - def wrap(*args): + + def wrap(*args) -> Any: if args in result: print("Getting from cache")