run-cache 2.1.1__tar.gz → 2.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {run_cache-2.1.1 → run_cache-2.2.0}/PKG-INFO +1 -1
- run_cache-2.2.0/src/dbt_run_cache/_version.py +1 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/plugin.py +15 -5
- run_cache-2.1.1/src/dbt_run_cache/_version.py +0 -1
- {run_cache-2.1.1 → run_cache-2.2.0}/.gitignore +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/pyproject.toml +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/__init__.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/_typing.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/__init__.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/base.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/bigquery.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/clock.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/common.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/databricks.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/postgres.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/adapters/snowflake.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/__init__.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/grpc.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/oauth_clients.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/sso.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/sso_server.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/auth/utils.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/__init__.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/auth.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/explainer.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/cli/main.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/config.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/decision_logger.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/dev_cloner.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/dispatcher.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/errors.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/events.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/git.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/__init__.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/client.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/grpc/interceptors.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/profiles.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/relation.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/run_cache.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/runner.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/selector.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/session.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/system_info.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/utils.py +0 -0
- {run_cache-2.1.1 → run_cache-2.2.0}/src/dbt_run_cache/version.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.0"
|
|
@@ -222,11 +222,21 @@ class RunCachePlugin(dbtPlugin):
|
|
|
222
222
|
pass
|
|
223
223
|
return
|
|
224
224
|
|
|
225
|
-
# Important: These imports must come after the disabled check to avoid importing local modules that may have side effects when the plugin is disabled
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
# Important: These imports must come after the main disabled check to avoid importing local modules that may have side effects when the plugin is disabled
|
|
226
|
+
turbo_disabled_value = (
|
|
227
|
+
os.getenv("RUN_CACHE_TURBO_DISABLED") or os.getenv("DBT_RUN_CACHE_TURBO_DISABLED") or ""
|
|
228
|
+
)
|
|
229
|
+
turbo_explicitly_disabled = turbo_disabled_value.lower() in _DISABLED_VALUES
|
|
230
|
+
logger = logging.getLogger(__name__)
|
|
231
|
+
|
|
232
|
+
if not turbo_explicitly_disabled:
|
|
233
|
+
try:
|
|
234
|
+
install_turbo()
|
|
235
|
+
except Exception:
|
|
236
|
+
logger.debug("Failed to install turbo", exc_info=True)
|
|
237
|
+
else:
|
|
238
|
+
# A user may choose to explicitly disable run-cache-turbo to troubleshoot cache-related errors
|
|
239
|
+
logger.debug("Run cache turbo is disabled")
|
|
230
240
|
|
|
231
241
|
from dbt_run_cache import events
|
|
232
242
|
from dbt_run_cache.version import __version__
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.1.1"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|