mirror of
https://github.com/apache/superset.git
synced 2026-04-22 01:24:43 +00:00
chore: upgrade black (#19410)
This commit is contained in:
@@ -355,7 +355,10 @@ def safe_proxy(func: Callable[..., Any], *args: Any, **kwargs: Any) -> Any:
|
||||
return_value = json.loads(json.dumps(return_value))
|
||||
except TypeError as ex:
|
||||
raise SupersetTemplateException(
|
||||
_("Unsupported return value for method %(name)s", name=func.__name__,)
|
||||
_(
|
||||
"Unsupported return value for method %(name)s",
|
||||
name=func.__name__,
|
||||
)
|
||||
) from ex
|
||||
|
||||
return return_value
|
||||
|
||||
Reference in New Issue
Block a user