File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 22import os
33import pickle
44import threading
5- from collections .abc import Mapping
65from dataclasses import dataclass , replace
76from datetime import datetime , timedelta
87from typing import Any , Optional , Union
@@ -65,7 +64,7 @@ def _update_with_defaults(
6564 return param
6665
6766
68- def set_default_params (** params : Mapping ) -> None :
67+ def set_default_params (** params : Any ) -> None :
6968 """Configure default parameters applicable to all memoized functions."""
7069 # It is kept for backwards compatibility with desperation warning
7170 import warnings
@@ -79,7 +78,7 @@ def set_default_params(**params: Mapping) -> None:
7978 set_global_params (** params )
8079
8180
82- def set_global_params (** params : Mapping ) -> None :
81+ def set_global_params (** params : Any ) -> None :
8382 """Configure global parameters applicable to all memoized functions.
8483
8584 This function takes the same keyword parameters as the ones defined in the
You can’t perform that action at this time.
0 commit comments