chalkpy 2.93.5__py3-none-any.whl → 2.93.7__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.
- chalk/_gen/chalk/arrow/v1/arrow_pb2.py +7 -5
- chalk/_gen/chalk/arrow/v1/arrow_pb2.pyi +6 -0
- chalk/_gen/chalk/common/v1/offline_query_pb2.py +17 -15
- chalk/_gen/chalk/common/v1/offline_query_pb2.pyi +25 -0
- chalk/_gen/chalk/common/v1/script_task_pb2.py +3 -3
- chalk/_gen/chalk/common/v1/script_task_pb2.pyi +2 -0
- chalk/_gen/chalk/dataframe/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/__init__.py +0 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.py +48 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2.pyi +119 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.py +4 -0
- chalk/_gen/chalk/dataframe/v1/dataframe_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/graph/v1/graph_pb2.py +150 -149
- chalk/_gen/chalk/graph/v1/graph_pb2.pyi +5 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.py +79 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2.pyi +377 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.py +4 -0
- chalk/_gen/chalk/kubernetes/v1/horizontalpodautoscaler_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.py +43 -7
- chalk/_gen/chalk/kubernetes/v1/scaledobject_pb2.pyi +252 -2
- chalk/_gen/chalk/server/v1/benchmark_pb2.py +45 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2.pyi +74 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.py +78 -0
- chalk/_gen/chalk/server/v1/benchmark_pb2_grpc.pyi +36 -0
- chalk/_gen/chalk/server/v1/builder_pb2.py +218 -210
- chalk/_gen/chalk/server/v1/builder_pb2.pyi +59 -1
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.py +70 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2.pyi +219 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.py +170 -0
- chalk/_gen/chalk/server/v1/dataplaneworkflows_pb2_grpc.pyi +62 -0
- chalk/_gen/chalk/server/v1/files_pb2.py +65 -0
- chalk/_gen/chalk/server/v1/files_pb2.pyi +167 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.py +4 -0
- chalk/_gen/chalk/server/v1/files_pb2_grpc.pyi +4 -0
- chalk/_gen/chalk/server/v1/kube_pb2.py +29 -19
- chalk/_gen/chalk/server/v1/kube_pb2.pyi +28 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.py +45 -0
- chalk/_gen/chalk/server/v1/kube_pb2_grpc.pyi +12 -0
- chalk/_gen/chalk/server/v1/queries_pb2.py +66 -66
- chalk/_gen/chalk/server/v1/queries_pb2.pyi +20 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.py +75 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2.pyi +142 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.py +349 -0
- chalk/_gen/chalk/server/v1/sql_interface_pb2_grpc.pyi +114 -0
- chalk/_gen/chalk/server/v1/trace_pb2.py +44 -40
- chalk/_gen/chalk/server/v1/trace_pb2.pyi +12 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.py +62 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2.pyi +75 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.py +221 -0
- chalk/_gen/chalk/streaming/v1/debug_service_pb2_grpc.pyi +88 -0
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.py +8 -8
- chalk/_gen/chalk/streaming/v1/simple_streaming_service_pb2.pyi +4 -1
- chalk/_version.py +1 -1
- chalk/df/LazyFramePlaceholder.py +1129 -0
- chalk/features/_encoding/converter.py +23 -0
- chalk/features/resolver.py +9 -2
- chalk/operators/_utils.py +10 -3
- chalk/parsed/to_proto.py +7 -1
- {chalkpy-2.93.5.dist-info → chalkpy-2.93.7.dist-info}/METADATA +1 -1
- {chalkpy-2.93.5.dist-info → chalkpy-2.93.7.dist-info}/RECORD +63 -32
- {chalkpy-2.93.5.dist-info → chalkpy-2.93.7.dist-info}/WHEEL +0 -0
- {chalkpy-2.93.5.dist-info → chalkpy-2.93.7.dist-info}/entry_points.txt +0 -0
- {chalkpy-2.93.5.dist-info → chalkpy-2.93.7.dist-info}/top_level.txt +0 -0
|
@@ -575,6 +575,7 @@ class ClusterTimescaleSpecs(_message.Message):
|
|
|
575
575
|
"dns_hostname",
|
|
576
576
|
"bootstrap_cloud_resources",
|
|
577
577
|
"suspended",
|
|
578
|
+
"ip_allowlist",
|
|
578
579
|
)
|
|
579
580
|
class PostgresParametersEntry(_message.Message):
|
|
580
581
|
__slots__ = ("key", "value")
|
|
@@ -618,6 +619,7 @@ class ClusterTimescaleSpecs(_message.Message):
|
|
|
618
619
|
DNS_HOSTNAME_FIELD_NUMBER: _ClassVar[int]
|
|
619
620
|
BOOTSTRAP_CLOUD_RESOURCES_FIELD_NUMBER: _ClassVar[int]
|
|
620
621
|
SUSPENDED_FIELD_NUMBER: _ClassVar[int]
|
|
622
|
+
IP_ALLOWLIST_FIELD_NUMBER: _ClassVar[int]
|
|
621
623
|
timescale_image: str
|
|
622
624
|
database_name: str
|
|
623
625
|
database_replicas: int
|
|
@@ -644,6 +646,7 @@ class ClusterTimescaleSpecs(_message.Message):
|
|
|
644
646
|
dns_hostname: str
|
|
645
647
|
bootstrap_cloud_resources: bool
|
|
646
648
|
suspended: bool
|
|
649
|
+
ip_allowlist: _containers.RepeatedScalarFieldContainer[str]
|
|
647
650
|
def __init__(
|
|
648
651
|
self,
|
|
649
652
|
timescale_image: _Optional[str] = ...,
|
|
@@ -672,6 +675,7 @@ class ClusterTimescaleSpecs(_message.Message):
|
|
|
672
675
|
dns_hostname: _Optional[str] = ...,
|
|
673
676
|
bootstrap_cloud_resources: bool = ...,
|
|
674
677
|
suspended: bool = ...,
|
|
678
|
+
ip_allowlist: _Optional[_Iterable[str]] = ...,
|
|
675
679
|
) -> None: ...
|
|
676
680
|
|
|
677
681
|
class CreateClusterTimescaleDBResponse(_message.Message):
|
|
@@ -1326,20 +1330,73 @@ class ClickHouseSpec(_message.Message):
|
|
|
1326
1330
|
instance_type: _Optional[str] = ...,
|
|
1327
1331
|
) -> None: ...
|
|
1328
1332
|
|
|
1333
|
+
class ZombieKillerSpec(_message.Message):
|
|
1334
|
+
__slots__ = ()
|
|
1335
|
+
def __init__(self) -> None: ...
|
|
1336
|
+
|
|
1337
|
+
class CoreDumpCollectorSpec(_message.Message):
|
|
1338
|
+
__slots__ = ()
|
|
1339
|
+
def __init__(self) -> None: ...
|
|
1340
|
+
|
|
1341
|
+
class PySpyStackTraceCollectorSpec(_message.Message):
|
|
1342
|
+
__slots__ = ()
|
|
1343
|
+
def __init__(self) -> None: ...
|
|
1344
|
+
|
|
1345
|
+
class ObservabilityDaemonSpec(_message.Message):
|
|
1346
|
+
__slots__ = (
|
|
1347
|
+
"keep_running_when_suspended",
|
|
1348
|
+
"request",
|
|
1349
|
+
"limit",
|
|
1350
|
+
"zombie_killer",
|
|
1351
|
+
"core_dump_collector",
|
|
1352
|
+
"py_spy_stack_trace_collector",
|
|
1353
|
+
)
|
|
1354
|
+
KEEP_RUNNING_WHEN_SUSPENDED_FIELD_NUMBER: _ClassVar[int]
|
|
1355
|
+
REQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
1356
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
1357
|
+
ZOMBIE_KILLER_FIELD_NUMBER: _ClassVar[int]
|
|
1358
|
+
CORE_DUMP_COLLECTOR_FIELD_NUMBER: _ClassVar[int]
|
|
1359
|
+
PY_SPY_STACK_TRACE_COLLECTOR_FIELD_NUMBER: _ClassVar[int]
|
|
1360
|
+
keep_running_when_suspended: bool
|
|
1361
|
+
request: KubeResourceConfig
|
|
1362
|
+
limit: KubeResourceConfig
|
|
1363
|
+
zombie_killer: ZombieKillerSpec
|
|
1364
|
+
core_dump_collector: CoreDumpCollectorSpec
|
|
1365
|
+
py_spy_stack_trace_collector: PySpyStackTraceCollectorSpec
|
|
1366
|
+
def __init__(
|
|
1367
|
+
self,
|
|
1368
|
+
keep_running_when_suspended: bool = ...,
|
|
1369
|
+
request: _Optional[_Union[KubeResourceConfig, _Mapping]] = ...,
|
|
1370
|
+
limit: _Optional[_Union[KubeResourceConfig, _Mapping]] = ...,
|
|
1371
|
+
zombie_killer: _Optional[_Union[ZombieKillerSpec, _Mapping]] = ...,
|
|
1372
|
+
core_dump_collector: _Optional[_Union[CoreDumpCollectorSpec, _Mapping]] = ...,
|
|
1373
|
+
py_spy_stack_trace_collector: _Optional[_Union[PySpyStackTraceCollectorSpec, _Mapping]] = ...,
|
|
1374
|
+
) -> None: ...
|
|
1375
|
+
|
|
1329
1376
|
class TelemetryDeploymentSpec(_message.Message):
|
|
1330
|
-
__slots__ = (
|
|
1377
|
+
__slots__ = (
|
|
1378
|
+
"namespace",
|
|
1379
|
+
"click_house",
|
|
1380
|
+
"otel",
|
|
1381
|
+
"node_selectors",
|
|
1382
|
+
"dns_name_override",
|
|
1383
|
+
"aggregator",
|
|
1384
|
+
"observability_daemons",
|
|
1385
|
+
)
|
|
1331
1386
|
NAMESPACE_FIELD_NUMBER: _ClassVar[int]
|
|
1332
1387
|
CLICK_HOUSE_FIELD_NUMBER: _ClassVar[int]
|
|
1333
1388
|
OTEL_FIELD_NUMBER: _ClassVar[int]
|
|
1334
1389
|
NODE_SELECTORS_FIELD_NUMBER: _ClassVar[int]
|
|
1335
1390
|
DNS_NAME_OVERRIDE_FIELD_NUMBER: _ClassVar[int]
|
|
1336
1391
|
AGGREGATOR_FIELD_NUMBER: _ClassVar[int]
|
|
1392
|
+
OBSERVABILITY_DAEMONS_FIELD_NUMBER: _ClassVar[int]
|
|
1337
1393
|
namespace: str
|
|
1338
1394
|
click_house: ClickHouseSpec
|
|
1339
1395
|
otel: OtelCollectorSpec
|
|
1340
1396
|
node_selectors: _containers.RepeatedCompositeFieldContainer[KubeNodeSelector]
|
|
1341
1397
|
dns_name_override: str
|
|
1342
1398
|
aggregator: AggregatorSpec
|
|
1399
|
+
observability_daemons: _containers.RepeatedCompositeFieldContainer[ObservabilityDaemonSpec]
|
|
1343
1400
|
def __init__(
|
|
1344
1401
|
self,
|
|
1345
1402
|
namespace: _Optional[str] = ...,
|
|
@@ -1348,6 +1405,7 @@ class TelemetryDeploymentSpec(_message.Message):
|
|
|
1348
1405
|
node_selectors: _Optional[_Iterable[_Union[KubeNodeSelector, _Mapping]]] = ...,
|
|
1349
1406
|
dns_name_override: _Optional[str] = ...,
|
|
1350
1407
|
aggregator: _Optional[_Union[AggregatorSpec, _Mapping]] = ...,
|
|
1408
|
+
observability_daemons: _Optional[_Iterable[_Union[ObservabilityDaemonSpec, _Mapping]]] = ...,
|
|
1351
1409
|
) -> None: ...
|
|
1352
1410
|
|
|
1353
1411
|
class TelemetryDeployment(_message.Message):
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: chalk/server/v1/dataplaneworkflows.proto
|
|
4
|
+
# Protobuf Python Version: 4.25.3
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
10
|
+
from google.protobuf.internal import builder as _builder
|
|
11
|
+
# @@protoc_insertion_point(imports)
|
|
12
|
+
|
|
13
|
+
_sym_db = _symbol_database.Default()
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as chalk_dot_auth_dot_v1_dot_permissions__pb2
|
|
17
|
+
from chalk._gen.chalk.server.v1 import dataplanejobqueue_pb2 as chalk_dot_server_dot_v1_dot_dataplanejobqueue__pb2
|
|
18
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
19
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
23
|
+
b'\n(chalk/server/v1/dataplaneworkflows.proto\x12\x0f\x63halk.server.v1\x1a\x1f\x63halk/auth/v1/permissions.proto\x1a\'chalk/server/v1/dataplanejobqueue.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xc5\x05\n\x11WorkflowExecution\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x39\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x04 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x05 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x06 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12$\n\x0b\x62ranch_name\x18\x07 \x01(\tH\x00R\nbranchName\x88\x01\x01\x12\x39\n\x16mainline_deployment_id\x18\x08 \x01(\tH\x01R\x14mainlineDeploymentId\x88\x01\x01\x12\x1e\n\x08\x61gent_id\x18\t \x01(\tH\x02R\x07\x61gentId\x88\x01\x01\x12\x39\n\tmeta_data\x18\n \x01(\x0b\x32\x17.google.protobuf.StructH\x03R\x08metaData\x88\x01\x01\x12>\n\nupdated_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04R\tupdatedAt\x88\x01\x01\x12\x42\n\x0c\x66inalized_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x05R\x0b\x66inalizedAt\x88\x01\x01\x42\x0e\n\x0c_branch_nameB\x19\n\x17_mainline_deployment_idB\x0b\n\t_agent_idB\x0c\n\n_meta_dataB\r\n\x0b_updated_atB\x0f\n\r_finalized_at"-\n\x1bGetDataPlaneWorkflowRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x1cGetDataPlaneWorkflowResponse\x12>\n\x08workflow\x18\x01 \x01(\x0b\x32".chalk.server.v1.WorkflowExecutionR\x08workflow"\x8e\x02\n\x1dListDataPlaneWorkflowsRequest\x12%\n\x0e\x65nvironment_id\x18\x01 \x01(\tR\renvironmentId\x12#\n\rdeployment_id\x18\x02 \x01(\tR\x0c\x64\x65ploymentId\x12\x31\n\x04kind\x18\x03 \x01(\x0e\x32\x1d.chalk.server.v1.WorkflowKindR\x04kind\x12@\n\x06status\x18\x04 \x01(\x0e\x32(.chalk.server.v1.WorkflowExecutionStatusR\x06status\x12\x14\n\x05limit\x18\x05 \x01(\x05R\x05limit\x12\x16\n\x06offset\x18\x06 \x01(\x05R\x06offset"x\n\x1eListDataPlaneWorkflowsResponse\x12@\n\tworkflows\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowExecutionR\tworkflows\x12\x14\n\x05total\x18\x02 \x01(\x05R\x05total"M\n\x17GetWorkflowGraphRequest\x12\x32\n\x15workflow_execution_id\x18\x01 \x01(\tR\x13workflowExecutionId"\xc3\x03\n\x11WorkflowGraphNode\x12 \n\x0cjob_queue_id\x18\x01 \x01(\x05R\njobQueueId\x12!\n\x0coperation_id\x18\x02 \x01(\tR\x0boperationId\x12\x19\n\x08job_name\x18\x03 \x01(\tR\x07jobName\x12 \n\tjob_index\x18\x04 \x01(\x03H\x00R\x08jobIndex\x88\x01\x01\x12\x34\n\x05state\x18\x05 \x01(\x0e\x32\x1e.chalk.server.v1.JobQueueStateR\x05state\x12\x31\n\x04kind\x18\x06 \x01(\x0e\x32\x1d.chalk.server.v1.JobQueueKindR\x04kind\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x42\n\x0c\x66inalized_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\x0b\x66inalizedAt\x88\x01\x01\x12%\n\x0eresource_group\x18\t \x01(\tR\rresourceGroupB\x0c\n\n_job_indexB\x0f\n\r_finalized_at"\xc8\x01\n\x11WorkflowGraphEdge\x12.\n\x13source_operation_id\x18\x01 \x01(\tR\x11sourceOperationId\x12.\n\x13target_operation_id\x18\x02 \x01(\tR\x11targetOperationId\x12\x42\n\x0csatisfied_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0bsatisfiedAt\x88\x01\x01\x42\x0f\n\r_satisfied_at"\x8e\x01\n\x18GetWorkflowGraphResponse\x12\x38\n\x05nodes\x18\x01 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphNodeR\x05nodes\x12\x38\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32".chalk.server.v1.WorkflowGraphEdgeR\x05\x65\x64ges*_\n\x0cWorkflowKind\x12\x1d\n\x19WORKFLOW_KIND_UNSPECIFIED\x10\x00\x12\x18\n\x14WORKFLOW_KIND_MANUAL\x10\x01\x12\x16\n\x12WORKFLOW_KIND_CRON\x10\x02*\x88\x02\n\x17WorkflowExecutionStatus\x12)\n%WORKFLOW_EXECUTION_STATUS_UNSPECIFIED\x10\x00\x12$\n WORKFLOW_EXECUTION_STATUS_QUEUED\x10\x01\x12%\n!WORKFLOW_EXECUTION_STATUS_WORKING\x10\x02\x12\'\n#WORKFLOW_EXECUTION_STATUS_COMPLETED\x10\x03\x12$\n WORKFLOW_EXECUTION_STATUS_FAILED\x10\x04\x12&\n"WORKFLOW_EXECUTION_STATUS_CANCELED\x10\x05\x32\x8d\x03\n\x19\x44\x61taPlaneWorkflowsService\x12{\n\x14GetDataPlaneWorkflow\x12,.chalk.server.v1.GetDataPlaneWorkflowRequest\x1a-.chalk.server.v1.GetDataPlaneWorkflowResponse"\x06\x90\x02\x01\x80}\x10\x12\x81\x01\n\x16ListDataPlaneWorkflows\x12..chalk.server.v1.ListDataPlaneWorkflowsRequest\x1a/.chalk.server.v1.ListDataPlaneWorkflowsResponse"\x06\x90\x02\x01\x80}\x10\x12o\n\x10GetWorkflowGraph\x12(.chalk.server.v1.GetWorkflowGraphRequest\x1a).chalk.server.v1.GetWorkflowGraphResponse"\x06\x90\x02\x01\x80}\x10\x42\xa0\x01\n\x13\x63om.chalk.server.v1B\x17\x44\x61taplaneworkflowsProtoP\x01Z\x12server/v1;serverv1\xa2\x02\x03\x43SX\xaa\x02\x0f\x43halk.Server.V1\xca\x02\x0f\x43halk\\Server\\V1\xe2\x02\x1b\x43halk\\Server\\V1\\GPBMetadata\xea\x02\x11\x43halk::Server::V1b\x06proto3'
|
|
24
|
+
)
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "chalk.server.v1.dataplaneworkflows_pb2", _globals)
|
|
29
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
30
|
+
_globals["DESCRIPTOR"]._options = None
|
|
31
|
+
_globals[
|
|
32
|
+
"DESCRIPTOR"
|
|
33
|
+
]._serialized_options = b"\n\023com.chalk.server.v1B\027DataplaneworkflowsProtoP\001Z\022server/v1;serverv1\242\002\003CSX\252\002\017Chalk.Server.V1\312\002\017Chalk\\Server\\V1\342\002\033Chalk\\Server\\V1\\GPBMetadata\352\002\021Chalk::Server::V1"
|
|
34
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name["GetDataPlaneWorkflow"]._options = None
|
|
35
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name[
|
|
36
|
+
"GetDataPlaneWorkflow"
|
|
37
|
+
]._serialized_options = b"\220\002\001\200}\020"
|
|
38
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name["ListDataPlaneWorkflows"]._options = None
|
|
39
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name[
|
|
40
|
+
"ListDataPlaneWorkflows"
|
|
41
|
+
]._serialized_options = b"\220\002\001\200}\020"
|
|
42
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name["GetWorkflowGraph"]._options = None
|
|
43
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"].methods_by_name[
|
|
44
|
+
"GetWorkflowGraph"
|
|
45
|
+
]._serialized_options = b"\220\002\001\200}\020"
|
|
46
|
+
_globals["_WORKFLOWKIND"]._serialized_start = 2329
|
|
47
|
+
_globals["_WORKFLOWKIND"]._serialized_end = 2424
|
|
48
|
+
_globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_start = 2427
|
|
49
|
+
_globals["_WORKFLOWEXECUTIONSTATUS"]._serialized_end = 2691
|
|
50
|
+
_globals["_WORKFLOWEXECUTION"]._serialized_start = 199
|
|
51
|
+
_globals["_WORKFLOWEXECUTION"]._serialized_end = 908
|
|
52
|
+
_globals["_GETDATAPLANEWORKFLOWREQUEST"]._serialized_start = 910
|
|
53
|
+
_globals["_GETDATAPLANEWORKFLOWREQUEST"]._serialized_end = 955
|
|
54
|
+
_globals["_GETDATAPLANEWORKFLOWRESPONSE"]._serialized_start = 957
|
|
55
|
+
_globals["_GETDATAPLANEWORKFLOWRESPONSE"]._serialized_end = 1051
|
|
56
|
+
_globals["_LISTDATAPLANEWORKFLOWSREQUEST"]._serialized_start = 1054
|
|
57
|
+
_globals["_LISTDATAPLANEWORKFLOWSREQUEST"]._serialized_end = 1324
|
|
58
|
+
_globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_start = 1326
|
|
59
|
+
_globals["_LISTDATAPLANEWORKFLOWSRESPONSE"]._serialized_end = 1446
|
|
60
|
+
_globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_start = 1448
|
|
61
|
+
_globals["_GETWORKFLOWGRAPHREQUEST"]._serialized_end = 1525
|
|
62
|
+
_globals["_WORKFLOWGRAPHNODE"]._serialized_start = 1528
|
|
63
|
+
_globals["_WORKFLOWGRAPHNODE"]._serialized_end = 1979
|
|
64
|
+
_globals["_WORKFLOWGRAPHEDGE"]._serialized_start = 1982
|
|
65
|
+
_globals["_WORKFLOWGRAPHEDGE"]._serialized_end = 2182
|
|
66
|
+
_globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_start = 2185
|
|
67
|
+
_globals["_GETWORKFLOWGRAPHRESPONSE"]._serialized_end = 2327
|
|
68
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_start = 2694
|
|
69
|
+
_globals["_DATAPLANEWORKFLOWSSERVICE"]._serialized_end = 3091
|
|
70
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
from chalk._gen.chalk.auth.v1 import permissions_pb2 as _permissions_pb2
|
|
2
|
+
from chalk._gen.chalk.server.v1 import dataplanejobqueue_pb2 as _dataplanejobqueue_pb2
|
|
3
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
5
|
+
from google.protobuf.internal import containers as _containers
|
|
6
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import message as _message
|
|
9
|
+
from typing import (
|
|
10
|
+
ClassVar as _ClassVar,
|
|
11
|
+
Iterable as _Iterable,
|
|
12
|
+
Mapping as _Mapping,
|
|
13
|
+
Optional as _Optional,
|
|
14
|
+
Union as _Union,
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
18
|
+
|
|
19
|
+
class WorkflowKind(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
20
|
+
__slots__ = ()
|
|
21
|
+
WORKFLOW_KIND_UNSPECIFIED: _ClassVar[WorkflowKind]
|
|
22
|
+
WORKFLOW_KIND_MANUAL: _ClassVar[WorkflowKind]
|
|
23
|
+
WORKFLOW_KIND_CRON: _ClassVar[WorkflowKind]
|
|
24
|
+
|
|
25
|
+
class WorkflowExecutionStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
26
|
+
__slots__ = ()
|
|
27
|
+
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: _ClassVar[WorkflowExecutionStatus]
|
|
28
|
+
WORKFLOW_EXECUTION_STATUS_QUEUED: _ClassVar[WorkflowExecutionStatus]
|
|
29
|
+
WORKFLOW_EXECUTION_STATUS_WORKING: _ClassVar[WorkflowExecutionStatus]
|
|
30
|
+
WORKFLOW_EXECUTION_STATUS_COMPLETED: _ClassVar[WorkflowExecutionStatus]
|
|
31
|
+
WORKFLOW_EXECUTION_STATUS_FAILED: _ClassVar[WorkflowExecutionStatus]
|
|
32
|
+
WORKFLOW_EXECUTION_STATUS_CANCELED: _ClassVar[WorkflowExecutionStatus]
|
|
33
|
+
|
|
34
|
+
WORKFLOW_KIND_UNSPECIFIED: WorkflowKind
|
|
35
|
+
WORKFLOW_KIND_MANUAL: WorkflowKind
|
|
36
|
+
WORKFLOW_KIND_CRON: WorkflowKind
|
|
37
|
+
WORKFLOW_EXECUTION_STATUS_UNSPECIFIED: WorkflowExecutionStatus
|
|
38
|
+
WORKFLOW_EXECUTION_STATUS_QUEUED: WorkflowExecutionStatus
|
|
39
|
+
WORKFLOW_EXECUTION_STATUS_WORKING: WorkflowExecutionStatus
|
|
40
|
+
WORKFLOW_EXECUTION_STATUS_COMPLETED: WorkflowExecutionStatus
|
|
41
|
+
WORKFLOW_EXECUTION_STATUS_FAILED: WorkflowExecutionStatus
|
|
42
|
+
WORKFLOW_EXECUTION_STATUS_CANCELED: WorkflowExecutionStatus
|
|
43
|
+
|
|
44
|
+
class WorkflowExecution(_message.Message):
|
|
45
|
+
__slots__ = (
|
|
46
|
+
"id",
|
|
47
|
+
"created_at",
|
|
48
|
+
"environment_id",
|
|
49
|
+
"deployment_id",
|
|
50
|
+
"kind",
|
|
51
|
+
"status",
|
|
52
|
+
"branch_name",
|
|
53
|
+
"mainline_deployment_id",
|
|
54
|
+
"agent_id",
|
|
55
|
+
"meta_data",
|
|
56
|
+
"updated_at",
|
|
57
|
+
"finalized_at",
|
|
58
|
+
)
|
|
59
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
BRANCH_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
MAINLINE_DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
AGENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
META_DATA_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
FINALIZED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
id: str
|
|
72
|
+
created_at: _timestamp_pb2.Timestamp
|
|
73
|
+
environment_id: str
|
|
74
|
+
deployment_id: str
|
|
75
|
+
kind: WorkflowKind
|
|
76
|
+
status: WorkflowExecutionStatus
|
|
77
|
+
branch_name: str
|
|
78
|
+
mainline_deployment_id: str
|
|
79
|
+
agent_id: str
|
|
80
|
+
meta_data: _struct_pb2.Struct
|
|
81
|
+
updated_at: _timestamp_pb2.Timestamp
|
|
82
|
+
finalized_at: _timestamp_pb2.Timestamp
|
|
83
|
+
def __init__(
|
|
84
|
+
self,
|
|
85
|
+
id: _Optional[str] = ...,
|
|
86
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
87
|
+
environment_id: _Optional[str] = ...,
|
|
88
|
+
deployment_id: _Optional[str] = ...,
|
|
89
|
+
kind: _Optional[_Union[WorkflowKind, str]] = ...,
|
|
90
|
+
status: _Optional[_Union[WorkflowExecutionStatus, str]] = ...,
|
|
91
|
+
branch_name: _Optional[str] = ...,
|
|
92
|
+
mainline_deployment_id: _Optional[str] = ...,
|
|
93
|
+
agent_id: _Optional[str] = ...,
|
|
94
|
+
meta_data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...,
|
|
95
|
+
updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
96
|
+
finalized_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
97
|
+
) -> None: ...
|
|
98
|
+
|
|
99
|
+
class GetDataPlaneWorkflowRequest(_message.Message):
|
|
100
|
+
__slots__ = ("id",)
|
|
101
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
id: str
|
|
103
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class GetDataPlaneWorkflowResponse(_message.Message):
|
|
106
|
+
__slots__ = ("workflow",)
|
|
107
|
+
WORKFLOW_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
workflow: WorkflowExecution
|
|
109
|
+
def __init__(self, workflow: _Optional[_Union[WorkflowExecution, _Mapping]] = ...) -> None: ...
|
|
110
|
+
|
|
111
|
+
class ListDataPlaneWorkflowsRequest(_message.Message):
|
|
112
|
+
__slots__ = ("environment_id", "deployment_id", "kind", "status", "limit", "offset")
|
|
113
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
DEPLOYMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
118
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
environment_id: str
|
|
120
|
+
deployment_id: str
|
|
121
|
+
kind: WorkflowKind
|
|
122
|
+
status: WorkflowExecutionStatus
|
|
123
|
+
limit: int
|
|
124
|
+
offset: int
|
|
125
|
+
def __init__(
|
|
126
|
+
self,
|
|
127
|
+
environment_id: _Optional[str] = ...,
|
|
128
|
+
deployment_id: _Optional[str] = ...,
|
|
129
|
+
kind: _Optional[_Union[WorkflowKind, str]] = ...,
|
|
130
|
+
status: _Optional[_Union[WorkflowExecutionStatus, str]] = ...,
|
|
131
|
+
limit: _Optional[int] = ...,
|
|
132
|
+
offset: _Optional[int] = ...,
|
|
133
|
+
) -> None: ...
|
|
134
|
+
|
|
135
|
+
class ListDataPlaneWorkflowsResponse(_message.Message):
|
|
136
|
+
__slots__ = ("workflows", "total")
|
|
137
|
+
WORKFLOWS_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
TOTAL_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
workflows: _containers.RepeatedCompositeFieldContainer[WorkflowExecution]
|
|
140
|
+
total: int
|
|
141
|
+
def __init__(
|
|
142
|
+
self, workflows: _Optional[_Iterable[_Union[WorkflowExecution, _Mapping]]] = ..., total: _Optional[int] = ...
|
|
143
|
+
) -> None: ...
|
|
144
|
+
|
|
145
|
+
class GetWorkflowGraphRequest(_message.Message):
|
|
146
|
+
__slots__ = ("workflow_execution_id",)
|
|
147
|
+
WORKFLOW_EXECUTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
148
|
+
workflow_execution_id: str
|
|
149
|
+
def __init__(self, workflow_execution_id: _Optional[str] = ...) -> None: ...
|
|
150
|
+
|
|
151
|
+
class WorkflowGraphNode(_message.Message):
|
|
152
|
+
__slots__ = (
|
|
153
|
+
"job_queue_id",
|
|
154
|
+
"operation_id",
|
|
155
|
+
"job_name",
|
|
156
|
+
"job_index",
|
|
157
|
+
"state",
|
|
158
|
+
"kind",
|
|
159
|
+
"created_at",
|
|
160
|
+
"finalized_at",
|
|
161
|
+
"resource_group",
|
|
162
|
+
)
|
|
163
|
+
JOB_QUEUE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
164
|
+
OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
165
|
+
JOB_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
166
|
+
JOB_INDEX_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
+
STATE_FIELD_NUMBER: _ClassVar[int]
|
|
168
|
+
KIND_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
CREATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
FINALIZED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
+
RESOURCE_GROUP_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
job_queue_id: int
|
|
173
|
+
operation_id: str
|
|
174
|
+
job_name: str
|
|
175
|
+
job_index: int
|
|
176
|
+
state: _dataplanejobqueue_pb2.JobQueueState
|
|
177
|
+
kind: _dataplanejobqueue_pb2.JobQueueKind
|
|
178
|
+
created_at: _timestamp_pb2.Timestamp
|
|
179
|
+
finalized_at: _timestamp_pb2.Timestamp
|
|
180
|
+
resource_group: str
|
|
181
|
+
def __init__(
|
|
182
|
+
self,
|
|
183
|
+
job_queue_id: _Optional[int] = ...,
|
|
184
|
+
operation_id: _Optional[str] = ...,
|
|
185
|
+
job_name: _Optional[str] = ...,
|
|
186
|
+
job_index: _Optional[int] = ...,
|
|
187
|
+
state: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueState, str]] = ...,
|
|
188
|
+
kind: _Optional[_Union[_dataplanejobqueue_pb2.JobQueueKind, str]] = ...,
|
|
189
|
+
created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
190
|
+
finalized_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
191
|
+
resource_group: _Optional[str] = ...,
|
|
192
|
+
) -> None: ...
|
|
193
|
+
|
|
194
|
+
class WorkflowGraphEdge(_message.Message):
|
|
195
|
+
__slots__ = ("source_operation_id", "target_operation_id", "satisfied_at")
|
|
196
|
+
SOURCE_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
TARGET_OPERATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
198
|
+
SATISFIED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
199
|
+
source_operation_id: str
|
|
200
|
+
target_operation_id: str
|
|
201
|
+
satisfied_at: _timestamp_pb2.Timestamp
|
|
202
|
+
def __init__(
|
|
203
|
+
self,
|
|
204
|
+
source_operation_id: _Optional[str] = ...,
|
|
205
|
+
target_operation_id: _Optional[str] = ...,
|
|
206
|
+
satisfied_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...,
|
|
207
|
+
) -> None: ...
|
|
208
|
+
|
|
209
|
+
class GetWorkflowGraphResponse(_message.Message):
|
|
210
|
+
__slots__ = ("nodes", "edges")
|
|
211
|
+
NODES_FIELD_NUMBER: _ClassVar[int]
|
|
212
|
+
EDGES_FIELD_NUMBER: _ClassVar[int]
|
|
213
|
+
nodes: _containers.RepeatedCompositeFieldContainer[WorkflowGraphNode]
|
|
214
|
+
edges: _containers.RepeatedCompositeFieldContainer[WorkflowGraphEdge]
|
|
215
|
+
def __init__(
|
|
216
|
+
self,
|
|
217
|
+
nodes: _Optional[_Iterable[_Union[WorkflowGraphNode, _Mapping]]] = ...,
|
|
218
|
+
edges: _Optional[_Iterable[_Union[WorkflowGraphEdge, _Mapping]]] = ...,
|
|
219
|
+
) -> None: ...
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
|
|
4
|
+
import grpc
|
|
5
|
+
|
|
6
|
+
from chalk._gen.chalk.server.v1 import dataplaneworkflows_pb2 as chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class DataPlaneWorkflowsServiceStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.GetDataPlaneWorkflow = channel.unary_unary(
|
|
19
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/GetDataPlaneWorkflow",
|
|
20
|
+
request_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowRequest.SerializeToString,
|
|
21
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.ListDataPlaneWorkflows = channel.unary_unary(
|
|
24
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/ListDataPlaneWorkflows",
|
|
25
|
+
request_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsRequest.SerializeToString,
|
|
26
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.GetWorkflowGraph = channel.unary_unary(
|
|
29
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/GetWorkflowGraph",
|
|
30
|
+
request_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphRequest.SerializeToString,
|
|
31
|
+
response_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class DataPlaneWorkflowsServiceServicer(object):
|
|
36
|
+
"""Missing associated documentation comment in .proto file."""
|
|
37
|
+
|
|
38
|
+
def GetDataPlaneWorkflow(self, request, context):
|
|
39
|
+
"""Missing associated documentation comment in .proto file."""
|
|
40
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
41
|
+
context.set_details("Method not implemented!")
|
|
42
|
+
raise NotImplementedError("Method not implemented!")
|
|
43
|
+
|
|
44
|
+
def ListDataPlaneWorkflows(self, request, context):
|
|
45
|
+
"""Missing associated documentation comment in .proto file."""
|
|
46
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
47
|
+
context.set_details("Method not implemented!")
|
|
48
|
+
raise NotImplementedError("Method not implemented!")
|
|
49
|
+
|
|
50
|
+
def GetWorkflowGraph(self, request, context):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details("Method not implemented!")
|
|
54
|
+
raise NotImplementedError("Method not implemented!")
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def add_DataPlaneWorkflowsServiceServicer_to_server(servicer, server):
|
|
58
|
+
rpc_method_handlers = {
|
|
59
|
+
"GetDataPlaneWorkflow": grpc.unary_unary_rpc_method_handler(
|
|
60
|
+
servicer.GetDataPlaneWorkflow,
|
|
61
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowRequest.FromString,
|
|
62
|
+
response_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowResponse.SerializeToString,
|
|
63
|
+
),
|
|
64
|
+
"ListDataPlaneWorkflows": grpc.unary_unary_rpc_method_handler(
|
|
65
|
+
servicer.ListDataPlaneWorkflows,
|
|
66
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsRequest.FromString,
|
|
67
|
+
response_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsResponse.SerializeToString,
|
|
68
|
+
),
|
|
69
|
+
"GetWorkflowGraph": grpc.unary_unary_rpc_method_handler(
|
|
70
|
+
servicer.GetWorkflowGraph,
|
|
71
|
+
request_deserializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphRequest.FromString,
|
|
72
|
+
response_serializer=chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphResponse.SerializeToString,
|
|
73
|
+
),
|
|
74
|
+
}
|
|
75
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
76
|
+
"chalk.server.v1.DataPlaneWorkflowsService", rpc_method_handlers
|
|
77
|
+
)
|
|
78
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
# This class is part of an EXPERIMENTAL API.
|
|
82
|
+
class DataPlaneWorkflowsService(object):
|
|
83
|
+
"""Missing associated documentation comment in .proto file."""
|
|
84
|
+
|
|
85
|
+
@staticmethod
|
|
86
|
+
def GetDataPlaneWorkflow(
|
|
87
|
+
request,
|
|
88
|
+
target,
|
|
89
|
+
options=(),
|
|
90
|
+
channel_credentials=None,
|
|
91
|
+
call_credentials=None,
|
|
92
|
+
insecure=False,
|
|
93
|
+
compression=None,
|
|
94
|
+
wait_for_ready=None,
|
|
95
|
+
timeout=None,
|
|
96
|
+
metadata=None,
|
|
97
|
+
):
|
|
98
|
+
return grpc.experimental.unary_unary(
|
|
99
|
+
request,
|
|
100
|
+
target,
|
|
101
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/GetDataPlaneWorkflow",
|
|
102
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowRequest.SerializeToString,
|
|
103
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetDataPlaneWorkflowResponse.FromString,
|
|
104
|
+
options,
|
|
105
|
+
channel_credentials,
|
|
106
|
+
insecure,
|
|
107
|
+
call_credentials,
|
|
108
|
+
compression,
|
|
109
|
+
wait_for_ready,
|
|
110
|
+
timeout,
|
|
111
|
+
metadata,
|
|
112
|
+
)
|
|
113
|
+
|
|
114
|
+
@staticmethod
|
|
115
|
+
def ListDataPlaneWorkflows(
|
|
116
|
+
request,
|
|
117
|
+
target,
|
|
118
|
+
options=(),
|
|
119
|
+
channel_credentials=None,
|
|
120
|
+
call_credentials=None,
|
|
121
|
+
insecure=False,
|
|
122
|
+
compression=None,
|
|
123
|
+
wait_for_ready=None,
|
|
124
|
+
timeout=None,
|
|
125
|
+
metadata=None,
|
|
126
|
+
):
|
|
127
|
+
return grpc.experimental.unary_unary(
|
|
128
|
+
request,
|
|
129
|
+
target,
|
|
130
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/ListDataPlaneWorkflows",
|
|
131
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsRequest.SerializeToString,
|
|
132
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.ListDataPlaneWorkflowsResponse.FromString,
|
|
133
|
+
options,
|
|
134
|
+
channel_credentials,
|
|
135
|
+
insecure,
|
|
136
|
+
call_credentials,
|
|
137
|
+
compression,
|
|
138
|
+
wait_for_ready,
|
|
139
|
+
timeout,
|
|
140
|
+
metadata,
|
|
141
|
+
)
|
|
142
|
+
|
|
143
|
+
@staticmethod
|
|
144
|
+
def GetWorkflowGraph(
|
|
145
|
+
request,
|
|
146
|
+
target,
|
|
147
|
+
options=(),
|
|
148
|
+
channel_credentials=None,
|
|
149
|
+
call_credentials=None,
|
|
150
|
+
insecure=False,
|
|
151
|
+
compression=None,
|
|
152
|
+
wait_for_ready=None,
|
|
153
|
+
timeout=None,
|
|
154
|
+
metadata=None,
|
|
155
|
+
):
|
|
156
|
+
return grpc.experimental.unary_unary(
|
|
157
|
+
request,
|
|
158
|
+
target,
|
|
159
|
+
"/chalk.server.v1.DataPlaneWorkflowsService/GetWorkflowGraph",
|
|
160
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphRequest.SerializeToString,
|
|
161
|
+
chalk_dot_server_dot_v1_dot_dataplaneworkflows__pb2.GetWorkflowGraphResponse.FromString,
|
|
162
|
+
options,
|
|
163
|
+
channel_credentials,
|
|
164
|
+
insecure,
|
|
165
|
+
call_credentials,
|
|
166
|
+
compression,
|
|
167
|
+
wait_for_ready,
|
|
168
|
+
timeout,
|
|
169
|
+
metadata,
|
|
170
|
+
)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from abc import (
|
|
7
|
+
ABCMeta,
|
|
8
|
+
abstractmethod,
|
|
9
|
+
)
|
|
10
|
+
from chalk._gen.chalk.server.v1.dataplaneworkflows_pb2 import (
|
|
11
|
+
GetDataPlaneWorkflowRequest,
|
|
12
|
+
GetDataPlaneWorkflowResponse,
|
|
13
|
+
GetWorkflowGraphRequest,
|
|
14
|
+
GetWorkflowGraphResponse,
|
|
15
|
+
ListDataPlaneWorkflowsRequest,
|
|
16
|
+
ListDataPlaneWorkflowsResponse,
|
|
17
|
+
)
|
|
18
|
+
from grpc import (
|
|
19
|
+
Channel,
|
|
20
|
+
Server,
|
|
21
|
+
ServicerContext,
|
|
22
|
+
UnaryUnaryMultiCallable,
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
class DataPlaneWorkflowsServiceStub:
|
|
26
|
+
def __init__(self, channel: Channel) -> None: ...
|
|
27
|
+
GetDataPlaneWorkflow: UnaryUnaryMultiCallable[
|
|
28
|
+
GetDataPlaneWorkflowRequest,
|
|
29
|
+
GetDataPlaneWorkflowResponse,
|
|
30
|
+
]
|
|
31
|
+
ListDataPlaneWorkflows: UnaryUnaryMultiCallable[
|
|
32
|
+
ListDataPlaneWorkflowsRequest,
|
|
33
|
+
ListDataPlaneWorkflowsResponse,
|
|
34
|
+
]
|
|
35
|
+
GetWorkflowGraph: UnaryUnaryMultiCallable[
|
|
36
|
+
GetWorkflowGraphRequest,
|
|
37
|
+
GetWorkflowGraphResponse,
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
class DataPlaneWorkflowsServiceServicer(metaclass=ABCMeta):
|
|
41
|
+
@abstractmethod
|
|
42
|
+
def GetDataPlaneWorkflow(
|
|
43
|
+
self,
|
|
44
|
+
request: GetDataPlaneWorkflowRequest,
|
|
45
|
+
context: ServicerContext,
|
|
46
|
+
) -> GetDataPlaneWorkflowResponse: ...
|
|
47
|
+
@abstractmethod
|
|
48
|
+
def ListDataPlaneWorkflows(
|
|
49
|
+
self,
|
|
50
|
+
request: ListDataPlaneWorkflowsRequest,
|
|
51
|
+
context: ServicerContext,
|
|
52
|
+
) -> ListDataPlaneWorkflowsResponse: ...
|
|
53
|
+
@abstractmethod
|
|
54
|
+
def GetWorkflowGraph(
|
|
55
|
+
self,
|
|
56
|
+
request: GetWorkflowGraphRequest,
|
|
57
|
+
context: ServicerContext,
|
|
58
|
+
) -> GetWorkflowGraphResponse: ...
|
|
59
|
+
|
|
60
|
+
def add_DataPlaneWorkflowsServiceServicer_to_server(
|
|
61
|
+
servicer: DataPlaneWorkflowsServiceServicer, server: Server
|
|
62
|
+
) -> None: ...
|