query-cache-common 1.3.0__tar.gz → 1.4.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.
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/PKG-INFO +1 -1
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/sql_service_models.py +1 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/shared_models.py +12 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/.gitignore +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/pyproject.toml +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/__init__.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/auth.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/constants.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/decorators.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/__init__.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/_typing.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/base.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/converters.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/fields.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/__init__.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/client_telemetry_service_models.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/client_validation_service_models.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/clone_service_models.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/execution_service_models.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/services/explain_service_models.py +0 -0
- {query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/utils.py +0 -0
|
@@ -44,6 +44,7 @@ class SubmitEnrichedSQLRequest(BaseSerDeModel):
|
|
|
44
44
|
labels: t.Dict[str, str] = field(default_factory=dict)
|
|
45
45
|
clone_time_travel_limit: t.Optional[int] = None
|
|
46
46
|
clone_table_properties: t.Optional[TableProperties] = None
|
|
47
|
+
stale_upstream_policy: shared_models.StaleUpstreamPolicy = shared_models.StaleUpstreamPolicy.ANY
|
|
47
48
|
|
|
48
49
|
|
|
49
50
|
@proto_dataclass(sql_service_pb2.QueryHashMatchMetadataInfo)
|
{query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/shared_models.py
RENAMED
|
@@ -73,6 +73,18 @@ class SubmitSQLResultType(BaseSerDeEnum):
|
|
|
73
73
|
return labels[self]
|
|
74
74
|
|
|
75
75
|
|
|
76
|
+
@proto_enum(shared_pb2.StaleUpstreamPolicy)
|
|
77
|
+
class StaleUpstreamPolicy(BaseSerDeEnum):
|
|
78
|
+
ANY = "ANY"
|
|
79
|
+
ALL = "ALL"
|
|
80
|
+
|
|
81
|
+
def is_any(self) -> bool:
|
|
82
|
+
return self == StaleUpstreamPolicy.ANY
|
|
83
|
+
|
|
84
|
+
def is_all(self) -> bool:
|
|
85
|
+
return self == StaleUpstreamPolicy.ALL
|
|
86
|
+
|
|
87
|
+
|
|
76
88
|
@proto_dataclass(shared_pb2.ExplainedDecision)
|
|
77
89
|
class ExplainedDecision(BaseSerDeModel):
|
|
78
90
|
decision: SubmitSQLResultType
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/__init__.py
RENAMED
|
File without changes
|
{query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/_typing.py
RENAMED
|
File without changes
|
|
File without changes
|
{query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/converters.py
RENAMED
|
File without changes
|
{query_cache_common-1.3.0 → query_cache_common-1.4.0}/src/query_cache_common/models/fields.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|