code: def __init__(self, redirect: str) -> None:
      self.redirect = redirect
      super().__init__()
  
file_path: superset/superset/explore/exceptions.py
imports: from typing import Optional
  from flask_babel import lazy_gettext
  from superset.commands.exceptions import CommandException, CommandInvalidError, ForbiddenError
label_desc: Use image node_id 1 to create a new WrongEndpointError object from inherited base classes: CommandException with example: obj = WrongEndpointError(redirect)