Skip to content

Commit 2e4b69b

Browse files
author
Fabien Coelho
committed
add type hint for mypy
1 parent 6409f38 commit 2e4b69b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CacheToolsUtils.py

+1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ def cacheFunctions(
469469
# NOTE obviously this only works if parameters are json-serializable…
470470
def json_key(*args, **kwargs) -> str:
471471
"""JSON serialization of arguments."""
472+
val: Any
472473
if kwargs: # object
473474
if args:
474475
val = {"*": args, "**": kwargs}

0 commit comments

Comments
 (0)