tracdap-runtime 0.6.1.dev3__py3-none-any.whl → 0.6.2__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.
- tracdap/rt/_exec/context.py +25 -1
- tracdap/rt/_exec/dev_mode.py +277 -213
- tracdap/rt/_exec/functions.py +37 -8
- tracdap/rt/_exec/graph.py +2 -0
- tracdap/rt/_exec/graph_builder.py +118 -56
- tracdap/rt/_exec/runtime.py +28 -0
- tracdap/rt/_exec/server.py +68 -0
- tracdap/rt/_impl/data.py +14 -0
- tracdap/rt/_impl/grpc/__init__.py +13 -0
- tracdap/rt/_impl/grpc/codec.py +44 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.py +51 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2.pyi +59 -0
- tracdap/rt/_impl/grpc/tracdap/api/internal/runtime_pb2_grpc.py +183 -0
- tracdap/rt/_impl/grpc/tracdap/config/common_pb2.py +55 -0
- tracdap/rt/_impl/grpc/tracdap/config/common_pb2.pyi +103 -0
- tracdap/rt/_impl/grpc/tracdap/config/job_pb2.py +42 -0
- tracdap/rt/_impl/grpc/tracdap/config/job_pb2.pyi +44 -0
- tracdap/rt/_impl/grpc/tracdap/config/platform_pb2.py +71 -0
- tracdap/rt/_impl/grpc/tracdap/config/platform_pb2.pyi +197 -0
- tracdap/rt/_impl/grpc/tracdap/config/result_pb2.py +37 -0
- tracdap/rt/_impl/grpc/tracdap/config/result_pb2.pyi +35 -0
- tracdap/rt/_impl/grpc/tracdap/config/runtime_pb2.py +42 -0
- tracdap/rt/_impl/grpc/tracdap/config/runtime_pb2.pyi +46 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.py +33 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/common_pb2.pyi +34 -0
- tracdap/rt/{metadata → _impl/grpc/tracdap/metadata}/custom_pb2.py +5 -5
- tracdap/rt/_impl/grpc/tracdap/metadata/custom_pb2.pyi +15 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.py +51 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/data_pb2.pyi +115 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.py +28 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/file_pb2.pyi +22 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.py +59 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/flow_pb2.pyi +109 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.py +76 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/job_pb2.pyi +177 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.py +51 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/model_pb2.pyi +92 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.py +32 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_id_pb2.pyi +68 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.py +35 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/object_pb2.pyi +35 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.py +39 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/search_pb2.pyi +83 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.py +50 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/stoarge_pb2.pyi +89 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.py +34 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_pb2.pyi +26 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.py +30 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/tag_update_pb2.pyi +34 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.py +47 -0
- tracdap/rt/_impl/grpc/tracdap/metadata/type_pb2.pyi +101 -0
- tracdap/rt/_impl/guard_rails.py +5 -6
- tracdap/rt/_impl/static_api.py +10 -6
- tracdap/rt/_version.py +1 -1
- tracdap/rt/api/hook.py +6 -2
- tracdap/rt/api/model_api.py +22 -0
- tracdap/rt/api/static_api.py +14 -4
- tracdap/rt/config/__init__.py +3 -3
- tracdap/rt/config/platform.py +9 -9
- tracdap/rt/launch/cli.py +3 -5
- tracdap/rt/launch/launch.py +15 -3
- tracdap/rt/metadata/__init__.py +15 -15
- tracdap/rt/metadata/common.py +7 -7
- tracdap/rt/metadata/custom.py +2 -0
- tracdap/rt/metadata/data.py +28 -5
- tracdap/rt/metadata/file.py +2 -0
- tracdap/rt/metadata/flow.py +66 -4
- tracdap/rt/metadata/job.py +56 -16
- tracdap/rt/metadata/model.py +4 -0
- tracdap/rt/metadata/object_id.py +9 -9
- tracdap/rt/metadata/search.py +35 -13
- tracdap/rt/metadata/stoarge.py +64 -6
- tracdap/rt/metadata/tag_update.py +21 -7
- tracdap/rt/metadata/type.py +28 -13
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.2.dist-info}/METADATA +22 -19
- tracdap_runtime-0.6.2.dist-info/RECORD +121 -0
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.2.dist-info}/WHEEL +1 -1
- tracdap/rt/config/common_pb2.py +0 -55
- tracdap/rt/config/job_pb2.py +0 -42
- tracdap/rt/config/platform_pb2.py +0 -71
- tracdap/rt/config/result_pb2.py +0 -37
- tracdap/rt/config/runtime_pb2.py +0 -42
- tracdap/rt/metadata/common_pb2.py +0 -33
- tracdap/rt/metadata/data_pb2.py +0 -51
- tracdap/rt/metadata/file_pb2.py +0 -28
- tracdap/rt/metadata/flow_pb2.py +0 -55
- tracdap/rt/metadata/job_pb2.py +0 -76
- tracdap/rt/metadata/model_pb2.py +0 -51
- tracdap/rt/metadata/object_id_pb2.py +0 -32
- tracdap/rt/metadata/object_pb2.py +0 -35
- tracdap/rt/metadata/search_pb2.py +0 -39
- tracdap/rt/metadata/stoarge_pb2.py +0 -50
- tracdap/rt/metadata/tag_pb2.py +0 -34
- tracdap/rt/metadata/tag_update_pb2.py +0 -30
- tracdap/rt/metadata/type_pb2.py +0 -48
- tracdap_runtime-0.6.1.dev3.dist-info/RECORD +0 -96
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.2.dist-info}/LICENSE +0 -0
- {tracdap_runtime-0.6.1.dev3.dist-info → tracdap_runtime-0.6.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/file.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_object__id__pb2
|
16
|
+
|
17
|
+
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tracdap/rt/_impl/grpc/tracdap/metadata/file.proto\x12\x10tracdap.metadata\x1a\x36tracdap/rt/_impl/grpc/tracdap/metadata/object_id.proto\"\x95\x01\n\x0e\x46ileDefinition\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\textension\x18\x02 \x01(\t\x12\x10\n\x08mimeType\x18\x03 \x01(\t\x12\x0c\n\x04size\x18\x04 \x01(\x04\x12\x30\n\tstorageId\x18\x05 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector\x12\x10\n\x08\x64\x61taItem\x18\x06 \x01(\tB\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
19
|
+
|
20
|
+
_globals = globals()
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.file_pb2', _globals)
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
24
|
+
_globals['DESCRIPTOR']._options = None
|
25
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
26
|
+
_globals['_FILEDEFINITION']._serialized_start=128
|
27
|
+
_globals['_FILEDEFINITION']._serialized_end=277
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,22 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as _object_id_pb2
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
3
|
+
from google.protobuf import message as _message
|
4
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
5
|
+
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
7
|
+
|
8
|
+
class FileDefinition(_message.Message):
|
9
|
+
__slots__ = ("name", "extension", "mimeType", "size", "storageId", "dataItem")
|
10
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
11
|
+
EXTENSION_FIELD_NUMBER: _ClassVar[int]
|
12
|
+
MIMETYPE_FIELD_NUMBER: _ClassVar[int]
|
13
|
+
SIZE_FIELD_NUMBER: _ClassVar[int]
|
14
|
+
STORAGEID_FIELD_NUMBER: _ClassVar[int]
|
15
|
+
DATAITEM_FIELD_NUMBER: _ClassVar[int]
|
16
|
+
name: str
|
17
|
+
extension: str
|
18
|
+
mimeType: str
|
19
|
+
size: int
|
20
|
+
storageId: _object_id_pb2.TagSelector
|
21
|
+
dataItem: str
|
22
|
+
def __init__(self, name: _Optional[str] = ..., extension: _Optional[str] = ..., mimeType: _Optional[str] = ..., size: _Optional[int] = ..., storageId: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ..., dataItem: _Optional[str] = ...) -> None: ...
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/flow.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_type__pb2
|
16
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import model_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_model__pb2
|
17
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import search_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_search__pb2
|
18
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_tag__update__pb2
|
19
|
+
|
20
|
+
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1tracdap/rt/_impl/grpc/tracdap/metadata/flow.proto\x12\x10tracdap.metadata\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/type.proto\x1a\x32tracdap/rt/_impl/grpc/tracdap/metadata/model.proto\x1a\x33tracdap/rt/_impl/grpc/tracdap/metadata/search.proto\x1a\x37tracdap/rt/_impl/grpc/tracdap/metadata/tag_update.proto\"\xf1\x02\n\x08\x46lowNode\x12\x30\n\x08nodeType\x18\x01 \x01(\x0e\x32\x1e.tracdap.metadata.FlowNodeType\x12\x12\n\nparameters\x18\x07 \x03(\t\x12\x0e\n\x06inputs\x18\x02 \x03(\t\x12\x0f\n\x07outputs\x18\x03 \x03(\t\x12\x36\n\nnodeSearch\x18\x04 \x01(\x0b\x32\".tracdap.metadata.SearchExpression\x12.\n\tnodeAttrs\x18\x05 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\x12<\n\tnodeProps\x18\x08 \x03(\x0b\x32).tracdap.metadata.FlowNode.NodePropsEntry\x12\r\n\x05label\x18\x06 \x01(\t\x1aI\n\x0eNodePropsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tracdap.metadata.Value:\x02\x38\x01\"*\n\nFlowSocket\x12\x0c\n\x04node\x18\x01 \x01(\t\x12\x0e\n\x06socket\x18\x02 \x01(\t\"f\n\x08\x46lowEdge\x12,\n\x06source\x18\x01 \x01(\x0b\x32\x1c.tracdap.metadata.FlowSocket\x12,\n\x06target\x18\x02 \x01(\x0b\x32\x1c.tracdap.metadata.FlowSocket\"\x82\x05\n\x0e\x46lowDefinition\x12:\n\x05nodes\x18\x01 \x03(\x0b\x32+.tracdap.metadata.FlowDefinition.NodesEntry\x12)\n\x05\x65\x64ges\x18\x02 \x03(\x0b\x32\x1a.tracdap.metadata.FlowEdge\x12\x44\n\nparameters\x18\x03 \x03(\x0b\x32\x30.tracdap.metadata.FlowDefinition.ParametersEntry\x12<\n\x06inputs\x18\x04 \x03(\x0b\x32,.tracdap.metadata.FlowDefinition.InputsEntry\x12>\n\x07outputs\x18\x05 \x03(\x0b\x32-.tracdap.metadata.FlowDefinition.OutputsEntry\x1aH\n\nNodesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.tracdap.metadata.FlowNode:\x02\x38\x01\x1aS\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .tracdap.metadata.ModelParameter:\x02\x38\x01\x1aQ\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tracdap.metadata.ModelInputSchema:\x02\x38\x01\x1aS\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.tracdap.metadata.ModelOutputSchema:\x02\x38\x01*j\n\x0c\x46lowNodeType\x12\x15\n\x11NODE_TYPE_NOT_SET\x10\x00\x12\x0e\n\nINPUT_NODE\x10\x01\x12\x0f\n\x0bOUTPUT_NODE\x10\x02\x12\x0e\n\nMODEL_NODE\x10\x03\x12\x12\n\x0ePARAMETER_NODE\x10\x04\x42\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
22
|
+
|
23
|
+
_globals = globals()
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.flow_pb2', _globals)
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
27
|
+
_globals['DESCRIPTOR']._options = None
|
28
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
29
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._options = None
|
30
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_options = b'8\001'
|
31
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._options = None
|
32
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_options = b'8\001'
|
33
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._options = None
|
34
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_options = b'8\001'
|
35
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._options = None
|
36
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_options = b'8\001'
|
37
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._options = None
|
38
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_options = b'8\001'
|
39
|
+
_globals['_FLOWNODETYPE']._serialized_start=1449
|
40
|
+
_globals['_FLOWNODETYPE']._serialized_end=1555
|
41
|
+
_globals['_FLOWNODE']._serialized_start=285
|
42
|
+
_globals['_FLOWNODE']._serialized_end=654
|
43
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_start=581
|
44
|
+
_globals['_FLOWNODE_NODEPROPSENTRY']._serialized_end=654
|
45
|
+
_globals['_FLOWSOCKET']._serialized_start=656
|
46
|
+
_globals['_FLOWSOCKET']._serialized_end=698
|
47
|
+
_globals['_FLOWEDGE']._serialized_start=700
|
48
|
+
_globals['_FLOWEDGE']._serialized_end=802
|
49
|
+
_globals['_FLOWDEFINITION']._serialized_start=805
|
50
|
+
_globals['_FLOWDEFINITION']._serialized_end=1447
|
51
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_start=1122
|
52
|
+
_globals['_FLOWDEFINITION_NODESENTRY']._serialized_end=1194
|
53
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_start=1196
|
54
|
+
_globals['_FLOWDEFINITION_PARAMETERSENTRY']._serialized_end=1279
|
55
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_start=1281
|
56
|
+
_globals['_FLOWDEFINITION_INPUTSENTRY']._serialized_end=1362
|
57
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_start=1364
|
58
|
+
_globals['_FLOWDEFINITION_OUTPUTSENTRY']._serialized_end=1447
|
59
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,109 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as _type_pb2
|
2
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import model_pb2 as _model_pb2
|
3
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import search_pb2 as _search_pb2
|
4
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as _tag_update_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 ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
10
|
+
|
11
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
12
|
+
|
13
|
+
class FlowNodeType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
14
|
+
__slots__ = ()
|
15
|
+
NODE_TYPE_NOT_SET: _ClassVar[FlowNodeType]
|
16
|
+
INPUT_NODE: _ClassVar[FlowNodeType]
|
17
|
+
OUTPUT_NODE: _ClassVar[FlowNodeType]
|
18
|
+
MODEL_NODE: _ClassVar[FlowNodeType]
|
19
|
+
PARAMETER_NODE: _ClassVar[FlowNodeType]
|
20
|
+
NODE_TYPE_NOT_SET: FlowNodeType
|
21
|
+
INPUT_NODE: FlowNodeType
|
22
|
+
OUTPUT_NODE: FlowNodeType
|
23
|
+
MODEL_NODE: FlowNodeType
|
24
|
+
PARAMETER_NODE: FlowNodeType
|
25
|
+
|
26
|
+
class FlowNode(_message.Message):
|
27
|
+
__slots__ = ("nodeType", "parameters", "inputs", "outputs", "nodeSearch", "nodeAttrs", "nodeProps", "label")
|
28
|
+
class NodePropsEntry(_message.Message):
|
29
|
+
__slots__ = ("key", "value")
|
30
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
31
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
32
|
+
key: str
|
33
|
+
value: _type_pb2.Value
|
34
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
35
|
+
NODETYPE_FIELD_NUMBER: _ClassVar[int]
|
36
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
37
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
38
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
39
|
+
NODESEARCH_FIELD_NUMBER: _ClassVar[int]
|
40
|
+
NODEATTRS_FIELD_NUMBER: _ClassVar[int]
|
41
|
+
NODEPROPS_FIELD_NUMBER: _ClassVar[int]
|
42
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
43
|
+
nodeType: FlowNodeType
|
44
|
+
parameters: _containers.RepeatedScalarFieldContainer[str]
|
45
|
+
inputs: _containers.RepeatedScalarFieldContainer[str]
|
46
|
+
outputs: _containers.RepeatedScalarFieldContainer[str]
|
47
|
+
nodeSearch: _search_pb2.SearchExpression
|
48
|
+
nodeAttrs: _containers.RepeatedCompositeFieldContainer[_tag_update_pb2.TagUpdate]
|
49
|
+
nodeProps: _containers.MessageMap[str, _type_pb2.Value]
|
50
|
+
label: str
|
51
|
+
def __init__(self, nodeType: _Optional[_Union[FlowNodeType, str]] = ..., parameters: _Optional[_Iterable[str]] = ..., inputs: _Optional[_Iterable[str]] = ..., outputs: _Optional[_Iterable[str]] = ..., nodeSearch: _Optional[_Union[_search_pb2.SearchExpression, _Mapping]] = ..., nodeAttrs: _Optional[_Iterable[_Union[_tag_update_pb2.TagUpdate, _Mapping]]] = ..., nodeProps: _Optional[_Mapping[str, _type_pb2.Value]] = ..., label: _Optional[str] = ...) -> None: ...
|
52
|
+
|
53
|
+
class FlowSocket(_message.Message):
|
54
|
+
__slots__ = ("node", "socket")
|
55
|
+
NODE_FIELD_NUMBER: _ClassVar[int]
|
56
|
+
SOCKET_FIELD_NUMBER: _ClassVar[int]
|
57
|
+
node: str
|
58
|
+
socket: str
|
59
|
+
def __init__(self, node: _Optional[str] = ..., socket: _Optional[str] = ...) -> None: ...
|
60
|
+
|
61
|
+
class FlowEdge(_message.Message):
|
62
|
+
__slots__ = ("source", "target")
|
63
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
64
|
+
TARGET_FIELD_NUMBER: _ClassVar[int]
|
65
|
+
source: FlowSocket
|
66
|
+
target: FlowSocket
|
67
|
+
def __init__(self, source: _Optional[_Union[FlowSocket, _Mapping]] = ..., target: _Optional[_Union[FlowSocket, _Mapping]] = ...) -> None: ...
|
68
|
+
|
69
|
+
class FlowDefinition(_message.Message):
|
70
|
+
__slots__ = ("nodes", "edges", "parameters", "inputs", "outputs")
|
71
|
+
class NodesEntry(_message.Message):
|
72
|
+
__slots__ = ("key", "value")
|
73
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
74
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
75
|
+
key: str
|
76
|
+
value: FlowNode
|
77
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[FlowNode, _Mapping]] = ...) -> None: ...
|
78
|
+
class ParametersEntry(_message.Message):
|
79
|
+
__slots__ = ("key", "value")
|
80
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
81
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
82
|
+
key: str
|
83
|
+
value: _model_pb2.ModelParameter
|
84
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_model_pb2.ModelParameter, _Mapping]] = ...) -> None: ...
|
85
|
+
class InputsEntry(_message.Message):
|
86
|
+
__slots__ = ("key", "value")
|
87
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
89
|
+
key: str
|
90
|
+
value: _model_pb2.ModelInputSchema
|
91
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_model_pb2.ModelInputSchema, _Mapping]] = ...) -> None: ...
|
92
|
+
class OutputsEntry(_message.Message):
|
93
|
+
__slots__ = ("key", "value")
|
94
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
95
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
96
|
+
key: str
|
97
|
+
value: _model_pb2.ModelOutputSchema
|
98
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_model_pb2.ModelOutputSchema, _Mapping]] = ...) -> None: ...
|
99
|
+
NODES_FIELD_NUMBER: _ClassVar[int]
|
100
|
+
EDGES_FIELD_NUMBER: _ClassVar[int]
|
101
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
102
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
103
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
104
|
+
nodes: _containers.MessageMap[str, FlowNode]
|
105
|
+
edges: _containers.RepeatedCompositeFieldContainer[FlowEdge]
|
106
|
+
parameters: _containers.MessageMap[str, _model_pb2.ModelParameter]
|
107
|
+
inputs: _containers.MessageMap[str, _model_pb2.ModelInputSchema]
|
108
|
+
outputs: _containers.MessageMap[str, _model_pb2.ModelOutputSchema]
|
109
|
+
def __init__(self, nodes: _Optional[_Mapping[str, FlowNode]] = ..., edges: _Optional[_Iterable[_Union[FlowEdge, _Mapping]]] = ..., parameters: _Optional[_Mapping[str, _model_pb2.ModelParameter]] = ..., inputs: _Optional[_Mapping[str, _model_pb2.ModelInputSchema]] = ..., outputs: _Optional[_Mapping[str, _model_pb2.ModelOutputSchema]] = ...) -> None: ...
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/job.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_type__pb2
|
16
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_object__id__pb2
|
17
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_tag__update__pb2
|
18
|
+
|
19
|
+
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0tracdap/rt/_impl/grpc/tracdap/metadata/job.proto\x12\x10tracdap.metadata\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/type.proto\x1a\x36tracdap/rt/_impl/grpc/tracdap/metadata/object_id.proto\x1a\x37tracdap/rt/_impl/grpc/tracdap/metadata/tag_update.proto\"\xe6\x01\n\rJobDefinition\x12*\n\x07jobType\x18\x01 \x01(\x0e\x32\x19.tracdap.metadata.JobType\x12\x31\n\x08runModel\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.RunModelJobH\x00\x12/\n\x07runFlow\x18\x03 \x01(\x0b\x32\x1c.tracdap.metadata.RunFlowJobH\x00\x12\x37\n\x0bimportModel\x18\x04 \x01(\x0b\x32 .tracdap.metadata.ImportModelJobH\x00\x42\x0c\n\njobDetails\"\xac\x05\n\x0bRunModelJob\x12,\n\x05model\x18\x01 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector\x12\x41\n\nparameters\x18\x02 \x03(\x0b\x32-.tracdap.metadata.RunModelJob.ParametersEntry\x12\x39\n\x06inputs\x18\x03 \x03(\x0b\x32).tracdap.metadata.RunModelJob.InputsEntry\x12;\n\x07outputs\x18\x04 \x03(\x0b\x32*.tracdap.metadata.RunModelJob.OutputsEntry\x12\x45\n\x0cpriorOutputs\x18\x05 \x03(\x0b\x32/.tracdap.metadata.RunModelJob.PriorOutputsEntry\x12\x30\n\x0boutputAttrs\x18\x06 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\x1aJ\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tracdap.metadata.Value:\x02\x38\x01\x1aL\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\x1aM\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\x1aR\n\x11PriorOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\"\xae\x06\n\nRunFlowJob\x12+\n\x04\x66low\x18\x01 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector\x12@\n\nparameters\x18\x02 \x03(\x0b\x32,.tracdap.metadata.RunFlowJob.ParametersEntry\x12\x38\n\x06inputs\x18\x03 \x03(\x0b\x32(.tracdap.metadata.RunFlowJob.InputsEntry\x12:\n\x07outputs\x18\x04 \x03(\x0b\x32).tracdap.metadata.RunFlowJob.OutputsEntry\x12\x44\n\x0cpriorOutputs\x18\x05 \x03(\x0b\x32..tracdap.metadata.RunFlowJob.PriorOutputsEntry\x12\x38\n\x06models\x18\x06 \x03(\x0b\x32(.tracdap.metadata.RunFlowJob.ModelsEntry\x12\x30\n\x0boutputAttrs\x18\x07 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdate\x1aJ\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tracdap.metadata.Value:\x02\x38\x01\x1aL\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\x1aM\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\x1aR\n\x11PriorOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\x1aL\n\x0bModelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12,\n\x05value\x18\x02 \x01(\x0b\x32\x1d.tracdap.metadata.TagSelector:\x02\x38\x01\"\xd7\x01\n\x0eImportModelJob\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x12\n\nrepository\x18\x02 \x01(\t\x12\x19\n\x0cpackageGroup\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07package\x18\x08 \x01(\t\x12\x0f\n\x07version\x18\x05 \x01(\t\x12\x12\n\nentryPoint\x18\x04 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12/\n\nmodelAttrs\x18\x06 \x03(\x0b\x32\x1b.tracdap.metadata.TagUpdateB\x0f\n\r_packageGroup*_\n\x07JobType\x12\x14\n\x10JOB_TYPE_NOT_SET\x10\x00\x12\r\n\tRUN_MODEL\x10\x01\x12\x0c\n\x08RUN_FLOW\x10\x02\x12\x10\n\x0cIMPORT_MODEL\x10\x03\x12\x0f\n\x0bIMPORT_DATA\x10\x04*\xb8\x01\n\rJobStatusCode\x12\x1b\n\x17JOB_STATUS_CODE_NOT_SET\x10\x00\x12\r\n\tPREPARING\x10\x01\x12\r\n\tVALIDATED\x10\x02\x12\x0b\n\x07PENDING\x10\x03\x12\n\n\x06QUEUED\x10\x04\x12\r\n\tSUBMITTED\x10\x05\x12\x0b\n\x07RUNNING\x10\x06\x12\r\n\tFINISHING\x10\x07\x12\r\n\tSUCCEEDED\x10\x08\x12\n\n\x06\x46\x41ILED\x10\t\x12\r\n\tCANCELLED\x10\nB\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
21
|
+
|
22
|
+
_globals = globals()
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.job_pb2', _globals)
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
26
|
+
_globals['DESCRIPTOR']._options = None
|
27
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
28
|
+
_globals['_RUNMODELJOB_PARAMETERSENTRY']._options = None
|
29
|
+
_globals['_RUNMODELJOB_PARAMETERSENTRY']._serialized_options = b'8\001'
|
30
|
+
_globals['_RUNMODELJOB_INPUTSENTRY']._options = None
|
31
|
+
_globals['_RUNMODELJOB_INPUTSENTRY']._serialized_options = b'8\001'
|
32
|
+
_globals['_RUNMODELJOB_OUTPUTSENTRY']._options = None
|
33
|
+
_globals['_RUNMODELJOB_OUTPUTSENTRY']._serialized_options = b'8\001'
|
34
|
+
_globals['_RUNMODELJOB_PRIOROUTPUTSENTRY']._options = None
|
35
|
+
_globals['_RUNMODELJOB_PRIOROUTPUTSENTRY']._serialized_options = b'8\001'
|
36
|
+
_globals['_RUNFLOWJOB_PARAMETERSENTRY']._options = None
|
37
|
+
_globals['_RUNFLOWJOB_PARAMETERSENTRY']._serialized_options = b'8\001'
|
38
|
+
_globals['_RUNFLOWJOB_INPUTSENTRY']._options = None
|
39
|
+
_globals['_RUNFLOWJOB_INPUTSENTRY']._serialized_options = b'8\001'
|
40
|
+
_globals['_RUNFLOWJOB_OUTPUTSENTRY']._options = None
|
41
|
+
_globals['_RUNFLOWJOB_OUTPUTSENTRY']._serialized_options = b'8\001'
|
42
|
+
_globals['_RUNFLOWJOB_PRIOROUTPUTSENTRY']._options = None
|
43
|
+
_globals['_RUNFLOWJOB_PRIOROUTPUTSENTRY']._serialized_options = b'8\001'
|
44
|
+
_globals['_RUNFLOWJOB_MODELSENTRY']._options = None
|
45
|
+
_globals['_RUNFLOWJOB_MODELSENTRY']._serialized_options = b'8\001'
|
46
|
+
_globals['_JOBTYPE']._serialized_start=2189
|
47
|
+
_globals['_JOBTYPE']._serialized_end=2284
|
48
|
+
_globals['_JOBSTATUSCODE']._serialized_start=2287
|
49
|
+
_globals['_JOBSTATUSCODE']._serialized_end=2471
|
50
|
+
_globals['_JOBDEFINITION']._serialized_start=235
|
51
|
+
_globals['_JOBDEFINITION']._serialized_end=465
|
52
|
+
_globals['_RUNMODELJOB']._serialized_start=468
|
53
|
+
_globals['_RUNMODELJOB']._serialized_end=1152
|
54
|
+
_globals['_RUNMODELJOB_PARAMETERSENTRY']._serialized_start=837
|
55
|
+
_globals['_RUNMODELJOB_PARAMETERSENTRY']._serialized_end=911
|
56
|
+
_globals['_RUNMODELJOB_INPUTSENTRY']._serialized_start=913
|
57
|
+
_globals['_RUNMODELJOB_INPUTSENTRY']._serialized_end=989
|
58
|
+
_globals['_RUNMODELJOB_OUTPUTSENTRY']._serialized_start=991
|
59
|
+
_globals['_RUNMODELJOB_OUTPUTSENTRY']._serialized_end=1068
|
60
|
+
_globals['_RUNMODELJOB_PRIOROUTPUTSENTRY']._serialized_start=1070
|
61
|
+
_globals['_RUNMODELJOB_PRIOROUTPUTSENTRY']._serialized_end=1152
|
62
|
+
_globals['_RUNFLOWJOB']._serialized_start=1155
|
63
|
+
_globals['_RUNFLOWJOB']._serialized_end=1969
|
64
|
+
_globals['_RUNFLOWJOB_PARAMETERSENTRY']._serialized_start=837
|
65
|
+
_globals['_RUNFLOWJOB_PARAMETERSENTRY']._serialized_end=911
|
66
|
+
_globals['_RUNFLOWJOB_INPUTSENTRY']._serialized_start=913
|
67
|
+
_globals['_RUNFLOWJOB_INPUTSENTRY']._serialized_end=989
|
68
|
+
_globals['_RUNFLOWJOB_OUTPUTSENTRY']._serialized_start=991
|
69
|
+
_globals['_RUNFLOWJOB_OUTPUTSENTRY']._serialized_end=1068
|
70
|
+
_globals['_RUNFLOWJOB_PRIOROUTPUTSENTRY']._serialized_start=1070
|
71
|
+
_globals['_RUNFLOWJOB_PRIOROUTPUTSENTRY']._serialized_end=1152
|
72
|
+
_globals['_RUNFLOWJOB_MODELSENTRY']._serialized_start=1893
|
73
|
+
_globals['_RUNFLOWJOB_MODELSENTRY']._serialized_end=1969
|
74
|
+
_globals['_IMPORTMODELJOB']._serialized_start=1972
|
75
|
+
_globals['_IMPORTMODELJOB']._serialized_end=2187
|
76
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,177 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as _type_pb2
|
2
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import object_id_pb2 as _object_id_pb2
|
3
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import tag_update_pb2 as _tag_update_pb2
|
4
|
+
from google.protobuf.internal import containers as _containers
|
5
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import message as _message
|
8
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
9
|
+
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
11
|
+
|
12
|
+
class JobType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
13
|
+
__slots__ = ()
|
14
|
+
JOB_TYPE_NOT_SET: _ClassVar[JobType]
|
15
|
+
RUN_MODEL: _ClassVar[JobType]
|
16
|
+
RUN_FLOW: _ClassVar[JobType]
|
17
|
+
IMPORT_MODEL: _ClassVar[JobType]
|
18
|
+
IMPORT_DATA: _ClassVar[JobType]
|
19
|
+
|
20
|
+
class JobStatusCode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
21
|
+
__slots__ = ()
|
22
|
+
JOB_STATUS_CODE_NOT_SET: _ClassVar[JobStatusCode]
|
23
|
+
PREPARING: _ClassVar[JobStatusCode]
|
24
|
+
VALIDATED: _ClassVar[JobStatusCode]
|
25
|
+
PENDING: _ClassVar[JobStatusCode]
|
26
|
+
QUEUED: _ClassVar[JobStatusCode]
|
27
|
+
SUBMITTED: _ClassVar[JobStatusCode]
|
28
|
+
RUNNING: _ClassVar[JobStatusCode]
|
29
|
+
FINISHING: _ClassVar[JobStatusCode]
|
30
|
+
SUCCEEDED: _ClassVar[JobStatusCode]
|
31
|
+
FAILED: _ClassVar[JobStatusCode]
|
32
|
+
CANCELLED: _ClassVar[JobStatusCode]
|
33
|
+
JOB_TYPE_NOT_SET: JobType
|
34
|
+
RUN_MODEL: JobType
|
35
|
+
RUN_FLOW: JobType
|
36
|
+
IMPORT_MODEL: JobType
|
37
|
+
IMPORT_DATA: JobType
|
38
|
+
JOB_STATUS_CODE_NOT_SET: JobStatusCode
|
39
|
+
PREPARING: JobStatusCode
|
40
|
+
VALIDATED: JobStatusCode
|
41
|
+
PENDING: JobStatusCode
|
42
|
+
QUEUED: JobStatusCode
|
43
|
+
SUBMITTED: JobStatusCode
|
44
|
+
RUNNING: JobStatusCode
|
45
|
+
FINISHING: JobStatusCode
|
46
|
+
SUCCEEDED: JobStatusCode
|
47
|
+
FAILED: JobStatusCode
|
48
|
+
CANCELLED: JobStatusCode
|
49
|
+
|
50
|
+
class JobDefinition(_message.Message):
|
51
|
+
__slots__ = ("jobType", "runModel", "runFlow", "importModel")
|
52
|
+
JOBTYPE_FIELD_NUMBER: _ClassVar[int]
|
53
|
+
RUNMODEL_FIELD_NUMBER: _ClassVar[int]
|
54
|
+
RUNFLOW_FIELD_NUMBER: _ClassVar[int]
|
55
|
+
IMPORTMODEL_FIELD_NUMBER: _ClassVar[int]
|
56
|
+
jobType: JobType
|
57
|
+
runModel: RunModelJob
|
58
|
+
runFlow: RunFlowJob
|
59
|
+
importModel: ImportModelJob
|
60
|
+
def __init__(self, jobType: _Optional[_Union[JobType, str]] = ..., runModel: _Optional[_Union[RunModelJob, _Mapping]] = ..., runFlow: _Optional[_Union[RunFlowJob, _Mapping]] = ..., importModel: _Optional[_Union[ImportModelJob, _Mapping]] = ...) -> None: ...
|
61
|
+
|
62
|
+
class RunModelJob(_message.Message):
|
63
|
+
__slots__ = ("model", "parameters", "inputs", "outputs", "priorOutputs", "outputAttrs")
|
64
|
+
class ParametersEntry(_message.Message):
|
65
|
+
__slots__ = ("key", "value")
|
66
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
67
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
68
|
+
key: str
|
69
|
+
value: _type_pb2.Value
|
70
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
71
|
+
class InputsEntry(_message.Message):
|
72
|
+
__slots__ = ("key", "value")
|
73
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
74
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
75
|
+
key: str
|
76
|
+
value: _object_id_pb2.TagSelector
|
77
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
78
|
+
class OutputsEntry(_message.Message):
|
79
|
+
__slots__ = ("key", "value")
|
80
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
81
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
82
|
+
key: str
|
83
|
+
value: _object_id_pb2.TagSelector
|
84
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
85
|
+
class PriorOutputsEntry(_message.Message):
|
86
|
+
__slots__ = ("key", "value")
|
87
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
88
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
89
|
+
key: str
|
90
|
+
value: _object_id_pb2.TagSelector
|
91
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
92
|
+
MODEL_FIELD_NUMBER: _ClassVar[int]
|
93
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
94
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
95
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
96
|
+
PRIOROUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
97
|
+
OUTPUTATTRS_FIELD_NUMBER: _ClassVar[int]
|
98
|
+
model: _object_id_pb2.TagSelector
|
99
|
+
parameters: _containers.MessageMap[str, _type_pb2.Value]
|
100
|
+
inputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
101
|
+
outputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
102
|
+
priorOutputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
103
|
+
outputAttrs: _containers.RepeatedCompositeFieldContainer[_tag_update_pb2.TagUpdate]
|
104
|
+
def __init__(self, model: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ..., parameters: _Optional[_Mapping[str, _type_pb2.Value]] = ..., inputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., outputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., priorOutputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., outputAttrs: _Optional[_Iterable[_Union[_tag_update_pb2.TagUpdate, _Mapping]]] = ...) -> None: ...
|
105
|
+
|
106
|
+
class RunFlowJob(_message.Message):
|
107
|
+
__slots__ = ("flow", "parameters", "inputs", "outputs", "priorOutputs", "models", "outputAttrs")
|
108
|
+
class ParametersEntry(_message.Message):
|
109
|
+
__slots__ = ("key", "value")
|
110
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
111
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
112
|
+
key: str
|
113
|
+
value: _type_pb2.Value
|
114
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
115
|
+
class InputsEntry(_message.Message):
|
116
|
+
__slots__ = ("key", "value")
|
117
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
118
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
119
|
+
key: str
|
120
|
+
value: _object_id_pb2.TagSelector
|
121
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
122
|
+
class OutputsEntry(_message.Message):
|
123
|
+
__slots__ = ("key", "value")
|
124
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
125
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
126
|
+
key: str
|
127
|
+
value: _object_id_pb2.TagSelector
|
128
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
129
|
+
class PriorOutputsEntry(_message.Message):
|
130
|
+
__slots__ = ("key", "value")
|
131
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
132
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
133
|
+
key: str
|
134
|
+
value: _object_id_pb2.TagSelector
|
135
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
136
|
+
class ModelsEntry(_message.Message):
|
137
|
+
__slots__ = ("key", "value")
|
138
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
139
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
140
|
+
key: str
|
141
|
+
value: _object_id_pb2.TagSelector
|
142
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ...) -> None: ...
|
143
|
+
FLOW_FIELD_NUMBER: _ClassVar[int]
|
144
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
145
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
146
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
147
|
+
PRIOROUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
148
|
+
MODELS_FIELD_NUMBER: _ClassVar[int]
|
149
|
+
OUTPUTATTRS_FIELD_NUMBER: _ClassVar[int]
|
150
|
+
flow: _object_id_pb2.TagSelector
|
151
|
+
parameters: _containers.MessageMap[str, _type_pb2.Value]
|
152
|
+
inputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
153
|
+
outputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
154
|
+
priorOutputs: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
155
|
+
models: _containers.MessageMap[str, _object_id_pb2.TagSelector]
|
156
|
+
outputAttrs: _containers.RepeatedCompositeFieldContainer[_tag_update_pb2.TagUpdate]
|
157
|
+
def __init__(self, flow: _Optional[_Union[_object_id_pb2.TagSelector, _Mapping]] = ..., parameters: _Optional[_Mapping[str, _type_pb2.Value]] = ..., inputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., outputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., priorOutputs: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., models: _Optional[_Mapping[str, _object_id_pb2.TagSelector]] = ..., outputAttrs: _Optional[_Iterable[_Union[_tag_update_pb2.TagUpdate, _Mapping]]] = ...) -> None: ...
|
158
|
+
|
159
|
+
class ImportModelJob(_message.Message):
|
160
|
+
__slots__ = ("language", "repository", "packageGroup", "package", "version", "entryPoint", "path", "modelAttrs")
|
161
|
+
LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
162
|
+
REPOSITORY_FIELD_NUMBER: _ClassVar[int]
|
163
|
+
PACKAGEGROUP_FIELD_NUMBER: _ClassVar[int]
|
164
|
+
PACKAGE_FIELD_NUMBER: _ClassVar[int]
|
165
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
166
|
+
ENTRYPOINT_FIELD_NUMBER: _ClassVar[int]
|
167
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
168
|
+
MODELATTRS_FIELD_NUMBER: _ClassVar[int]
|
169
|
+
language: str
|
170
|
+
repository: str
|
171
|
+
packageGroup: str
|
172
|
+
package: str
|
173
|
+
version: str
|
174
|
+
entryPoint: str
|
175
|
+
path: str
|
176
|
+
modelAttrs: _containers.RepeatedCompositeFieldContainer[_tag_update_pb2.TagUpdate]
|
177
|
+
def __init__(self, language: _Optional[str] = ..., repository: _Optional[str] = ..., packageGroup: _Optional[str] = ..., package: _Optional[str] = ..., version: _Optional[str] = ..., entryPoint: _Optional[str] = ..., path: _Optional[str] = ..., modelAttrs: _Optional[_Iterable[_Union[_tag_update_pb2.TagUpdate, _Mapping]]] = ...) -> None: ...
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: tracdap/rt/_impl/grpc/tracdap/metadata/model.proto
|
4
|
+
# Protobuf Python Version: 4.25.3
|
5
|
+
"""Generated protocol buffer code."""
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
9
|
+
from google.protobuf.internal import builder as _builder
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_type__pb2
|
16
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import data_pb2 as tracdap_dot_rt_dot___impl_dot_grpc_dot_tracdap_dot_metadata_dot_data__pb2
|
17
|
+
|
18
|
+
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2tracdap/rt/_impl/grpc/tracdap/metadata/model.proto\x12\x10tracdap.metadata\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/type.proto\x1a\x31tracdap/rt/_impl/grpc/tracdap/metadata/data.proto\"\x99\x01\n\x0eModelParameter\x12\x33\n\tparamType\x18\x01 \x01(\x0b\x32 .tracdap.metadata.TypeDescriptor\x12\r\n\x05label\x18\x02 \x01(\t\x12\x32\n\x0c\x64\x65\x66\x61ultValue\x18\x03 \x01(\x0b\x32\x17.tracdap.metadata.ValueH\x00\x88\x01\x01\x42\x0f\n\r_defaultValue\"v\n\x10ModelInputSchema\x12\x32\n\x06schema\x18\x01 \x01(\x0b\x32\".tracdap.metadata.SchemaDefinition\x12\x12\n\x05label\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08optional\x18\x03 \x01(\x08\x42\x08\n\x06_label\"w\n\x11ModelOutputSchema\x12\x32\n\x06schema\x18\x01 \x01(\x0b\x32\".tracdap.metadata.SchemaDefinition\x12\x12\n\x05label\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x10\n\x08optional\x18\x03 \x01(\x08\x42\x08\n\x06_label\"\x9e\x06\n\x0fModelDefinition\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x12\n\nrepository\x18\x02 \x01(\t\x12\x19\n\x0cpackageGroup\x18\n \x01(\tH\x00\x88\x01\x01\x12\x0f\n\x07package\x18\x0b \x01(\t\x12\x0f\n\x07version\x18\x06 \x01(\t\x12\x12\n\nentryPoint\x18\x05 \x01(\t\x12\x11\n\x04path\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x45\n\nparameters\x18\x07 \x03(\x0b\x32\x31.tracdap.metadata.ModelDefinition.ParametersEntry\x12=\n\x06inputs\x18\x08 \x03(\x0b\x32-.tracdap.metadata.ModelDefinition.InputsEntry\x12?\n\x07outputs\x18\t \x03(\x0b\x32..tracdap.metadata.ModelDefinition.OutputsEntry\x12Q\n\x10staticAttributes\x18\x0c \x03(\x0b\x32\x37.tracdap.metadata.ModelDefinition.StaticAttributesEntry\x1aS\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .tracdap.metadata.ModelParameter:\x02\x38\x01\x1aQ\n\x0bInputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".tracdap.metadata.ModelInputSchema:\x02\x38\x01\x1aS\n\x0cOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.tracdap.metadata.ModelOutputSchema:\x02\x38\x01\x1aP\n\x15StaticAttributesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.tracdap.metadata.Value:\x02\x38\x01\x42\x0f\n\r_packageGroupB\x07\n\x05_pathB\x1e\n\x1aorg.finos.tracdap.metadataP\x01\x62\x06proto3')
|
20
|
+
|
21
|
+
_globals = globals()
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tracdap.rt._impl.grpc.tracdap.metadata.model_pb2', _globals)
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
25
|
+
_globals['DESCRIPTOR']._options = None
|
26
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032org.finos.tracdap.metadataP\001'
|
27
|
+
_globals['_MODELDEFINITION_PARAMETERSENTRY']._options = None
|
28
|
+
_globals['_MODELDEFINITION_PARAMETERSENTRY']._serialized_options = b'8\001'
|
29
|
+
_globals['_MODELDEFINITION_INPUTSENTRY']._options = None
|
30
|
+
_globals['_MODELDEFINITION_INPUTSENTRY']._serialized_options = b'8\001'
|
31
|
+
_globals['_MODELDEFINITION_OUTPUTSENTRY']._options = None
|
32
|
+
_globals['_MODELDEFINITION_OUTPUTSENTRY']._serialized_options = b'8\001'
|
33
|
+
_globals['_MODELDEFINITION_STATICATTRIBUTESENTRY']._options = None
|
34
|
+
_globals['_MODELDEFINITION_STATICATTRIBUTESENTRY']._serialized_options = b'8\001'
|
35
|
+
_globals['_MODELPARAMETER']._serialized_start=175
|
36
|
+
_globals['_MODELPARAMETER']._serialized_end=328
|
37
|
+
_globals['_MODELINPUTSCHEMA']._serialized_start=330
|
38
|
+
_globals['_MODELINPUTSCHEMA']._serialized_end=448
|
39
|
+
_globals['_MODELOUTPUTSCHEMA']._serialized_start=450
|
40
|
+
_globals['_MODELOUTPUTSCHEMA']._serialized_end=569
|
41
|
+
_globals['_MODELDEFINITION']._serialized_start=572
|
42
|
+
_globals['_MODELDEFINITION']._serialized_end=1370
|
43
|
+
_globals['_MODELDEFINITION_PARAMETERSENTRY']._serialized_start=1011
|
44
|
+
_globals['_MODELDEFINITION_PARAMETERSENTRY']._serialized_end=1094
|
45
|
+
_globals['_MODELDEFINITION_INPUTSENTRY']._serialized_start=1096
|
46
|
+
_globals['_MODELDEFINITION_INPUTSENTRY']._serialized_end=1177
|
47
|
+
_globals['_MODELDEFINITION_OUTPUTSENTRY']._serialized_start=1179
|
48
|
+
_globals['_MODELDEFINITION_OUTPUTSENTRY']._serialized_end=1262
|
49
|
+
_globals['_MODELDEFINITION_STATICATTRIBUTESENTRY']._serialized_start=1264
|
50
|
+
_globals['_MODELDEFINITION_STATICATTRIBUTESENTRY']._serialized_end=1344
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
@@ -0,0 +1,92 @@
|
|
1
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import type_pb2 as _type_pb2
|
2
|
+
from tracdap.rt._impl.grpc.tracdap.metadata import data_pb2 as _data_pb2
|
3
|
+
from google.protobuf.internal import containers as _containers
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
5
|
+
from google.protobuf import message as _message
|
6
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
7
|
+
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
9
|
+
|
10
|
+
class ModelParameter(_message.Message):
|
11
|
+
__slots__ = ("paramType", "label", "defaultValue")
|
12
|
+
PARAMTYPE_FIELD_NUMBER: _ClassVar[int]
|
13
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
14
|
+
DEFAULTVALUE_FIELD_NUMBER: _ClassVar[int]
|
15
|
+
paramType: _type_pb2.TypeDescriptor
|
16
|
+
label: str
|
17
|
+
defaultValue: _type_pb2.Value
|
18
|
+
def __init__(self, paramType: _Optional[_Union[_type_pb2.TypeDescriptor, _Mapping]] = ..., label: _Optional[str] = ..., defaultValue: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
19
|
+
|
20
|
+
class ModelInputSchema(_message.Message):
|
21
|
+
__slots__ = ("schema", "label", "optional")
|
22
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
23
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
24
|
+
OPTIONAL_FIELD_NUMBER: _ClassVar[int]
|
25
|
+
schema: _data_pb2.SchemaDefinition
|
26
|
+
label: str
|
27
|
+
optional: bool
|
28
|
+
def __init__(self, schema: _Optional[_Union[_data_pb2.SchemaDefinition, _Mapping]] = ..., label: _Optional[str] = ..., optional: bool = ...) -> None: ...
|
29
|
+
|
30
|
+
class ModelOutputSchema(_message.Message):
|
31
|
+
__slots__ = ("schema", "label", "optional")
|
32
|
+
SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
33
|
+
LABEL_FIELD_NUMBER: _ClassVar[int]
|
34
|
+
OPTIONAL_FIELD_NUMBER: _ClassVar[int]
|
35
|
+
schema: _data_pb2.SchemaDefinition
|
36
|
+
label: str
|
37
|
+
optional: bool
|
38
|
+
def __init__(self, schema: _Optional[_Union[_data_pb2.SchemaDefinition, _Mapping]] = ..., label: _Optional[str] = ..., optional: bool = ...) -> None: ...
|
39
|
+
|
40
|
+
class ModelDefinition(_message.Message):
|
41
|
+
__slots__ = ("language", "repository", "packageGroup", "package", "version", "entryPoint", "path", "parameters", "inputs", "outputs", "staticAttributes")
|
42
|
+
class ParametersEntry(_message.Message):
|
43
|
+
__slots__ = ("key", "value")
|
44
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
45
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
46
|
+
key: str
|
47
|
+
value: ModelParameter
|
48
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ModelParameter, _Mapping]] = ...) -> None: ...
|
49
|
+
class InputsEntry(_message.Message):
|
50
|
+
__slots__ = ("key", "value")
|
51
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
52
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
53
|
+
key: str
|
54
|
+
value: ModelInputSchema
|
55
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ModelInputSchema, _Mapping]] = ...) -> None: ...
|
56
|
+
class OutputsEntry(_message.Message):
|
57
|
+
__slots__ = ("key", "value")
|
58
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
59
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
60
|
+
key: str
|
61
|
+
value: ModelOutputSchema
|
62
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[ModelOutputSchema, _Mapping]] = ...) -> None: ...
|
63
|
+
class StaticAttributesEntry(_message.Message):
|
64
|
+
__slots__ = ("key", "value")
|
65
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
66
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
67
|
+
key: str
|
68
|
+
value: _type_pb2.Value
|
69
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[_type_pb2.Value, _Mapping]] = ...) -> None: ...
|
70
|
+
LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
71
|
+
REPOSITORY_FIELD_NUMBER: _ClassVar[int]
|
72
|
+
PACKAGEGROUP_FIELD_NUMBER: _ClassVar[int]
|
73
|
+
PACKAGE_FIELD_NUMBER: _ClassVar[int]
|
74
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
75
|
+
ENTRYPOINT_FIELD_NUMBER: _ClassVar[int]
|
76
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
77
|
+
PARAMETERS_FIELD_NUMBER: _ClassVar[int]
|
78
|
+
INPUTS_FIELD_NUMBER: _ClassVar[int]
|
79
|
+
OUTPUTS_FIELD_NUMBER: _ClassVar[int]
|
80
|
+
STATICATTRIBUTES_FIELD_NUMBER: _ClassVar[int]
|
81
|
+
language: str
|
82
|
+
repository: str
|
83
|
+
packageGroup: str
|
84
|
+
package: str
|
85
|
+
version: str
|
86
|
+
entryPoint: str
|
87
|
+
path: str
|
88
|
+
parameters: _containers.MessageMap[str, ModelParameter]
|
89
|
+
inputs: _containers.MessageMap[str, ModelInputSchema]
|
90
|
+
outputs: _containers.MessageMap[str, ModelOutputSchema]
|
91
|
+
staticAttributes: _containers.MessageMap[str, _type_pb2.Value]
|
92
|
+
def __init__(self, language: _Optional[str] = ..., repository: _Optional[str] = ..., packageGroup: _Optional[str] = ..., package: _Optional[str] = ..., version: _Optional[str] = ..., entryPoint: _Optional[str] = ..., path: _Optional[str] = ..., parameters: _Optional[_Mapping[str, ModelParameter]] = ..., inputs: _Optional[_Mapping[str, ModelInputSchema]] = ..., outputs: _Optional[_Mapping[str, ModelOutputSchema]] = ..., staticAttributes: _Optional[_Mapping[str, _type_pb2.Value]] = ...) -> None: ...
|