query-cache-common 2.5.0__tar.gz → 2.7.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.
Files changed (22) hide show
  1. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/PKG-INFO +1 -1
  2. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/execution_service_models.py +12 -1
  3. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/sql_service_models.py +1 -0
  4. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/shared_models.py +9 -0
  5. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/.gitignore +0 -0
  6. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/pyproject.toml +0 -0
  7. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/__init__.py +0 -0
  8. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/auth.py +0 -0
  9. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/constants.py +0 -0
  10. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/decorators.py +0 -0
  11. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/__init__.py +0 -0
  12. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/_typing.py +0 -0
  13. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/base.py +0 -0
  14. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/converters.py +0 -0
  15. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/fields.py +0 -0
  16. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/__init__.py +0 -0
  17. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/client_telemetry_service_models.py +0 -0
  18. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/client_validation_service_models.py +0 -0
  19. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/clone_service_models.py +0 -0
  20. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/explain_service_models.py +0 -0
  21. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/models/services/selector_service_models.py +0 -0
  22. {query_cache_common-2.5.0 → query_cache_common-2.7.0}/src/query_cache_common/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: query-cache-common
3
- Version: 2.5.0
3
+ Version: 2.7.0
4
4
  Summary: Common code for Query Cache shared across client and server
5
5
  License:
6
6
  Apache License
@@ -33,7 +33,7 @@ class ConfirmExecutionRequest(BaseSerDeModel):
33
33
 
34
34
  @proto_dataclass(execution_service_pb2.ConfirmExecutionResponse)
35
35
  class ConfirmExecutionResponse(BaseSerDeModel):
36
- request_id: str
36
+ execution_id: str
37
37
  success: bool
38
38
 
39
39
 
@@ -145,3 +145,14 @@ class ResolveDeferredRelationsRequest(BaseSerDeModel):
145
145
  @proto_dataclass(execution_service_pb2.ResolveDeferredRelationsResponse)
146
146
  class ResolveDeferredRelationsResponse(BaseSerDeModel):
147
147
  fqn_by_unique_id: t.Dict[str, str] = field(default_factory=dict)
148
+
149
+
150
+ @proto_dataclass(execution_service_pb2.UpdateExecutionMetadataRequest)
151
+ class UpdateExecutionMetadataRequest(BaseSerDeModel):
152
+ execution_id: str
153
+ last_modified_epoch: t.Optional[int] = None
154
+
155
+
156
+ @proto_dataclass(execution_service_pb2.UpdateExecutionMetadataResponse)
157
+ class UpdateExecutionMetadataResponse(BaseSerDeModel):
158
+ pass
@@ -86,6 +86,7 @@ class UndecidedResponse(BaseSerDeModel):
86
86
  @proto_dataclass(sql_service_pb2.SkipExecutionResponse)
87
87
  class SkipExecutionResponse(BaseSerDeModel):
88
88
  explained_decision: shared_models.ExplainedDecision
89
+ execution_id: str
89
90
  transformed_nodes_by_query: TransformedNodesByQuery = transformed_nodes_by_query_field()
90
91
  execution_results: t.Dict[str, t.Any] = field(
91
92
  default_factory=dict,
@@ -24,10 +24,19 @@ class ModelExecutionType(BaseSerDeEnum):
24
24
  DBT_CUSTOM = "DBT_CUSTOM"
25
25
 
26
26
 
27
+ @proto_enum(shared_pb2.TableModifiedInfo.DependencyKind)
28
+ class DependencyKind(BaseSerDeEnum):
29
+ UNKNOWN = "UNKNOWN"
30
+ SOURCE = "SOURCE"
31
+ SEED = "SEED"
32
+ MODEL = "MODEL"
33
+
34
+
27
35
  @proto_dataclass(shared_pb2.TableModifiedInfo)
28
36
  class TableModifiedInfo(BaseSerDeModel):
29
37
  name: str
30
38
  last_modified_epoch: int = 0
39
+ kind: DependencyKind = DependencyKind.UNKNOWN
31
40
 
32
41
 
33
42
  @proto_dataclass(shared_pb2.ColumnInfo)