mirror of
https://github.com/apache/superset.git
synced 2026-05-07 08:54:23 +00:00
chore: proper current_app.config proxy usage (#34345)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
6c9cda758a
commit
cb27d5fe8d
@@ -2584,7 +2584,7 @@ class TestDashboardApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCas
|
||||
return query.filter_by(name="Alpha")
|
||||
|
||||
with patch.dict(
|
||||
"superset.views.filters.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{"EXTRA_RELATED_QUERY_FILTERS": {"role": _base_filter}},
|
||||
):
|
||||
uri = "api/v1/dashboard/related/roles" # noqa: F541
|
||||
|
||||
Reference in New Issue
Block a user