diff --git a/superset/connectors/druid/views.py b/superset/connectors/druid/views.py index 9a33c8de4aff6..7e50536195edc 100644 --- a/superset/connectors/druid/views.py +++ b/superset/connectors/druid/views.py @@ -179,6 +179,7 @@ class DruidClusterModelView(SupersetModelView, DeleteMixin, YamlExportMixin): # description_columns = { 'cache_timeout': _( 'Duration (in seconds) of the caching timeout for this cluster. ' + 'A timeout of 0 indicates that the cache never expires. ' 'Note this defaults to the global timeout if undefined.'), } @@ -256,6 +257,7 @@ class DruidDatasourceModelView(DatasourceModelView, DeleteMixin, YamlExportMixin 'from the datasource list'), 'cache_timeout': _( 'Duration (in seconds) of the caching timeout for this datasource. ' + 'A timeout of 0 indicates that the cache never expires. ' 'Note this defaults to the cluster timeout if undefined.'), } base_filters = [['id', DatasourceFilter, lambda: []]] diff --git a/superset/connectors/sqla/views.py b/superset/connectors/sqla/views.py index b8349e57f91b7..d4149fce37993 100644 --- a/superset/connectors/sqla/views.py +++ b/superset/connectors/sqla/views.py @@ -221,6 +221,7 @@ class TableModelView(DatasourceModelView, DeleteMixin, YamlExportMixin): # noqa 'Jinja templating syntax'), 'cache_timeout': _( 'Duration (in seconds) of the caching timeout for this table. ' + 'A timeout of 0 indicates that the cache never expires. ' 'Note this defaults to the database timeout if undefined.'), } label_columns = { diff --git a/superset/views/core.py b/superset/views/core.py index bddc544371bc6..6d7d7bc2317be 100755 --- a/superset/views/core.py +++ b/superset/views/core.py @@ -268,6 +268,7 @@ class DatabaseView(SupersetModelView, DeleteMixin, YamlExportMixin): # noqa 'tables, this can be expensive and put strain on the system.'), 'cache_timeout': _( 'Duration (in seconds) of the caching timeout for this database. ' + 'A timeout of 0 indicates that the cache never expires. ' 'Note this defaults to the global timeout if undefined.'), } label_columns = {