run-cache 2.0.2__tar.gz → 2.1.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.0.2 → run_cache-2.1.0}/PKG-INFO +1 -1
- run_cache-2.1.0/src/dbt_run_cache/_version.py +1 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/config.py +1 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/run_cache.py +6 -2
- run_cache-2.0.2/src/dbt_run_cache/_version.py +0 -1
- {run_cache-2.0.2 → run_cache-2.1.0}/.gitignore +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/pyproject.toml +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/__init__.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/_typing.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/__init__.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/base.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/bigquery.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/clock.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/common.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/databricks.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/postgres.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/adapters/snowflake.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/__init__.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/grpc.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/oauth_clients.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/sso.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/sso_server.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/auth/utils.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/cli/__init__.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/cli/auth.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/cli/explainer.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/cli/main.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/decision_logger.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/dev_cloner.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/dispatcher.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/errors.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/events.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/git.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/grpc/__init__.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/grpc/client.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/grpc/interceptors.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/plugin.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/profiles.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/relation.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/runner.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/selector.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/session.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/system_info.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/utils.py +0 -0
- {run_cache-2.0.2 → run_cache-2.1.0}/src/dbt_run_cache/version.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.1.0"
|
|
@@ -107,6 +107,7 @@ class RunCacheConfig:
|
|
|
107
107
|
default=FRESHNESS_TOLERANCE_DEFAULT, metadata={"parser": _parse_time}
|
|
108
108
|
)
|
|
109
109
|
tolerate_nondeterminism: bool = True
|
|
110
|
+
enable_lenient_dependencies: bool = True
|
|
110
111
|
clone_incremental_in_dev: CloneIncrementalInDev = field(
|
|
111
112
|
default=CloneIncrementalInDev.IF_TABLE_MISSING,
|
|
112
113
|
metadata={"parser": _parse_clone_incremental_in_dev},
|
|
@@ -1005,7 +1005,11 @@ class RunCache:
|
|
|
1005
1005
|
for name, v in traversal_result.view_definitions.items()
|
|
1006
1006
|
]
|
|
1007
1007
|
|
|
1008
|
-
|
|
1008
|
+
if self._run_cache_config.enable_lenient_dependencies:
|
|
1009
|
+
all_seen_fqns = traversal_result.seen_tables | set(traversal_result.view_definitions)
|
|
1010
|
+
lenient_dependencies: t.Set[str] = self._deferred_fqns & all_seen_fqns
|
|
1011
|
+
else:
|
|
1012
|
+
lenient_dependencies = set()
|
|
1009
1013
|
|
|
1010
1014
|
semantic_extras = {
|
|
1011
1015
|
key: json.dumps(value) if (value := node_config.get(key)) is not None else ""
|
|
@@ -1024,7 +1028,7 @@ class RunCache:
|
|
|
1024
1028
|
freshness_tolerance_seconds=self._run_cache_config.resolve_freshness_tolerance(
|
|
1025
1029
|
node_config
|
|
1026
1030
|
),
|
|
1027
|
-
lenient_dependencies=
|
|
1031
|
+
lenient_dependencies=lenient_dependencies,
|
|
1028
1032
|
tolerate_nondeterminism=self._run_cache_config.resolve_tolerate_nondeterminism(
|
|
1029
1033
|
node_config
|
|
1030
1034
|
),
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.0.2"
|
|
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
|