mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: upgrade black (#19410)
This commit is contained in:
@@ -94,7 +94,8 @@ def view_cache_key(*args: Any, **kwargs: Any) -> str: # pylint: disable=unused-
|
||||
|
||||
|
||||
def memoized_func(
|
||||
key: Callable[..., str] = view_cache_key, cache: Cache = cache_manager.cache,
|
||||
key: Callable[..., str] = view_cache_key,
|
||||
cache: Cache = cache_manager.cache,
|
||||
) -> Callable[..., Any]:
|
||||
"""Use this decorator to cache functions that have predefined first arg.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user