You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by dp...@apache.org on 2023/10/20 07:32:22 UTC
[superset] branch master updated: fix(chore): dashboard requests to database equal the number of slices it has (#24709)
This is an automated email from the ASF dual-hosted git repository.
dpgaspar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to refs/heads/master by this push:
new 75a7431379 fix(chore): dashboard requests to database equal the number of slices it has (#24709)
75a7431379 is described below
commit 75a74313799b70b636c88cf421fd4d1118cc8a61
Author: Stepan <66...@users.noreply.github.com>
AuthorDate: Fri Oct 20 10:32:14 2023 +0300
fix(chore): dashboard requests to database equal the number of slices it has (#24709)
---
superset/daos/dashboard.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/superset/daos/dashboard.py b/superset/daos/dashboard.py
index e6fe6ff25d..cec9e43bea 100644
--- a/superset/daos/dashboard.py
+++ b/superset/daos/dashboard.py
@@ -65,8 +65,6 @@ class DashboardDAO(BaseDAO[Dashboard]):
query = (
db.session.query(Dashboard)
.filter(id_or_slug_filter(id_or_slug))
- .outerjoin(Slice, Dashboard.slices)
- .outerjoin(Slice.table)
.outerjoin(Dashboard.owners)
.outerjoin(Dashboard.roles)
)