Skip to content

Commit c32290f

Browse files
committed
Fix type annotation
1 parent f906fb8 commit c32290f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/cachier/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def _update_with_defaults(
6565
return param
6666

6767

68-
def set_default_params(**params: Mapping) -> None:
68+
def set_default_params(**params: Any) -> None:
6969
"""Configure default parameters applicable to all memoized functions."""
7070
# It is kept for backwards compatibility with desperation warning
7171
import warnings
@@ -79,7 +79,7 @@ def set_default_params(**params: Mapping) -> None:
7979
set_global_params(**params)
8080

8181

82-
def set_global_params(**params: Mapping) -> None:
82+
def set_global_params(**params: Any) -> None:
8383
"""Configure global parameters applicable to all memoized functions.
8484
8585
This function takes the same keyword parameters as the ones defined in the

0 commit comments

Comments
 (0)