sebastianliebscher commented on code in PR #25948:
URL: https://github.com/apache/superset/pull/25948#discussion_r1390160525
##########
superset/views/base.py:
##########
@@ -139,15 +141,11 @@ def get_error_msg() -> str:
def json_error_response(
- msg: Optional[str] = None,
+ msg: str | None = None,
status: int = 500,
- payload: Optional[dict[str, Any]] = None,
- link: Optional[str] = None,
Review Comment:
there is a single usage here
https://github.com/apache/superset/blob/d95c200e6931e2bc14b0448e3da265d8ebedf249/superset/views/core.py#L166
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]