raystack-proton 2025.10.8.102837__py3-none-any.whl
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.
Potentially problematic release.
This version of raystack-proton might be problematic. Click here for more details.
- google/__init__.py +0 -0
- google/api/__init__.py +0 -0
- google/api/annotations_pb2.py +37 -0
- google/api/annotations_pb2.pyi +8 -0
- google/api/field_behavior_pb2.py +38 -0
- google/api/field_behavior_pb2.pyi +27 -0
- google/api/http_pb2.py +41 -0
- google/api/http_pb2.pyi +47 -0
- google/api/httpbody_pb2.py +38 -0
- google/api/httpbody_pb2.pyi +18 -0
- protoc_gen_openapiv2/__init__.py +0 -0
- protoc_gen_openapiv2/options/__init__.py +0 -0
- protoc_gen_openapiv2/options/annotations_pb2.py +37 -0
- protoc_gen_openapiv2/options/annotations_pb2.pyi +16 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.py +142 -0
- protoc_gen_openapiv2/options/openapiv2_pb2.pyi +463 -0
- raystack/__init__.py +0 -0
- raystack/assets/__init__.py +0 -0
- raystack/assets/v1beta1/__init__.py +0 -0
- raystack/assets/v1beta1/bucket_pb2.py +45 -0
- raystack/assets/v1beta1/bucket_pb2.pyi +59 -0
- raystack/assets/v1beta1/dashboard_pb2.py +45 -0
- raystack/assets/v1beta1/dashboard_pb2.pyi +65 -0
- raystack/assets/v1beta1/event_pb2.py +38 -0
- raystack/assets/v1beta1/event_pb2.pyi +19 -0
- raystack/assets/v1beta1/group_pb2.py +43 -0
- raystack/assets/v1beta1/group_pb2.pyi +35 -0
- raystack/assets/v1beta1/job_pb2.py +43 -0
- raystack/assets/v1beta1/job_pb2.pyi +28 -0
- raystack/assets/v1beta1/lineage_pb2.py +38 -0
- raystack/assets/v1beta1/lineage_pb2.pyi +16 -0
- raystack/assets/v1beta1/ownership_pb2.py +39 -0
- raystack/assets/v1beta1/ownership_pb2.pyi +25 -0
- raystack/assets/v1beta1/preview_pb2.py +38 -0
- raystack/assets/v1beta1/preview_pb2.pyi +16 -0
- raystack/assets/v1beta1/properties_pb2.py +42 -0
- raystack/assets/v1beta1/properties_pb2.pyi +25 -0
- raystack/assets/v1beta1/resource_pb2.py +37 -0
- raystack/assets/v1beta1/resource_pb2.pyi +21 -0
- raystack/assets/v1beta1/schema_pb2.py +44 -0
- raystack/assets/v1beta1/schema_pb2.pyi +58 -0
- raystack/assets/v1beta1/table_pb2.py +49 -0
- raystack/assets/v1beta1/table_pb2.pyi +63 -0
- raystack/assets/v1beta1/timestamp_pb2.py +40 -0
- raystack/assets/v1beta1/timestamp_pb2.pyi +25 -0
- raystack/assets/v1beta1/topic_pb2.py +46 -0
- raystack/assets/v1beta1/topic_pb2.pyi +41 -0
- raystack/assets/v1beta1/user_pb2.py +45 -0
- raystack/assets/v1beta1/user_pb2.pyi +63 -0
- raystack/assets/v1beta2/__init__.py +0 -0
- raystack/assets/v1beta2/application_pb2.py +39 -0
- raystack/assets/v1beta2/application_pb2.pyi +24 -0
- raystack/assets/v1beta2/asset_pb2.py +44 -0
- raystack/assets/v1beta2/asset_pb2.pyi +49 -0
- raystack/assets/v1beta2/bucket_pb2.py +42 -0
- raystack/assets/v1beta2/bucket_pb2.pyi +54 -0
- raystack/assets/v1beta2/common_pb2.py +44 -0
- raystack/assets/v1beta2/common_pb2.pyi +52 -0
- raystack/assets/v1beta2/dashboard_pb2.py +42 -0
- raystack/assets/v1beta2/dashboard_pb2.pyi +60 -0
- raystack/assets/v1beta2/experiment_pb2.py +41 -0
- raystack/assets/v1beta2/experiment_pb2.pyi +40 -0
- raystack/assets/v1beta2/feature_table_pb2.py +47 -0
- raystack/assets/v1beta2/feature_table_pb2.pyi +59 -0
- raystack/assets/v1beta2/group_pb2.py +40 -0
- raystack/assets/v1beta2/group_pb2.pyi +26 -0
- raystack/assets/v1beta2/job_pb2.py +39 -0
- raystack/assets/v1beta2/job_pb2.pyi +20 -0
- raystack/assets/v1beta2/metric_pb2.py +39 -0
- raystack/assets/v1beta2/metric_pb2.pyi +28 -0
- raystack/assets/v1beta2/model_pb2.py +49 -0
- raystack/assets/v1beta2/model_pb2.pyi +73 -0
- raystack/assets/v1beta2/table_pb2.py +47 -0
- raystack/assets/v1beta2/table_pb2.pyi +93 -0
- raystack/assets/v1beta2/topic_pb2.py +43 -0
- raystack/assets/v1beta2/topic_pb2.pyi +40 -0
- raystack/assets/v1beta2/user_pb2.py +43 -0
- raystack/assets/v1beta2/user_pb2.pyi +61 -0
- raystack/common/__init__.py +0 -0
- raystack/common/v1/__init__.py +0 -0
- raystack/common/v1/service_connect.py +119 -0
- raystack/common/v1/service_pb2.py +48 -0
- raystack/common/v1/service_pb2.pyi +39 -0
- raystack/compass/__init__.py +0 -0
- raystack/compass/v1beta1/__init__.py +0 -0
- raystack/compass/v1beta1/service_connect.py +2784 -0
- raystack/compass/v1beta1/service_pb2.py +581 -0
- raystack/compass/v1beta1/service_pb2.pyi +1055 -0
- raystack/entropy/__init__.py +0 -0
- raystack/entropy/v1beta1/__init__.py +0 -0
- raystack/entropy/v1beta1/module_connect.py +379 -0
- raystack/entropy/v1beta1/module_pb2.py +72 -0
- raystack/entropy/v1beta1/module_pb2.pyi +88 -0
- raystack/entropy/v1beta1/resource_connect.py +574 -0
- raystack/entropy/v1beta1/resource_pb2.py +134 -0
- raystack/entropy/v1beta1/resource_pb2.pyi +268 -0
- raystack/frontier/__init__.py +0 -0
- raystack/frontier/v1beta1/__init__.py +0 -0
- raystack/frontier/v1beta1/admin_connect.py +4021 -0
- raystack/frontier/v1beta1/admin_pb2.py +617 -0
- raystack/frontier/v1beta1/admin_pb2.pyi +1151 -0
- raystack/frontier/v1beta1/frontier_connect.py +11169 -0
- raystack/frontier/v1beta1/frontier_pb2.py +1648 -0
- raystack/frontier/v1beta1/frontier_pb2.pyi +2730 -0
- raystack/frontier/v1beta1/models_pb2.py +398 -0
- raystack/frontier/v1beta1/models_pb2.pyi +1150 -0
- raystack/guardian/__init__.py +0 -0
- raystack/guardian/v1beta1/__init__.py +0 -0
- raystack/guardian/v1beta1/guardian_connect.py +2654 -0
- raystack/guardian/v1beta1/guardian_pb2.py +527 -0
- raystack/guardian/v1beta1/guardian_pb2.pyi +1257 -0
- raystack/optimus/__init__.py +0 -0
- raystack/optimus/core/__init__.py +0 -0
- raystack/optimus/core/v1beta1/__init__.py +0 -0
- raystack/optimus/core/v1beta1/backup_connect.py +249 -0
- raystack/optimus/core/v1beta1/backup_pb2.py +70 -0
- raystack/optimus/core/v1beta1/backup_pb2.pyi +108 -0
- raystack/optimus/core/v1beta1/job_run_connect.py +314 -0
- raystack/optimus/core/v1beta1/job_run_pb2.py +88 -0
- raystack/optimus/core/v1beta1/job_run_pb2.pyi +164 -0
- raystack/optimus/core/v1beta1/job_spec_connect.py +1289 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.py +229 -0
- raystack/optimus/core/v1beta1/job_spec_pb2.pyi +700 -0
- raystack/optimus/core/v1beta1/namespace_connect.py +249 -0
- raystack/optimus/core/v1beta1/namespace_pb2.py +63 -0
- raystack/optimus/core/v1beta1/namespace_pb2.pyi +66 -0
- raystack/optimus/core/v1beta1/project_connect.py +249 -0
- raystack/optimus/core/v1beta1/project_pb2.py +63 -0
- raystack/optimus/core/v1beta1/project_pb2.pyi +60 -0
- raystack/optimus/core/v1beta1/replay_connect.py +314 -0
- raystack/optimus/core/v1beta1/replay_pb2.py +72 -0
- raystack/optimus/core/v1beta1/replay_pb2.pyi +127 -0
- raystack/optimus/core/v1beta1/resource_connect.py +509 -0
- raystack/optimus/core/v1beta1/resource_pb2.py +93 -0
- raystack/optimus/core/v1beta1/resource_pb2.pyi +182 -0
- raystack/optimus/core/v1beta1/runtime_connect.py +119 -0
- raystack/optimus/core/v1beta1/runtime_pb2.py +45 -0
- raystack/optimus/core/v1beta1/runtime_pb2.pyi +19 -0
- raystack/optimus/core/v1beta1/secret_connect.py +314 -0
- raystack/optimus/core/v1beta1/secret_pb2.py +66 -0
- raystack/optimus/core/v1beta1/secret_pb2.pyi +81 -0
- raystack/optimus/core/v1beta1/status_pb2.py +39 -0
- raystack/optimus/core/v1beta1/status_pb2.pyi +31 -0
- raystack/optimus/integration/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/__init__.py +0 -0
- raystack/optimus/integration/v1beta1/event_pb2.py +50 -0
- raystack/optimus/integration/v1beta1/event_pb2.pyi +94 -0
- raystack/optimus/plugins/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/__init__.py +0 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_connect.py +314 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.py +66 -0
- raystack/optimus/plugins/v1beta1/dependency_resolver_pb2.pyi +118 -0
- raystack/predator/__init__.py +0 -0
- raystack/predator/v1beta1/__init__.py +0 -0
- raystack/predator/v1beta1/metrics_log_pb2.py +46 -0
- raystack/predator/v1beta1/metrics_log_pb2.pyi +68 -0
- raystack/predator/v1beta1/result_log_pb2.py +45 -0
- raystack/predator/v1beta1/result_log_pb2.pyi +61 -0
- raystack/raccoon/__init__.py +0 -0
- raystack/raccoon/v1beta1/__init__.py +0 -0
- raystack/raccoon/v1beta1/raccoon_connect.py +119 -0
- raystack/raccoon/v1beta1/raccoon_pb2.py +52 -0
- raystack/raccoon/v1beta1/raccoon_pb2.pyi +74 -0
- raystack/siren/__init__.py +0 -0
- raystack/siren/v1beta1/__init__.py +0 -0
- raystack/siren/v1beta1/siren_connect.py +2329 -0
- raystack/siren/v1beta1/siren_pb2.py +415 -0
- raystack/siren/v1beta1/siren_pb2.pyi +890 -0
- raystack/stencil/__init__.py +0 -0
- raystack/stencil/v1beta1/__init__.py +0 -0
- raystack/stencil/v1beta1/stencil_connect.py +1094 -0
- raystack/stencil/v1beta1/stencil_pb2.py +158 -0
- raystack/stencil/v1beta1/stencil_pb2.pyi +357 -0
- raystack_proton-2025.10.8.102837.dist-info/METADATA +101 -0
- raystack_proton-2025.10.8.102837.dist-info/RECORD +181 -0
- raystack_proton-2025.10.8.102837.dist-info/WHEEL +5 -0
- raystack_proton-2025.10.8.102837.dist-info/licenses/LICENSE +201 -0
- raystack_proton-2025.10.8.102837.dist-info/top_level.txt +4 -0
- validate/__init__.py +0 -0
- validate/validate_pb2.py +86 -0
- validate/validate_pb2.pyi +497 -0
|
@@ -0,0 +1,1094 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by https://github.com/connectrpc/connect-python. DO NOT EDIT!
|
|
3
|
+
# source: raystack/stencil/v1beta1/stencil.proto
|
|
4
|
+
|
|
5
|
+
from collections.abc import AsyncIterator, Iterable, Iterator, Mapping
|
|
6
|
+
from typing import Protocol
|
|
7
|
+
|
|
8
|
+
from connectrpc.client import ConnectClient, ConnectClientSync
|
|
9
|
+
from connectrpc.code import Code
|
|
10
|
+
from connectrpc.errors import ConnectError
|
|
11
|
+
from connectrpc.interceptor import Interceptor, InterceptorSync
|
|
12
|
+
from connectrpc.method import IdempotencyLevel, MethodInfo
|
|
13
|
+
from connectrpc.request import Headers, RequestContext
|
|
14
|
+
from connectrpc.server import ConnectASGIApplication, ConnectWSGIApplication, Endpoint, EndpointSync
|
|
15
|
+
import raystack.stencil.v1beta1.stencil_pb2 as raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class StencilService(Protocol):
|
|
19
|
+
async def list_namespaces(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse:
|
|
20
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
21
|
+
|
|
22
|
+
async def get_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse:
|
|
23
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
24
|
+
|
|
25
|
+
async def create_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse:
|
|
26
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
27
|
+
|
|
28
|
+
async def update_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse:
|
|
29
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
30
|
+
|
|
31
|
+
async def delete_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse:
|
|
32
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
33
|
+
|
|
34
|
+
async def list_schemas(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse:
|
|
35
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
36
|
+
|
|
37
|
+
async def create_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse:
|
|
38
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
39
|
+
|
|
40
|
+
async def check_compatibility(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse:
|
|
41
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
42
|
+
|
|
43
|
+
async def get_schema_metadata(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse:
|
|
44
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
45
|
+
|
|
46
|
+
async def update_schema_metadata(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse:
|
|
47
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
48
|
+
|
|
49
|
+
async def get_latest_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse:
|
|
50
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
51
|
+
|
|
52
|
+
async def delete_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse:
|
|
53
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
54
|
+
|
|
55
|
+
async def get_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse:
|
|
56
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
57
|
+
|
|
58
|
+
async def list_versions(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse:
|
|
59
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
60
|
+
|
|
61
|
+
async def delete_version(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse:
|
|
62
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
63
|
+
|
|
64
|
+
async def search(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse:
|
|
65
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
class StencilServiceASGIApplication(ConnectASGIApplication):
|
|
69
|
+
def __init__(self, service: StencilService, *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None) -> None:
|
|
70
|
+
super().__init__(
|
|
71
|
+
endpoints={
|
|
72
|
+
"/raystack.stencil.v1beta1.StencilService/ListNamespaces": Endpoint.unary(
|
|
73
|
+
method=MethodInfo(
|
|
74
|
+
name="ListNamespaces",
|
|
75
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
76
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
77
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse,
|
|
78
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
79
|
+
),
|
|
80
|
+
function=service.list_namespaces,
|
|
81
|
+
),
|
|
82
|
+
"/raystack.stencil.v1beta1.StencilService/GetNamespace": Endpoint.unary(
|
|
83
|
+
method=MethodInfo(
|
|
84
|
+
name="GetNamespace",
|
|
85
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
86
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
87
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse,
|
|
88
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
89
|
+
),
|
|
90
|
+
function=service.get_namespace,
|
|
91
|
+
),
|
|
92
|
+
"/raystack.stencil.v1beta1.StencilService/CreateNamespace": Endpoint.unary(
|
|
93
|
+
method=MethodInfo(
|
|
94
|
+
name="CreateNamespace",
|
|
95
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
96
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
97
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse,
|
|
98
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
99
|
+
),
|
|
100
|
+
function=service.create_namespace,
|
|
101
|
+
),
|
|
102
|
+
"/raystack.stencil.v1beta1.StencilService/UpdateNamespace": Endpoint.unary(
|
|
103
|
+
method=MethodInfo(
|
|
104
|
+
name="UpdateNamespace",
|
|
105
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
106
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
107
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse,
|
|
108
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
109
|
+
),
|
|
110
|
+
function=service.update_namespace,
|
|
111
|
+
),
|
|
112
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteNamespace": Endpoint.unary(
|
|
113
|
+
method=MethodInfo(
|
|
114
|
+
name="DeleteNamespace",
|
|
115
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
116
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
117
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse,
|
|
118
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
119
|
+
),
|
|
120
|
+
function=service.delete_namespace,
|
|
121
|
+
),
|
|
122
|
+
"/raystack.stencil.v1beta1.StencilService/ListSchemas": Endpoint.unary(
|
|
123
|
+
method=MethodInfo(
|
|
124
|
+
name="ListSchemas",
|
|
125
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
126
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
127
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse,
|
|
128
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
129
|
+
),
|
|
130
|
+
function=service.list_schemas,
|
|
131
|
+
),
|
|
132
|
+
"/raystack.stencil.v1beta1.StencilService/CreateSchema": Endpoint.unary(
|
|
133
|
+
method=MethodInfo(
|
|
134
|
+
name="CreateSchema",
|
|
135
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
136
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
137
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse,
|
|
138
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
139
|
+
),
|
|
140
|
+
function=service.create_schema,
|
|
141
|
+
),
|
|
142
|
+
"/raystack.stencil.v1beta1.StencilService/CheckCompatibility": Endpoint.unary(
|
|
143
|
+
method=MethodInfo(
|
|
144
|
+
name="CheckCompatibility",
|
|
145
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
146
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
147
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse,
|
|
148
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
149
|
+
),
|
|
150
|
+
function=service.check_compatibility,
|
|
151
|
+
),
|
|
152
|
+
"/raystack.stencil.v1beta1.StencilService/GetSchemaMetadata": Endpoint.unary(
|
|
153
|
+
method=MethodInfo(
|
|
154
|
+
name="GetSchemaMetadata",
|
|
155
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
156
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
157
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse,
|
|
158
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
159
|
+
),
|
|
160
|
+
function=service.get_schema_metadata,
|
|
161
|
+
),
|
|
162
|
+
"/raystack.stencil.v1beta1.StencilService/UpdateSchemaMetadata": Endpoint.unary(
|
|
163
|
+
method=MethodInfo(
|
|
164
|
+
name="UpdateSchemaMetadata",
|
|
165
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
166
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
167
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse,
|
|
168
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
169
|
+
),
|
|
170
|
+
function=service.update_schema_metadata,
|
|
171
|
+
),
|
|
172
|
+
"/raystack.stencil.v1beta1.StencilService/GetLatestSchema": Endpoint.unary(
|
|
173
|
+
method=MethodInfo(
|
|
174
|
+
name="GetLatestSchema",
|
|
175
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
176
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
177
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse,
|
|
178
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
179
|
+
),
|
|
180
|
+
function=service.get_latest_schema,
|
|
181
|
+
),
|
|
182
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteSchema": Endpoint.unary(
|
|
183
|
+
method=MethodInfo(
|
|
184
|
+
name="DeleteSchema",
|
|
185
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
186
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
187
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse,
|
|
188
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
189
|
+
),
|
|
190
|
+
function=service.delete_schema,
|
|
191
|
+
),
|
|
192
|
+
"/raystack.stencil.v1beta1.StencilService/GetSchema": Endpoint.unary(
|
|
193
|
+
method=MethodInfo(
|
|
194
|
+
name="GetSchema",
|
|
195
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
196
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
197
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse,
|
|
198
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
199
|
+
),
|
|
200
|
+
function=service.get_schema,
|
|
201
|
+
),
|
|
202
|
+
"/raystack.stencil.v1beta1.StencilService/ListVersions": Endpoint.unary(
|
|
203
|
+
method=MethodInfo(
|
|
204
|
+
name="ListVersions",
|
|
205
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
206
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
207
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse,
|
|
208
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
209
|
+
),
|
|
210
|
+
function=service.list_versions,
|
|
211
|
+
),
|
|
212
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteVersion": Endpoint.unary(
|
|
213
|
+
method=MethodInfo(
|
|
214
|
+
name="DeleteVersion",
|
|
215
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
216
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
217
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse,
|
|
218
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
219
|
+
),
|
|
220
|
+
function=service.delete_version,
|
|
221
|
+
),
|
|
222
|
+
"/raystack.stencil.v1beta1.StencilService/Search": Endpoint.unary(
|
|
223
|
+
method=MethodInfo(
|
|
224
|
+
name="Search",
|
|
225
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
226
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
227
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse,
|
|
228
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
229
|
+
),
|
|
230
|
+
function=service.search,
|
|
231
|
+
),
|
|
232
|
+
},
|
|
233
|
+
interceptors=interceptors,
|
|
234
|
+
read_max_bytes=read_max_bytes,
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def path(self) -> str:
|
|
239
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
240
|
+
return "/raystack.stencil.v1beta1.StencilService"
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class StencilServiceClient(ConnectClient):
|
|
244
|
+
async def list_namespaces(
|
|
245
|
+
self,
|
|
246
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
247
|
+
*,
|
|
248
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
249
|
+
timeout_ms: int | None = None,
|
|
250
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse:
|
|
251
|
+
return await self.execute_unary(
|
|
252
|
+
request=request,
|
|
253
|
+
method=MethodInfo(
|
|
254
|
+
name="ListNamespaces",
|
|
255
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
256
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
257
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse,
|
|
258
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
259
|
+
),
|
|
260
|
+
headers=headers,
|
|
261
|
+
timeout_ms=timeout_ms,
|
|
262
|
+
)
|
|
263
|
+
|
|
264
|
+
async def get_namespace(
|
|
265
|
+
self,
|
|
266
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
267
|
+
*,
|
|
268
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
269
|
+
timeout_ms: int | None = None,
|
|
270
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse:
|
|
271
|
+
return await self.execute_unary(
|
|
272
|
+
request=request,
|
|
273
|
+
method=MethodInfo(
|
|
274
|
+
name="GetNamespace",
|
|
275
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
276
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
277
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse,
|
|
278
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
279
|
+
),
|
|
280
|
+
headers=headers,
|
|
281
|
+
timeout_ms=timeout_ms,
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
async def create_namespace(
|
|
285
|
+
self,
|
|
286
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
287
|
+
*,
|
|
288
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
289
|
+
timeout_ms: int | None = None,
|
|
290
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse:
|
|
291
|
+
return await self.execute_unary(
|
|
292
|
+
request=request,
|
|
293
|
+
method=MethodInfo(
|
|
294
|
+
name="CreateNamespace",
|
|
295
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
296
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
297
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse,
|
|
298
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
299
|
+
),
|
|
300
|
+
headers=headers,
|
|
301
|
+
timeout_ms=timeout_ms,
|
|
302
|
+
)
|
|
303
|
+
|
|
304
|
+
async def update_namespace(
|
|
305
|
+
self,
|
|
306
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
307
|
+
*,
|
|
308
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
309
|
+
timeout_ms: int | None = None,
|
|
310
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse:
|
|
311
|
+
return await self.execute_unary(
|
|
312
|
+
request=request,
|
|
313
|
+
method=MethodInfo(
|
|
314
|
+
name="UpdateNamespace",
|
|
315
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
316
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
317
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse,
|
|
318
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
319
|
+
),
|
|
320
|
+
headers=headers,
|
|
321
|
+
timeout_ms=timeout_ms,
|
|
322
|
+
)
|
|
323
|
+
|
|
324
|
+
async def delete_namespace(
|
|
325
|
+
self,
|
|
326
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
327
|
+
*,
|
|
328
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
329
|
+
timeout_ms: int | None = None,
|
|
330
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse:
|
|
331
|
+
return await self.execute_unary(
|
|
332
|
+
request=request,
|
|
333
|
+
method=MethodInfo(
|
|
334
|
+
name="DeleteNamespace",
|
|
335
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
336
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
337
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse,
|
|
338
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
339
|
+
),
|
|
340
|
+
headers=headers,
|
|
341
|
+
timeout_ms=timeout_ms,
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
async def list_schemas(
|
|
345
|
+
self,
|
|
346
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
347
|
+
*,
|
|
348
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
349
|
+
timeout_ms: int | None = None,
|
|
350
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse:
|
|
351
|
+
return await self.execute_unary(
|
|
352
|
+
request=request,
|
|
353
|
+
method=MethodInfo(
|
|
354
|
+
name="ListSchemas",
|
|
355
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
356
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
357
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse,
|
|
358
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
359
|
+
),
|
|
360
|
+
headers=headers,
|
|
361
|
+
timeout_ms=timeout_ms,
|
|
362
|
+
)
|
|
363
|
+
|
|
364
|
+
async def create_schema(
|
|
365
|
+
self,
|
|
366
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
367
|
+
*,
|
|
368
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
369
|
+
timeout_ms: int | None = None,
|
|
370
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse:
|
|
371
|
+
return await self.execute_unary(
|
|
372
|
+
request=request,
|
|
373
|
+
method=MethodInfo(
|
|
374
|
+
name="CreateSchema",
|
|
375
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
376
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
377
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse,
|
|
378
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
379
|
+
),
|
|
380
|
+
headers=headers,
|
|
381
|
+
timeout_ms=timeout_ms,
|
|
382
|
+
)
|
|
383
|
+
|
|
384
|
+
async def check_compatibility(
|
|
385
|
+
self,
|
|
386
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
387
|
+
*,
|
|
388
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
389
|
+
timeout_ms: int | None = None,
|
|
390
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse:
|
|
391
|
+
return await self.execute_unary(
|
|
392
|
+
request=request,
|
|
393
|
+
method=MethodInfo(
|
|
394
|
+
name="CheckCompatibility",
|
|
395
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
396
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
397
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse,
|
|
398
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
399
|
+
),
|
|
400
|
+
headers=headers,
|
|
401
|
+
timeout_ms=timeout_ms,
|
|
402
|
+
)
|
|
403
|
+
|
|
404
|
+
async def get_schema_metadata(
|
|
405
|
+
self,
|
|
406
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
407
|
+
*,
|
|
408
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
409
|
+
timeout_ms: int | None = None,
|
|
410
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse:
|
|
411
|
+
return await self.execute_unary(
|
|
412
|
+
request=request,
|
|
413
|
+
method=MethodInfo(
|
|
414
|
+
name="GetSchemaMetadata",
|
|
415
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
416
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
417
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse,
|
|
418
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
419
|
+
),
|
|
420
|
+
headers=headers,
|
|
421
|
+
timeout_ms=timeout_ms,
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
async def update_schema_metadata(
|
|
425
|
+
self,
|
|
426
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
427
|
+
*,
|
|
428
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
429
|
+
timeout_ms: int | None = None,
|
|
430
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse:
|
|
431
|
+
return await self.execute_unary(
|
|
432
|
+
request=request,
|
|
433
|
+
method=MethodInfo(
|
|
434
|
+
name="UpdateSchemaMetadata",
|
|
435
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
436
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
437
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse,
|
|
438
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
439
|
+
),
|
|
440
|
+
headers=headers,
|
|
441
|
+
timeout_ms=timeout_ms,
|
|
442
|
+
)
|
|
443
|
+
|
|
444
|
+
async def get_latest_schema(
|
|
445
|
+
self,
|
|
446
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
447
|
+
*,
|
|
448
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
449
|
+
timeout_ms: int | None = None,
|
|
450
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse:
|
|
451
|
+
return await self.execute_unary(
|
|
452
|
+
request=request,
|
|
453
|
+
method=MethodInfo(
|
|
454
|
+
name="GetLatestSchema",
|
|
455
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
456
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
457
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse,
|
|
458
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
459
|
+
),
|
|
460
|
+
headers=headers,
|
|
461
|
+
timeout_ms=timeout_ms,
|
|
462
|
+
)
|
|
463
|
+
|
|
464
|
+
async def delete_schema(
|
|
465
|
+
self,
|
|
466
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
467
|
+
*,
|
|
468
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
469
|
+
timeout_ms: int | None = None,
|
|
470
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse:
|
|
471
|
+
return await self.execute_unary(
|
|
472
|
+
request=request,
|
|
473
|
+
method=MethodInfo(
|
|
474
|
+
name="DeleteSchema",
|
|
475
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
476
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
477
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse,
|
|
478
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
479
|
+
),
|
|
480
|
+
headers=headers,
|
|
481
|
+
timeout_ms=timeout_ms,
|
|
482
|
+
)
|
|
483
|
+
|
|
484
|
+
async def get_schema(
|
|
485
|
+
self,
|
|
486
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
487
|
+
*,
|
|
488
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
489
|
+
timeout_ms: int | None = None,
|
|
490
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse:
|
|
491
|
+
return await self.execute_unary(
|
|
492
|
+
request=request,
|
|
493
|
+
method=MethodInfo(
|
|
494
|
+
name="GetSchema",
|
|
495
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
496
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
497
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse,
|
|
498
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
499
|
+
),
|
|
500
|
+
headers=headers,
|
|
501
|
+
timeout_ms=timeout_ms,
|
|
502
|
+
)
|
|
503
|
+
|
|
504
|
+
async def list_versions(
|
|
505
|
+
self,
|
|
506
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
507
|
+
*,
|
|
508
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
509
|
+
timeout_ms: int | None = None,
|
|
510
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse:
|
|
511
|
+
return await self.execute_unary(
|
|
512
|
+
request=request,
|
|
513
|
+
method=MethodInfo(
|
|
514
|
+
name="ListVersions",
|
|
515
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
516
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
517
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse,
|
|
518
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
519
|
+
),
|
|
520
|
+
headers=headers,
|
|
521
|
+
timeout_ms=timeout_ms,
|
|
522
|
+
)
|
|
523
|
+
|
|
524
|
+
async def delete_version(
|
|
525
|
+
self,
|
|
526
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
527
|
+
*,
|
|
528
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
529
|
+
timeout_ms: int | None = None,
|
|
530
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse:
|
|
531
|
+
return await self.execute_unary(
|
|
532
|
+
request=request,
|
|
533
|
+
method=MethodInfo(
|
|
534
|
+
name="DeleteVersion",
|
|
535
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
536
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
537
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse,
|
|
538
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
539
|
+
),
|
|
540
|
+
headers=headers,
|
|
541
|
+
timeout_ms=timeout_ms,
|
|
542
|
+
)
|
|
543
|
+
|
|
544
|
+
async def search(
|
|
545
|
+
self,
|
|
546
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
547
|
+
*,
|
|
548
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
549
|
+
timeout_ms: int | None = None,
|
|
550
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse:
|
|
551
|
+
return await self.execute_unary(
|
|
552
|
+
request=request,
|
|
553
|
+
method=MethodInfo(
|
|
554
|
+
name="Search",
|
|
555
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
556
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
557
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse,
|
|
558
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
559
|
+
),
|
|
560
|
+
headers=headers,
|
|
561
|
+
timeout_ms=timeout_ms,
|
|
562
|
+
)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class StencilServiceSync(Protocol):
|
|
566
|
+
def list_namespaces(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse:
|
|
567
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
568
|
+
def get_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse:
|
|
569
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
570
|
+
def create_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse:
|
|
571
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
572
|
+
def update_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse:
|
|
573
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
574
|
+
def delete_namespace(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse:
|
|
575
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
576
|
+
def list_schemas(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse:
|
|
577
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
578
|
+
def create_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse:
|
|
579
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
580
|
+
def check_compatibility(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse:
|
|
581
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
582
|
+
def get_schema_metadata(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse:
|
|
583
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
584
|
+
def update_schema_metadata(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse:
|
|
585
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
586
|
+
def get_latest_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse:
|
|
587
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
588
|
+
def delete_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse:
|
|
589
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
590
|
+
def get_schema(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse:
|
|
591
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
592
|
+
def list_versions(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse:
|
|
593
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
594
|
+
def delete_version(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse:
|
|
595
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
596
|
+
def search(self, request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest, ctx: RequestContext) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse:
|
|
597
|
+
raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
class StencilServiceWSGIApplication(ConnectWSGIApplication):
|
|
601
|
+
def __init__(self, service: StencilServiceSync, interceptors: Iterable[InterceptorSync]=(), read_max_bytes: int | None = None) -> None:
|
|
602
|
+
super().__init__(
|
|
603
|
+
endpoints={
|
|
604
|
+
"/raystack.stencil.v1beta1.StencilService/ListNamespaces": EndpointSync.unary(
|
|
605
|
+
method=MethodInfo(
|
|
606
|
+
name="ListNamespaces",
|
|
607
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
608
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
609
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse,
|
|
610
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
611
|
+
),
|
|
612
|
+
function=service.list_namespaces,
|
|
613
|
+
),
|
|
614
|
+
"/raystack.stencil.v1beta1.StencilService/GetNamespace": EndpointSync.unary(
|
|
615
|
+
method=MethodInfo(
|
|
616
|
+
name="GetNamespace",
|
|
617
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
618
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
619
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse,
|
|
620
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
621
|
+
),
|
|
622
|
+
function=service.get_namespace,
|
|
623
|
+
),
|
|
624
|
+
"/raystack.stencil.v1beta1.StencilService/CreateNamespace": EndpointSync.unary(
|
|
625
|
+
method=MethodInfo(
|
|
626
|
+
name="CreateNamespace",
|
|
627
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
628
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
629
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse,
|
|
630
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
631
|
+
),
|
|
632
|
+
function=service.create_namespace,
|
|
633
|
+
),
|
|
634
|
+
"/raystack.stencil.v1beta1.StencilService/UpdateNamespace": EndpointSync.unary(
|
|
635
|
+
method=MethodInfo(
|
|
636
|
+
name="UpdateNamespace",
|
|
637
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
638
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
639
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse,
|
|
640
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
641
|
+
),
|
|
642
|
+
function=service.update_namespace,
|
|
643
|
+
),
|
|
644
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteNamespace": EndpointSync.unary(
|
|
645
|
+
method=MethodInfo(
|
|
646
|
+
name="DeleteNamespace",
|
|
647
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
648
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
649
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse,
|
|
650
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
651
|
+
),
|
|
652
|
+
function=service.delete_namespace,
|
|
653
|
+
),
|
|
654
|
+
"/raystack.stencil.v1beta1.StencilService/ListSchemas": EndpointSync.unary(
|
|
655
|
+
method=MethodInfo(
|
|
656
|
+
name="ListSchemas",
|
|
657
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
658
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
659
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse,
|
|
660
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
661
|
+
),
|
|
662
|
+
function=service.list_schemas,
|
|
663
|
+
),
|
|
664
|
+
"/raystack.stencil.v1beta1.StencilService/CreateSchema": EndpointSync.unary(
|
|
665
|
+
method=MethodInfo(
|
|
666
|
+
name="CreateSchema",
|
|
667
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
668
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
669
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse,
|
|
670
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
671
|
+
),
|
|
672
|
+
function=service.create_schema,
|
|
673
|
+
),
|
|
674
|
+
"/raystack.stencil.v1beta1.StencilService/CheckCompatibility": EndpointSync.unary(
|
|
675
|
+
method=MethodInfo(
|
|
676
|
+
name="CheckCompatibility",
|
|
677
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
678
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
679
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse,
|
|
680
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
681
|
+
),
|
|
682
|
+
function=service.check_compatibility,
|
|
683
|
+
),
|
|
684
|
+
"/raystack.stencil.v1beta1.StencilService/GetSchemaMetadata": EndpointSync.unary(
|
|
685
|
+
method=MethodInfo(
|
|
686
|
+
name="GetSchemaMetadata",
|
|
687
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
688
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
689
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse,
|
|
690
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
691
|
+
),
|
|
692
|
+
function=service.get_schema_metadata,
|
|
693
|
+
),
|
|
694
|
+
"/raystack.stencil.v1beta1.StencilService/UpdateSchemaMetadata": EndpointSync.unary(
|
|
695
|
+
method=MethodInfo(
|
|
696
|
+
name="UpdateSchemaMetadata",
|
|
697
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
698
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
699
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse,
|
|
700
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
701
|
+
),
|
|
702
|
+
function=service.update_schema_metadata,
|
|
703
|
+
),
|
|
704
|
+
"/raystack.stencil.v1beta1.StencilService/GetLatestSchema": EndpointSync.unary(
|
|
705
|
+
method=MethodInfo(
|
|
706
|
+
name="GetLatestSchema",
|
|
707
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
708
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
709
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse,
|
|
710
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
711
|
+
),
|
|
712
|
+
function=service.get_latest_schema,
|
|
713
|
+
),
|
|
714
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteSchema": EndpointSync.unary(
|
|
715
|
+
method=MethodInfo(
|
|
716
|
+
name="DeleteSchema",
|
|
717
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
718
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
719
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse,
|
|
720
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
721
|
+
),
|
|
722
|
+
function=service.delete_schema,
|
|
723
|
+
),
|
|
724
|
+
"/raystack.stencil.v1beta1.StencilService/GetSchema": EndpointSync.unary(
|
|
725
|
+
method=MethodInfo(
|
|
726
|
+
name="GetSchema",
|
|
727
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
728
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
729
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse,
|
|
730
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
731
|
+
),
|
|
732
|
+
function=service.get_schema,
|
|
733
|
+
),
|
|
734
|
+
"/raystack.stencil.v1beta1.StencilService/ListVersions": EndpointSync.unary(
|
|
735
|
+
method=MethodInfo(
|
|
736
|
+
name="ListVersions",
|
|
737
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
738
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
739
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse,
|
|
740
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
741
|
+
),
|
|
742
|
+
function=service.list_versions,
|
|
743
|
+
),
|
|
744
|
+
"/raystack.stencil.v1beta1.StencilService/DeleteVersion": EndpointSync.unary(
|
|
745
|
+
method=MethodInfo(
|
|
746
|
+
name="DeleteVersion",
|
|
747
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
748
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
749
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse,
|
|
750
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
751
|
+
),
|
|
752
|
+
function=service.delete_version,
|
|
753
|
+
),
|
|
754
|
+
"/raystack.stencil.v1beta1.StencilService/Search": EndpointSync.unary(
|
|
755
|
+
method=MethodInfo(
|
|
756
|
+
name="Search",
|
|
757
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
758
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
759
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse,
|
|
760
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
761
|
+
),
|
|
762
|
+
function=service.search,
|
|
763
|
+
),
|
|
764
|
+
},
|
|
765
|
+
interceptors=interceptors,
|
|
766
|
+
read_max_bytes=read_max_bytes,
|
|
767
|
+
)
|
|
768
|
+
|
|
769
|
+
@property
|
|
770
|
+
def path(self) -> str:
|
|
771
|
+
"""Returns the URL path to mount the application to when serving multiple applications."""
|
|
772
|
+
return "/raystack.stencil.v1beta1.StencilService"
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
class StencilServiceClientSync(ConnectClientSync):
|
|
776
|
+
def list_namespaces(
|
|
777
|
+
self,
|
|
778
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
779
|
+
*,
|
|
780
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
781
|
+
timeout_ms: int | None = None,
|
|
782
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse:
|
|
783
|
+
return self.execute_unary(
|
|
784
|
+
request=request,
|
|
785
|
+
method=MethodInfo(
|
|
786
|
+
name="ListNamespaces",
|
|
787
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
788
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesRequest,
|
|
789
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListNamespacesResponse,
|
|
790
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
791
|
+
),
|
|
792
|
+
headers=headers,
|
|
793
|
+
timeout_ms=timeout_ms,
|
|
794
|
+
)
|
|
795
|
+
|
|
796
|
+
def get_namespace(
|
|
797
|
+
self,
|
|
798
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
799
|
+
*,
|
|
800
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
801
|
+
timeout_ms: int | None = None,
|
|
802
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse:
|
|
803
|
+
return self.execute_unary(
|
|
804
|
+
request=request,
|
|
805
|
+
method=MethodInfo(
|
|
806
|
+
name="GetNamespace",
|
|
807
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
808
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceRequest,
|
|
809
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetNamespaceResponse,
|
|
810
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
811
|
+
),
|
|
812
|
+
headers=headers,
|
|
813
|
+
timeout_ms=timeout_ms,
|
|
814
|
+
)
|
|
815
|
+
|
|
816
|
+
def create_namespace(
|
|
817
|
+
self,
|
|
818
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
819
|
+
*,
|
|
820
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
821
|
+
timeout_ms: int | None = None,
|
|
822
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse:
|
|
823
|
+
return self.execute_unary(
|
|
824
|
+
request=request,
|
|
825
|
+
method=MethodInfo(
|
|
826
|
+
name="CreateNamespace",
|
|
827
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
828
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceRequest,
|
|
829
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateNamespaceResponse,
|
|
830
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
831
|
+
),
|
|
832
|
+
headers=headers,
|
|
833
|
+
timeout_ms=timeout_ms,
|
|
834
|
+
)
|
|
835
|
+
|
|
836
|
+
def update_namespace(
|
|
837
|
+
self,
|
|
838
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
839
|
+
*,
|
|
840
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
841
|
+
timeout_ms: int | None = None,
|
|
842
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse:
|
|
843
|
+
return self.execute_unary(
|
|
844
|
+
request=request,
|
|
845
|
+
method=MethodInfo(
|
|
846
|
+
name="UpdateNamespace",
|
|
847
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
848
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceRequest,
|
|
849
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateNamespaceResponse,
|
|
850
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
851
|
+
),
|
|
852
|
+
headers=headers,
|
|
853
|
+
timeout_ms=timeout_ms,
|
|
854
|
+
)
|
|
855
|
+
|
|
856
|
+
def delete_namespace(
|
|
857
|
+
self,
|
|
858
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
859
|
+
*,
|
|
860
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
861
|
+
timeout_ms: int | None = None,
|
|
862
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse:
|
|
863
|
+
return self.execute_unary(
|
|
864
|
+
request=request,
|
|
865
|
+
method=MethodInfo(
|
|
866
|
+
name="DeleteNamespace",
|
|
867
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
868
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceRequest,
|
|
869
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteNamespaceResponse,
|
|
870
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
871
|
+
),
|
|
872
|
+
headers=headers,
|
|
873
|
+
timeout_ms=timeout_ms,
|
|
874
|
+
)
|
|
875
|
+
|
|
876
|
+
def list_schemas(
|
|
877
|
+
self,
|
|
878
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
879
|
+
*,
|
|
880
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
881
|
+
timeout_ms: int | None = None,
|
|
882
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse:
|
|
883
|
+
return self.execute_unary(
|
|
884
|
+
request=request,
|
|
885
|
+
method=MethodInfo(
|
|
886
|
+
name="ListSchemas",
|
|
887
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
888
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasRequest,
|
|
889
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListSchemasResponse,
|
|
890
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
891
|
+
),
|
|
892
|
+
headers=headers,
|
|
893
|
+
timeout_ms=timeout_ms,
|
|
894
|
+
)
|
|
895
|
+
|
|
896
|
+
def create_schema(
|
|
897
|
+
self,
|
|
898
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
899
|
+
*,
|
|
900
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
901
|
+
timeout_ms: int | None = None,
|
|
902
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse:
|
|
903
|
+
return self.execute_unary(
|
|
904
|
+
request=request,
|
|
905
|
+
method=MethodInfo(
|
|
906
|
+
name="CreateSchema",
|
|
907
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
908
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaRequest,
|
|
909
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CreateSchemaResponse,
|
|
910
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
911
|
+
),
|
|
912
|
+
headers=headers,
|
|
913
|
+
timeout_ms=timeout_ms,
|
|
914
|
+
)
|
|
915
|
+
|
|
916
|
+
def check_compatibility(
|
|
917
|
+
self,
|
|
918
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
919
|
+
*,
|
|
920
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
921
|
+
timeout_ms: int | None = None,
|
|
922
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse:
|
|
923
|
+
return self.execute_unary(
|
|
924
|
+
request=request,
|
|
925
|
+
method=MethodInfo(
|
|
926
|
+
name="CheckCompatibility",
|
|
927
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
928
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityRequest,
|
|
929
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.CheckCompatibilityResponse,
|
|
930
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
931
|
+
),
|
|
932
|
+
headers=headers,
|
|
933
|
+
timeout_ms=timeout_ms,
|
|
934
|
+
)
|
|
935
|
+
|
|
936
|
+
def get_schema_metadata(
|
|
937
|
+
self,
|
|
938
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
939
|
+
*,
|
|
940
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
941
|
+
timeout_ms: int | None = None,
|
|
942
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse:
|
|
943
|
+
return self.execute_unary(
|
|
944
|
+
request=request,
|
|
945
|
+
method=MethodInfo(
|
|
946
|
+
name="GetSchemaMetadata",
|
|
947
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
948
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataRequest,
|
|
949
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaMetadataResponse,
|
|
950
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
951
|
+
),
|
|
952
|
+
headers=headers,
|
|
953
|
+
timeout_ms=timeout_ms,
|
|
954
|
+
)
|
|
955
|
+
|
|
956
|
+
def update_schema_metadata(
|
|
957
|
+
self,
|
|
958
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
959
|
+
*,
|
|
960
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
961
|
+
timeout_ms: int | None = None,
|
|
962
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse:
|
|
963
|
+
return self.execute_unary(
|
|
964
|
+
request=request,
|
|
965
|
+
method=MethodInfo(
|
|
966
|
+
name="UpdateSchemaMetadata",
|
|
967
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
968
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataRequest,
|
|
969
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.UpdateSchemaMetadataResponse,
|
|
970
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
971
|
+
),
|
|
972
|
+
headers=headers,
|
|
973
|
+
timeout_ms=timeout_ms,
|
|
974
|
+
)
|
|
975
|
+
|
|
976
|
+
def get_latest_schema(
|
|
977
|
+
self,
|
|
978
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
979
|
+
*,
|
|
980
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
981
|
+
timeout_ms: int | None = None,
|
|
982
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse:
|
|
983
|
+
return self.execute_unary(
|
|
984
|
+
request=request,
|
|
985
|
+
method=MethodInfo(
|
|
986
|
+
name="GetLatestSchema",
|
|
987
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
988
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaRequest,
|
|
989
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetLatestSchemaResponse,
|
|
990
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
991
|
+
),
|
|
992
|
+
headers=headers,
|
|
993
|
+
timeout_ms=timeout_ms,
|
|
994
|
+
)
|
|
995
|
+
|
|
996
|
+
def delete_schema(
|
|
997
|
+
self,
|
|
998
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
999
|
+
*,
|
|
1000
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
1001
|
+
timeout_ms: int | None = None,
|
|
1002
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse:
|
|
1003
|
+
return self.execute_unary(
|
|
1004
|
+
request=request,
|
|
1005
|
+
method=MethodInfo(
|
|
1006
|
+
name="DeleteSchema",
|
|
1007
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
1008
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaRequest,
|
|
1009
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteSchemaResponse,
|
|
1010
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
1011
|
+
),
|
|
1012
|
+
headers=headers,
|
|
1013
|
+
timeout_ms=timeout_ms,
|
|
1014
|
+
)
|
|
1015
|
+
|
|
1016
|
+
def get_schema(
|
|
1017
|
+
self,
|
|
1018
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
1019
|
+
*,
|
|
1020
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
1021
|
+
timeout_ms: int | None = None,
|
|
1022
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse:
|
|
1023
|
+
return self.execute_unary(
|
|
1024
|
+
request=request,
|
|
1025
|
+
method=MethodInfo(
|
|
1026
|
+
name="GetSchema",
|
|
1027
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
1028
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaRequest,
|
|
1029
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.GetSchemaResponse,
|
|
1030
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
1031
|
+
),
|
|
1032
|
+
headers=headers,
|
|
1033
|
+
timeout_ms=timeout_ms,
|
|
1034
|
+
)
|
|
1035
|
+
|
|
1036
|
+
def list_versions(
|
|
1037
|
+
self,
|
|
1038
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
1039
|
+
*,
|
|
1040
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
1041
|
+
timeout_ms: int | None = None,
|
|
1042
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse:
|
|
1043
|
+
return self.execute_unary(
|
|
1044
|
+
request=request,
|
|
1045
|
+
method=MethodInfo(
|
|
1046
|
+
name="ListVersions",
|
|
1047
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
1048
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsRequest,
|
|
1049
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.ListVersionsResponse,
|
|
1050
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
1051
|
+
),
|
|
1052
|
+
headers=headers,
|
|
1053
|
+
timeout_ms=timeout_ms,
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
def delete_version(
|
|
1057
|
+
self,
|
|
1058
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
1059
|
+
*,
|
|
1060
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
1061
|
+
timeout_ms: int | None = None,
|
|
1062
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse:
|
|
1063
|
+
return self.execute_unary(
|
|
1064
|
+
request=request,
|
|
1065
|
+
method=MethodInfo(
|
|
1066
|
+
name="DeleteVersion",
|
|
1067
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
1068
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionRequest,
|
|
1069
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.DeleteVersionResponse,
|
|
1070
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
1071
|
+
),
|
|
1072
|
+
headers=headers,
|
|
1073
|
+
timeout_ms=timeout_ms,
|
|
1074
|
+
)
|
|
1075
|
+
|
|
1076
|
+
def search(
|
|
1077
|
+
self,
|
|
1078
|
+
request: raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
1079
|
+
*,
|
|
1080
|
+
headers: Headers | Mapping[str, str] | None = None,
|
|
1081
|
+
timeout_ms: int | None = None,
|
|
1082
|
+
) -> raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse:
|
|
1083
|
+
return self.execute_unary(
|
|
1084
|
+
request=request,
|
|
1085
|
+
method=MethodInfo(
|
|
1086
|
+
name="Search",
|
|
1087
|
+
service_name="raystack.stencil.v1beta1.StencilService",
|
|
1088
|
+
input=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchRequest,
|
|
1089
|
+
output=raystack_dot_stencil_dot_v1beta1_dot_stencil__pb2.SearchResponse,
|
|
1090
|
+
idempotency_level=IdempotencyLevel.UNKNOWN,
|
|
1091
|
+
),
|
|
1092
|
+
headers=headers,
|
|
1093
|
+
timeout_ms=timeout_ms,
|
|
1094
|
+
)
|