fix #1024
This commit is contained in:
parent
17fa7101bd
commit
87eae72f51
@ -49,6 +49,10 @@ def lru_cache_without_none(maxsize=None, typed=False):
|
||||
if result is not None:
|
||||
return result
|
||||
|
||||
def cache_clear():
|
||||
cache.cache_clear()
|
||||
|
||||
wrapper.cache_clear = cache_clear
|
||||
return wrapper
|
||||
|
||||
return decorator
|
||||
|
Loading…
x
Reference in New Issue
Block a user