GitHub user user1500177 added a comment to the discussion: Attribute not found 
error in superset_config.py

But won't the following method actually work in version 5??(Cu i did it via 
Superset apache 5.0.0 BUT later the issue)
from flask import Flask, redirect

from flask_appbuilder import expose, IndexView

from superset.typing import FlaskResponse

class SupersetDashboardIndexView(IndexView):
    @expose("/")
    def index(self) -> FlaskResponse:
        return redirect("/dashboard/list/")

FAB_INDEX_VIEW = 
f"{SupersetDashboardIndexView.__module__}.{SupersetDashboardIndexView.__name__}"

GitHub link: 
https://github.com/apache/superset/discussions/34530#discussioncomment-13989056

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to