run-cache 2.3.0__tar.gz → 2.3.2__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.3.0 → run_cache-2.3.2}/PKG-INFO +3 -3
- run_cache-2.3.2/src/dbt_run_cache/_version.py +1 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/run_cache.py +15 -4
- run_cache-2.3.0/src/dbt_run_cache/_version.py +0 -1
- {run_cache-2.3.0 → run_cache-2.3.2}/.gitignore +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/pyproject.toml +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/__init__.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/_typing.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/__init__.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/base.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/bigquery.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/clock.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/common.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/databricks.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/postgres.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/adapters/snowflake.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/__init__.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/grpc.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/oauth_clients.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/sso.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/sso_server.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/auth/utils.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/cli/__init__.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/cli/auth.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/cli/explainer.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/cli/main.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/config.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/decision_logger.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/dev_cloner.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/dispatcher.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/errors.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/events.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/git.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/grpc/__init__.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/grpc/client.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/grpc/interceptors.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/plugin.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/profiles.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/relation.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/runner.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/selector.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/session.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/system_info.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/utils.py +0 -0
- {run_cache-2.3.0 → run_cache-2.3.2}/src/dbt_run_cache/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: run-cache
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.2
|
|
4
4
|
Summary: dbt plugin that skips redundant model executions by caching results from previous runs
|
|
5
5
|
Project-URL: Homepage, https://runcache.com
|
|
6
6
|
License: Copyright (c) 2026 Fivetran, Inc.
|
|
@@ -46,8 +46,8 @@ Requires-Dist: humanize
|
|
|
46
46
|
Requires-Dist: protobuf>=4.0.0
|
|
47
47
|
Requires-Dist: pyperclip
|
|
48
48
|
Requires-Dist: pytimeparse2
|
|
49
|
-
Requires-Dist: query-cache-common==1.
|
|
50
|
-
Requires-Dist: query-cache-protobuf==1.
|
|
49
|
+
Requires-Dist: query-cache-common==1.6.0
|
|
50
|
+
Requires-Dist: query-cache-protobuf==1.5.0
|
|
51
51
|
Requires-Dist: rich
|
|
52
52
|
Requires-Dist: ruamel-yaml
|
|
53
53
|
Requires-Dist: sqlglot>=27.6.1
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.2"
|
|
@@ -852,7 +852,7 @@ class RunCache:
|
|
|
852
852
|
labels=self._get_request_labels(node),
|
|
853
853
|
clone_time_travel_limit=self._clone_time_travel_limit,
|
|
854
854
|
clone_table_properties=self._get_table_properties(node),
|
|
855
|
-
clone_chain_depth_limit=self.
|
|
855
|
+
clone_chain_depth_limit=self.clone_chain_depth_limit,
|
|
856
856
|
)
|
|
857
857
|
|
|
858
858
|
def _emit_enriched_sql_prepared_telemetry(
|
|
@@ -986,7 +986,7 @@ class RunCache:
|
|
|
986
986
|
labels=self._get_request_labels(node),
|
|
987
987
|
clone_time_travel_limit=self._clone_time_travel_limit,
|
|
988
988
|
clone_table_properties=self._get_table_properties(node),
|
|
989
|
-
clone_chain_depth_limit=self.
|
|
989
|
+
clone_chain_depth_limit=self.clone_chain_depth_limit,
|
|
990
990
|
), EnrichmentTimings(last_modified_duration_ms=last_modified_duration_ms)
|
|
991
991
|
|
|
992
992
|
view_traversal_start = perf_counter()
|
|
@@ -1045,7 +1045,7 @@ class RunCache:
|
|
|
1045
1045
|
labels=self._get_request_labels(node),
|
|
1046
1046
|
clone_time_travel_limit=self._clone_time_travel_limit,
|
|
1047
1047
|
clone_table_properties=self._get_table_properties(node),
|
|
1048
|
-
clone_chain_depth_limit=self.
|
|
1048
|
+
clone_chain_depth_limit=self.clone_chain_depth_limit,
|
|
1049
1049
|
), EnrichmentTimings(
|
|
1050
1050
|
view_traversal_duration_ms=view_traversal_duration_ms,
|
|
1051
1051
|
last_modified_duration_ms=last_modified_duration_ms,
|
|
@@ -1070,7 +1070,7 @@ class RunCache:
|
|
|
1070
1070
|
labels=self._get_request_labels(node),
|
|
1071
1071
|
clone_source_table_type=clone_source_table_type,
|
|
1072
1072
|
table_properties=self._get_table_properties(node),
|
|
1073
|
-
clone_chain_depth_limit=self.
|
|
1073
|
+
clone_chain_depth_limit=self.clone_chain_depth_limit,
|
|
1074
1074
|
)
|
|
1075
1075
|
|
|
1076
1076
|
@staticmethod
|
|
@@ -1246,6 +1246,17 @@ class RunCache:
|
|
|
1246
1246
|
def total_time_saved_ms(self) -> int:
|
|
1247
1247
|
return self._total_time_saved_ms
|
|
1248
1248
|
|
|
1249
|
+
@property
|
|
1250
|
+
def clone_chain_depth_limit(self) -> t.Optional[int]:
|
|
1251
|
+
default_limit = self._adapter_ext.CLONE_CHAIN_DEPTH_LIMIT
|
|
1252
|
+
|
|
1253
|
+
# in prod, we set 1 less than the actual limit (which may force an execute instead of a clone)
|
|
1254
|
+
# this ensures that there is always at least 1 more clone left for a dev clone
|
|
1255
|
+
if self._defer_enabled and self._profiles.is_defer_to_profile and default_limit is not None:
|
|
1256
|
+
return max(default_limit - 1, 0)
|
|
1257
|
+
|
|
1258
|
+
return default_limit
|
|
1259
|
+
|
|
1249
1260
|
|
|
1250
1261
|
class _DataTestAdapterProxy:
|
|
1251
1262
|
def __init__(
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.3.0"
|
|
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
|