Skip to content

Commit

Permalink
fixed flake
Browse files Browse the repository at this point in the history
  • Loading branch information
mnezbrytska committed Nov 27, 2024
1 parent 6ea01e7 commit bdf7a8d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/main.py
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit bdf7a8d

Please sign in to comment.