You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by su...@apache.org on 2021/02/03 04:25:59 UTC

[superset] 08/09: move log above query

This is an automated email from the ASF dual-hosted git repository.

suddjian pushed a commit to branch dashboard-bootstrap
in repository https://gitbox.apache.org/repos/asf/superset.git

commit f164585f56350e0700a4fb13803399f1d69a1e55
Author: David Aaron Suddjian <aa...@gmail.com>
AuthorDate: Tue Feb 2 20:21:44 2021 -0800

    move log above query
---
 superset/dashboards/dao.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/superset/dashboards/dao.py b/superset/dashboards/dao.py
index 810cb94..2667e69 100644
--- a/superset/dashboards/dao.py
+++ b/superset/dashboards/dao.py
@@ -37,8 +37,8 @@ class DashboardDAO(BaseDAO):
 
     @staticmethod
     def get_charts_for_dashboard(dashboard_id: int) -> List[Slice]:
-        query = db.session.query(Dashboard).filter(Dashboard.id == dashboard_id)
         logger.info("GETTING CHARTS____")
+        query = db.session.query(Dashboard).filter(Dashboard.id == dashboard_id)
         logger.info(query.__dict__)
         return []