Browse Source

HUE-8330 [core] Fixing import name lost during a rebase

Romain Rigaux 7 years ago
parent
commit
bf48a6f1be
2 changed files with 2 additions and 4 deletions
  1. 1 2
      desktop/core/src/desktop/api2.py
  2. 1 2
      desktop/libs/metadata/src/metadata/conf.py

+ 1 - 2
desktop/core/src/desktop/api2.py

@@ -34,8 +34,7 @@ from django.views.decorators.csrf import ensure_csrf_cookie
 from django.views.decorators.http import require_POST
 
 from metadata.conf import has_navigator
-from metadata.navigator_api import search_entities as metadata_search_entities, _highlight
-from metadata.navigator_api import search_entities_interactive as metadata_search_entities_interactive
+from metadata.catalog_api import search_entities as metadata_search_entities, _highlight, search_entities_interactive as metadata_search_entities_interactive
 from notebook.connectors.altus import SdxApi, AnalyticDbApi, DataEngApi
 from notebook.connectors.base import Notebook
 from notebook.views import upgrade_session_properties

+ 1 - 2
desktop/libs/metadata/src/metadata/conf.py

@@ -185,8 +185,7 @@ ALTUS = ConfigSection(
       key="has_wa",
       help=_t("Switch to turn on workload analytics insights."),
       default=True,
-      type=coerce_bool
-    ),
+      type=coerce_bool),
     AUTH_KEY_ID=Config(
       key="auth_key_id",
       help=_t("The name of the key of the service."),