Fix a few more typing issues
This commit is contained in:
1 parent
3ffed76884
commit
e7fdbcc834
17 files changed
+38
-23
No files matched your search
+1
-1
@@ -93,7 +93,7 @@ def time_cache(seconds):
|
||||
cache[key] = time.time(), result
|
||||
return result
|
||||
|
||||
wrapper.clear_cache = lambda: cache.clear()
|
||||
wrapper.clear_cache = lambda: cache.clear() # type: ignore[attr-defined]
|
||||
return wrapper
|
||||
|
||||
return decorator
|
||||
|
||||
Reference in new issue
Block a user