mirror of
https://github.com/apache/superset.git
synced 2026-04-21 09:04:38 +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
@@ -231,7 +231,7 @@ class ApiOwnersTestCaseMixin:
|
||||
return query.filter_by(username="alpha")
|
||||
|
||||
with patch.dict(
|
||||
"superset.views.filters.current_app.config",
|
||||
"flask.current_app.config",
|
||||
{"EXTRA_RELATED_QUERY_FILTERS": {"user": _base_filter}},
|
||||
):
|
||||
uri = f"api/v1/{self.resource_name}/related/owners"
|
||||
|
||||
Reference in New Issue
Block a user