|
@@ -35,7 +35,7 @@
|
|
|
from metastore.views import has_write_access
|
|
from metastore.views import has_write_access
|
|
|
from notebook.conf import ENABLE_NOTEBOOK_2, ENABLE_QUERY_ANALYSIS, ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_SQL_INDEXER, \
|
|
from notebook.conf import ENABLE_NOTEBOOK_2, ENABLE_QUERY_ANALYSIS, ENABLE_QUERY_BUILDER, ENABLE_QUERY_SCHEDULING, ENABLE_SQL_INDEXER, \
|
|
|
get_ordered_interpreters, SHOW_NOTEBOOKS
|
|
get_ordered_interpreters, SHOW_NOTEBOOKS
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
if sys.version_info[0] > 2:
|
|
if sys.version_info[0] > 2:
|
|
|
from django.utils.translation import gettext as _
|
|
from django.utils.translation import gettext as _
|
|
|
else:
|
|
else:
|
|
@@ -120,6 +120,7 @@
|
|
|
window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
|
|
window.AUTO_UPLOAD_OPTIMIZER_STATS = '${ OPTIMIZER.AUTO_UPLOAD_STATS.get() }' === 'True';
|
|
|
|
|
|
|
|
window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
|
|
window.HAS_GIST = '${ ENABLE_GIST.get() }' === 'True';
|
|
|
|
|
+ window.HAS_LINK_SHARING = '${ ENABLE_LINK_SHARING.get() }' === 'True';
|
|
|
window.HAS_CONNECTORS = '${ has_connectors() }' === 'True';
|
|
window.HAS_CONNECTORS = '${ has_connectors() }' === 'True';
|
|
|
|
|
|
|
|
## In the past was has_workload_analytics()
|
|
## In the past was has_workload_analytics()
|