class_docstr: The base views for Superset!
class_docstr_tok: ["The","base","views","for","Superset","!"]
docstr: Assigns a list of found users to the given role.
docstr_tok: ["Assigns","a","list","of","found","users","to","the","given","role","."]
code: def my_queries(self) -> FlaskResponse:
      """Assigns a list of found users to the given role."""
      logger.warning(
          "This endpoint is deprecated and will be removed in the next major release"
      )
      return redirect(
          f"/savedqueryview/list/?_flt_0_user={get_user_id()}"
      )
  
imports: import logging
  import simplejson
  from flask import redirect, request, Response
  from flask_appbuilder import expose
  from flask_appbuilder.models.sqla.interface import SQLAInterface
  from flask_appbuilder.security.decorators import has_access, has_access_api
  from flask_babel import gettext
  from sqlalchemy import and_
  from superset import db
  from superset.constants import MODEL_VIEW_RW_METHOD_PERMISSION_MAP, RouteMethod
  from superset.models.sql_lab import Query, SavedQuery, TableSchema, TabState
  from superset.superset_typing import FlaskResponse
  from superset.utils import core
  from superset.utils.core import get_user_id
  from superset.views.base import BaseSupersetView, DeleteMixin, json_success, SupersetModelView
label_desc: Use image node_id 1 for calling the SqlLab obj's underlying member method code with example usage: obj.my_queries() and returns: redirect