sapiopycommons 2025.8.18a712__py3-none-any.whl → 2025.8.20a714__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 sapiopycommons might be problematic. Click here for more details.
- sapiopycommons/callbacks/callback_util.py +5 -2
- sapiopycommons/webhook/webservice_handlers.py +1 -1
- {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/METADATA +1 -1
- {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/RECORD +6 -42
- sapiopycommons/ai/__init__.py +0 -0
- sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.py +0 -43
- sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.pyi +0 -31
- sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.py +0 -123
- sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.pyi +0 -598
- sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/plan/converter/proto/converter_pb2.py +0 -50
- sapiopycommons/ai/api/plan/converter/proto/converter_pb2.pyi +0 -61
- sapiopycommons/ai/api/plan/converter/proto/converter_pb2_grpc.py +0 -149
- sapiopycommons/ai/api/plan/item/proto/item_container_pb2.py +0 -55
- sapiopycommons/ai/api/plan/item/proto/item_container_pb2.pyi +0 -88
- sapiopycommons/ai/api/plan/item/proto/item_container_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/plan/proto/step_output_pb2.py +0 -45
- sapiopycommons/ai/api/plan/proto/step_output_pb2.pyi +0 -42
- sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/plan/proto/step_pb2.py +0 -43
- sapiopycommons/ai/api/plan/proto/step_pb2.pyi +0 -43
- sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/plan/script/proto/script_pb2.py +0 -59
- sapiopycommons/ai/api/plan/script/proto/script_pb2.pyi +0 -102
- sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py +0 -153
- sapiopycommons/ai/api/plan/tool/proto/entry_pb2.py +0 -41
- sapiopycommons/ai/api/plan/tool/proto/entry_pb2.pyi +0 -35
- sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py +0 -24
- sapiopycommons/ai/api/plan/tool/proto/tool_pb2.py +0 -75
- sapiopycommons/ai/api/plan/tool/proto/tool_pb2.pyi +0 -237
- sapiopycommons/ai/api/plan/tool/proto/tool_pb2_grpc.py +0 -154
- sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.py +0 -39
- sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.pyi +0 -32
- sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2_grpc.py +0 -24
- sapiopycommons/ai/converter_service_base.py +0 -116
- sapiopycommons/ai/protobuf_utils.py +0 -504
- sapiopycommons/ai/server.py +0 -104
- sapiopycommons/ai/test_client.py +0 -341
- sapiopycommons/ai/tool_service_base.py +0 -922
- {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/WHEEL +0 -0
- {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
-
GRPC_VERSION = grpc.__version__
|
|
9
|
-
_version_not_supported = False
|
|
10
|
-
|
|
11
|
-
try:
|
|
12
|
-
from grpc._utilities import first_version_is_lower
|
|
13
|
-
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
-
except ImportError:
|
|
15
|
-
_version_not_supported = True
|
|
16
|
-
|
|
17
|
-
if _version_not_supported:
|
|
18
|
-
raise RuntimeError(
|
|
19
|
-
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+ f' but the generated code in sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py depends on'
|
|
21
|
-
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
-
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
-
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
-
)
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: sapiopycommons/ai/api/plan/script/proto/script.proto
|
|
5
|
-
# Protobuf Python Version: 5.29.0
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
29,
|
|
16
|
-
0,
|
|
17
|
-
'',
|
|
18
|
-
'sapiopycommons/ai/api/plan/script/proto/script.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
|
|
26
|
-
try:
|
|
27
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2.sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2
|
|
28
|
-
except AttributeError:
|
|
29
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2.sapiopycommons.ai.api.plan.item.proto.item_container_pb2
|
|
30
|
-
from sapiopycommons.ai.api.plan.proto import step_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_proto_dot_step__pb2
|
|
31
|
-
from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_api_dot_session_dot_proto_dot_sapio__conn__info__pb2
|
|
32
|
-
|
|
33
|
-
from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import *
|
|
34
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import *
|
|
35
|
-
from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import *
|
|
36
|
-
|
|
37
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4sapiopycommons/ai/api/plan/script/proto/script.proto\x1a\x31sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a+sapiopycommons/ai/api/plan/proto/step.proto\x1a\x39sapiopycommons/ai/api/session/proto/sapio_conn_info.proto\"A\n\x15ScriptFileContentsPbo\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12\x15\n\rfile_contents\x18\x02 \x01(\x0c\"\xc2\x03\n\x19\x43reateScriptJobRequestPbo\x12+\n\nsapio_user\x18\x01 \x01(\x0b\x32\x17.SapioConnectionInfoPbo\x12\x17\n\x0fscript_language\x18\x02 \x01(\t\x12\x18\n\x10plan_instance_id\x18\x03 \x01(\x03\x12\x18\n\x10step_instance_id\x18\x04 \x01(\x03\x12\x15\n\rinvocation_id\x18\x05 \x01(\x03\x12%\n\rinput_configs\x18\x06 \x03(\x0b\x32\x0e.StepIoInfoPbo\x12&\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0e.StepIoInfoPbo\x12\x0f\n\x06script\x18\x80\x08 \x01(\t\x12\x10\n\x07timeout\x18\x81\x08 \x01(\x05\x12\x16\n\rmax_memory_mb\x18\x82\x08 \x01(\x05\x12\x1a\n\x11working_directory\x18\x83\x08 \x01(\t\x12,\n\x0binput_files\x18\x84\x08 \x03(\x0b\x32\x16.ScriptFileContentsPbo\x12\x1c\n\x13\x64ownload_file_names\x18\x85\x08 \x03(\t\x12\"\n\x05input\x18\xff\x0f \x03(\x0b\x32\x12.StepInputBatchPbo\",\n\x1a\x43reateScriptJobResponsePbo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"N\n\x10GetJobRequestPbo\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x12\n\nlog_offset\x18\x02 \x01(\x05\x12\x16\n\x0e\x64ownload_files\x18\x03 \x01(\x08\"\xa4\x01\n\x11GetJobResponsePbo\x12\x1a\n\x06status\x18\x01 \x01(\x0e\x32\n.JobStatus\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x11\n\texception\x18\x03 \x01(\t\x12-\n\x0coutput_files\x18\x84\x08 \x03(\x0b\x32\x16.ScriptFileContentsPbo\x12$\n\x06output\x18\xff\x0f \x03(\x0b\x32\x13.StepOutputBatchPbo*@\n\tJobStatus\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\r\n\tCOMPLETED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x32\x8c\x01\n\rScriptService\x12J\n\x0f\x43reateScriptJob\x12\x1a.CreateScriptJobRequestPbo\x1a\x1b.CreateScriptJobResponsePbo\x12/\n\x06GetJob\x12\x11.GetJobRequestPbo\x1a\x12.GetJobResponsePboB!\n\x1f\x63om.velox.api.plan.script.protoP\x00P\x01P\x02\x62\x06proto3')
|
|
38
|
-
|
|
39
|
-
_globals = globals()
|
|
40
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
41
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.script.proto.script_pb2', _globals)
|
|
42
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
43
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
44
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\037com.velox.api.plan.script.proto'
|
|
45
|
-
_globals['_JOBSTATUS']._serialized_start=1024
|
|
46
|
-
_globals['_JOBSTATUS']._serialized_end=1088
|
|
47
|
-
_globals['_SCRIPTFILECONTENTSPBO']._serialized_start=211
|
|
48
|
-
_globals['_SCRIPTFILECONTENTSPBO']._serialized_end=276
|
|
49
|
-
_globals['_CREATESCRIPTJOBREQUESTPBO']._serialized_start=279
|
|
50
|
-
_globals['_CREATESCRIPTJOBREQUESTPBO']._serialized_end=729
|
|
51
|
-
_globals['_CREATESCRIPTJOBRESPONSEPBO']._serialized_start=731
|
|
52
|
-
_globals['_CREATESCRIPTJOBRESPONSEPBO']._serialized_end=775
|
|
53
|
-
_globals['_GETJOBREQUESTPBO']._serialized_start=777
|
|
54
|
-
_globals['_GETJOBREQUESTPBO']._serialized_end=855
|
|
55
|
-
_globals['_GETJOBRESPONSEPBO']._serialized_start=858
|
|
56
|
-
_globals['_GETJOBRESPONSEPBO']._serialized_end=1022
|
|
57
|
-
_globals['_SCRIPTSERVICE']._serialized_start=1091
|
|
58
|
-
_globals['_SCRIPTSERVICE']._serialized_end=1231
|
|
59
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as _entry_pb2
|
|
2
|
-
from sapiopycommons.ai.api.plan.item.proto import item_container_pb2 as _item_container_pb2
|
|
3
|
-
from sapiopycommons.ai.api.plan.proto import step_pb2 as _step_pb2
|
|
4
|
-
from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as _sapio_conn_info_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
|
-
from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import StepInputBatchPbo as StepInputBatchPbo
|
|
11
|
-
from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import StepOutputBatchPbo as StepOutputBatchPbo
|
|
12
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import StepIoInfoPbo as StepIoInfoPbo
|
|
13
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import StepIoDetailsPbo as StepIoDetailsPbo
|
|
14
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import StepInputDetailsPbo as StepInputDetailsPbo
|
|
15
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import StepOutputDetailsPbo as StepOutputDetailsPbo
|
|
16
|
-
from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioConnectionInfoPbo as SapioConnectionInfoPbo
|
|
17
|
-
from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioUserSecretTypePbo as SapioUserSecretTypePbo
|
|
18
|
-
|
|
19
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
20
|
-
SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretTypePbo
|
|
21
|
-
PASSWORD: _sapio_conn_info_pb2.SapioUserSecretTypePbo
|
|
22
|
-
|
|
23
|
-
class JobStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
24
|
-
__slots__ = ()
|
|
25
|
-
PENDING: _ClassVar[JobStatus]
|
|
26
|
-
RUNNING: _ClassVar[JobStatus]
|
|
27
|
-
COMPLETED: _ClassVar[JobStatus]
|
|
28
|
-
FAILED: _ClassVar[JobStatus]
|
|
29
|
-
PENDING: JobStatus
|
|
30
|
-
RUNNING: JobStatus
|
|
31
|
-
COMPLETED: JobStatus
|
|
32
|
-
FAILED: JobStatus
|
|
33
|
-
|
|
34
|
-
class ScriptFileContentsPbo(_message.Message):
|
|
35
|
-
__slots__ = ("file_name", "file_contents")
|
|
36
|
-
FILE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
-
FILE_CONTENTS_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
-
file_name: str
|
|
39
|
-
file_contents: bytes
|
|
40
|
-
def __init__(self, file_name: _Optional[str] = ..., file_contents: _Optional[bytes] = ...) -> None: ...
|
|
41
|
-
|
|
42
|
-
class CreateScriptJobRequestPbo(_message.Message):
|
|
43
|
-
__slots__ = ("sapio_user", "script_language", "plan_instance_id", "step_instance_id", "invocation_id", "input_configs", "output_configs", "script", "timeout", "max_memory_mb", "working_directory", "input_files", "download_file_names", "input")
|
|
44
|
-
SAPIO_USER_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
-
SCRIPT_LANGUAGE_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
-
PLAN_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
-
STEP_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
-
INVOCATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
-
INPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
-
OUTPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
-
SCRIPT_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
-
TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
-
MAX_MEMORY_MB_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
-
WORKING_DIRECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
-
INPUT_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
-
DOWNLOAD_FILE_NAMES_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
-
INPUT_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
-
sapio_user: _sapio_conn_info_pb2.SapioConnectionInfoPbo
|
|
59
|
-
script_language: str
|
|
60
|
-
plan_instance_id: int
|
|
61
|
-
step_instance_id: int
|
|
62
|
-
invocation_id: int
|
|
63
|
-
input_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfoPbo]
|
|
64
|
-
output_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfoPbo]
|
|
65
|
-
script: str
|
|
66
|
-
timeout: int
|
|
67
|
-
max_memory_mb: int
|
|
68
|
-
working_directory: str
|
|
69
|
-
input_files: _containers.RepeatedCompositeFieldContainer[ScriptFileContentsPbo]
|
|
70
|
-
download_file_names: _containers.RepeatedScalarFieldContainer[str]
|
|
71
|
-
input: _containers.RepeatedCompositeFieldContainer[_entry_pb2.StepInputBatchPbo]
|
|
72
|
-
def __init__(self, sapio_user: _Optional[_Union[_sapio_conn_info_pb2.SapioConnectionInfoPbo, _Mapping]] = ..., script_language: _Optional[str] = ..., plan_instance_id: _Optional[int] = ..., step_instance_id: _Optional[int] = ..., invocation_id: _Optional[int] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfoPbo, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfoPbo, _Mapping]]] = ..., script: _Optional[str] = ..., timeout: _Optional[int] = ..., max_memory_mb: _Optional[int] = ..., working_directory: _Optional[str] = ..., input_files: _Optional[_Iterable[_Union[ScriptFileContentsPbo, _Mapping]]] = ..., download_file_names: _Optional[_Iterable[str]] = ..., input: _Optional[_Iterable[_Union[_entry_pb2.StepInputBatchPbo, _Mapping]]] = ...) -> None: ...
|
|
73
|
-
|
|
74
|
-
class CreateScriptJobResponsePbo(_message.Message):
|
|
75
|
-
__slots__ = ("job_id",)
|
|
76
|
-
JOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
-
job_id: str
|
|
78
|
-
def __init__(self, job_id: _Optional[str] = ...) -> None: ...
|
|
79
|
-
|
|
80
|
-
class GetJobRequestPbo(_message.Message):
|
|
81
|
-
__slots__ = ("job_id", "log_offset", "download_files")
|
|
82
|
-
JOB_ID_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
-
LOG_OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
84
|
-
DOWNLOAD_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
-
job_id: str
|
|
86
|
-
log_offset: int
|
|
87
|
-
download_files: bool
|
|
88
|
-
def __init__(self, job_id: _Optional[str] = ..., log_offset: _Optional[int] = ..., download_files: bool = ...) -> None: ...
|
|
89
|
-
|
|
90
|
-
class GetJobResponsePbo(_message.Message):
|
|
91
|
-
__slots__ = ("status", "log", "exception", "output_files", "output")
|
|
92
|
-
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
-
LOG_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
-
EXCEPTION_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
-
OUTPUT_FILES_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
-
OUTPUT_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
-
status: JobStatus
|
|
98
|
-
log: str
|
|
99
|
-
exception: str
|
|
100
|
-
output_files: _containers.RepeatedCompositeFieldContainer[ScriptFileContentsPbo]
|
|
101
|
-
output: _containers.RepeatedCompositeFieldContainer[_entry_pb2.StepOutputBatchPbo]
|
|
102
|
-
def __init__(self, status: _Optional[_Union[JobStatus, str]] = ..., log: _Optional[str] = ..., exception: _Optional[str] = ..., output_files: _Optional[_Iterable[_Union[ScriptFileContentsPbo, _Mapping]]] = ..., output: _Optional[_Iterable[_Union[_entry_pb2.StepOutputBatchPbo, _Mapping]]] = ...) -> None: ...
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
from sapiopycommons.ai.api.plan.script.proto import script_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2
|
|
7
|
-
|
|
8
|
-
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
|
-
GRPC_VERSION = grpc.__version__
|
|
10
|
-
_version_not_supported = False
|
|
11
|
-
|
|
12
|
-
try:
|
|
13
|
-
from grpc._utilities import first_version_is_lower
|
|
14
|
-
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
15
|
-
except ImportError:
|
|
16
|
-
_version_not_supported = True
|
|
17
|
-
|
|
18
|
-
if _version_not_supported:
|
|
19
|
-
raise RuntimeError(
|
|
20
|
-
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
-
+ f' but the generated code in sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py depends on'
|
|
22
|
-
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
|
-
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
|
-
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
25
|
-
)
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
class ScriptServiceStub(object):
|
|
29
|
-
"""
|
|
30
|
-
This is the generic service interface that all tools must implement. We will use hostname routing to route the request to the correct tool.
|
|
31
|
-
The other option is for us to use gRPC metadata to route the request to the correct tool. We don't want to expose a bunch of ports and that's
|
|
32
|
-
a pain to manage. So we will use hostname routing for now.
|
|
33
|
-
"""
|
|
34
|
-
|
|
35
|
-
def __init__(self, channel):
|
|
36
|
-
"""Constructor.
|
|
37
|
-
|
|
38
|
-
Args:
|
|
39
|
-
channel: A grpc.Channel.
|
|
40
|
-
"""
|
|
41
|
-
self.CreateScriptJob = channel.unary_unary(
|
|
42
|
-
'/ScriptService/CreateScriptJob',
|
|
43
|
-
request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequestPbo.SerializeToString,
|
|
44
|
-
response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponsePbo.FromString,
|
|
45
|
-
_registered_method=True)
|
|
46
|
-
self.GetJob = channel.unary_unary(
|
|
47
|
-
'/ScriptService/GetJob',
|
|
48
|
-
request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequestPbo.SerializeToString,
|
|
49
|
-
response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponsePbo.FromString,
|
|
50
|
-
_registered_method=True)
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
class ScriptServiceServicer(object):
|
|
54
|
-
"""
|
|
55
|
-
This is the generic service interface that all tools must implement. We will use hostname routing to route the request to the correct tool.
|
|
56
|
-
The other option is for us to use gRPC metadata to route the request to the correct tool. We don't want to expose a bunch of ports and that's
|
|
57
|
-
a pain to manage. So we will use hostname routing for now.
|
|
58
|
-
"""
|
|
59
|
-
|
|
60
|
-
def CreateScriptJob(self, request, context):
|
|
61
|
-
"""The main entry point for script
|
|
62
|
-
"""
|
|
63
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
64
|
-
context.set_details('Method not implemented!')
|
|
65
|
-
raise NotImplementedError('Method not implemented!')
|
|
66
|
-
|
|
67
|
-
def GetJob(self, request, context):
|
|
68
|
-
"""Missing associated documentation comment in .proto file."""
|
|
69
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
|
-
context.set_details('Method not implemented!')
|
|
71
|
-
raise NotImplementedError('Method not implemented!')
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
def add_ScriptServiceServicer_to_server(servicer, server):
|
|
75
|
-
rpc_method_handlers = {
|
|
76
|
-
'CreateScriptJob': grpc.unary_unary_rpc_method_handler(
|
|
77
|
-
servicer.CreateScriptJob,
|
|
78
|
-
request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequestPbo.FromString,
|
|
79
|
-
response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponsePbo.SerializeToString,
|
|
80
|
-
),
|
|
81
|
-
'GetJob': grpc.unary_unary_rpc_method_handler(
|
|
82
|
-
servicer.GetJob,
|
|
83
|
-
request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequestPbo.FromString,
|
|
84
|
-
response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponsePbo.SerializeToString,
|
|
85
|
-
),
|
|
86
|
-
}
|
|
87
|
-
generic_handler = grpc.method_handlers_generic_handler(
|
|
88
|
-
'ScriptService', rpc_method_handlers)
|
|
89
|
-
server.add_generic_rpc_handlers((generic_handler,))
|
|
90
|
-
server.add_registered_method_handlers('ScriptService', rpc_method_handlers)
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
# This class is part of an EXPERIMENTAL API.
|
|
94
|
-
class ScriptService(object):
|
|
95
|
-
"""
|
|
96
|
-
This is the generic service interface that all tools must implement. We will use hostname routing to route the request to the correct tool.
|
|
97
|
-
The other option is for us to use gRPC metadata to route the request to the correct tool. We don't want to expose a bunch of ports and that's
|
|
98
|
-
a pain to manage. So we will use hostname routing for now.
|
|
99
|
-
"""
|
|
100
|
-
|
|
101
|
-
@staticmethod
|
|
102
|
-
def CreateScriptJob(request,
|
|
103
|
-
target,
|
|
104
|
-
options=(),
|
|
105
|
-
channel_credentials=None,
|
|
106
|
-
call_credentials=None,
|
|
107
|
-
insecure=False,
|
|
108
|
-
compression=None,
|
|
109
|
-
wait_for_ready=None,
|
|
110
|
-
timeout=None,
|
|
111
|
-
metadata=None):
|
|
112
|
-
return grpc.experimental.unary_unary(
|
|
113
|
-
request,
|
|
114
|
-
target,
|
|
115
|
-
'/ScriptService/CreateScriptJob',
|
|
116
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequestPbo.SerializeToString,
|
|
117
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponsePbo.FromString,
|
|
118
|
-
options,
|
|
119
|
-
channel_credentials,
|
|
120
|
-
insecure,
|
|
121
|
-
call_credentials,
|
|
122
|
-
compression,
|
|
123
|
-
wait_for_ready,
|
|
124
|
-
timeout,
|
|
125
|
-
metadata,
|
|
126
|
-
_registered_method=True)
|
|
127
|
-
|
|
128
|
-
@staticmethod
|
|
129
|
-
def GetJob(request,
|
|
130
|
-
target,
|
|
131
|
-
options=(),
|
|
132
|
-
channel_credentials=None,
|
|
133
|
-
call_credentials=None,
|
|
134
|
-
insecure=False,
|
|
135
|
-
compression=None,
|
|
136
|
-
wait_for_ready=None,
|
|
137
|
-
timeout=None,
|
|
138
|
-
metadata=None):
|
|
139
|
-
return grpc.experimental.unary_unary(
|
|
140
|
-
request,
|
|
141
|
-
target,
|
|
142
|
-
'/ScriptService/GetJob',
|
|
143
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequestPbo.SerializeToString,
|
|
144
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponsePbo.FromString,
|
|
145
|
-
options,
|
|
146
|
-
channel_credentials,
|
|
147
|
-
insecure,
|
|
148
|
-
call_credentials,
|
|
149
|
-
compression,
|
|
150
|
-
wait_for_ready,
|
|
151
|
-
timeout,
|
|
152
|
-
metadata,
|
|
153
|
-
_registered_method=True)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: sapiopycommons/ai/api/plan/tool/proto/entry.proto
|
|
5
|
-
# Protobuf Python Version: 5.29.0
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
29,
|
|
16
|
-
0,
|
|
17
|
-
'',
|
|
18
|
-
'sapiopycommons/ai/api/plan/tool/proto/entry.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from sapiopycommons.ai.api.plan.item.proto import item_container_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2
|
|
26
|
-
|
|
27
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import *
|
|
28
|
-
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a:sapiopycommons/ai/api/plan/item/proto/item_container.proto\"V\n\x11StepInputBatchPbo\x12\x12\n\nis_partial\x18\x02 \x01(\x08\x12-\n\x0eitem_container\x18\x01 \x01(\x0b\x32\x15.StepItemContainerPbo\"C\n\x12StepOutputBatchPbo\x12-\n\x0eitem_container\x18\x01 \x01(\x0b\x32\x15.StepItemContainerPboB!\n\x1d\x63om.velox.api.plan.tool.protoP\x01P\x00\x62\x06proto3')
|
|
30
|
-
|
|
31
|
-
_globals = globals()
|
|
32
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.tool.proto.entry_pb2', _globals)
|
|
34
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\035com.velox.api.plan.tool.protoP\001'
|
|
37
|
-
_globals['_STEPINPUTBATCHPBO']._serialized_start=113
|
|
38
|
-
_globals['_STEPINPUTBATCHPBO']._serialized_end=199
|
|
39
|
-
_globals['_STEPOUTPUTBATCHPBO']._serialized_start=201
|
|
40
|
-
_globals['_STEPOUTPUTBATCHPBO']._serialized_end=268
|
|
41
|
-
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
from sapiopycommons.ai.api.plan.item.proto import item_container_pb2 as _item_container_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
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import ContentTypePbo as ContentTypePbo
|
|
6
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvHeaderRowPbo as StepCsvHeaderRowPbo
|
|
7
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvRowPbo as StepCsvRowPbo
|
|
8
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvContainerPbo as StepCsvContainerPbo
|
|
9
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepJsonContainerPbo as StepJsonContainerPbo
|
|
10
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepTextContainerPbo as StepTextContainerPbo
|
|
11
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepBinaryContainerPbo as StepBinaryContainerPbo
|
|
12
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepImageContainerPbo as StepImageContainerPbo
|
|
13
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepItemContainerPbo as StepItemContainerPbo
|
|
14
|
-
from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import DataTypePbo as DataTypePbo
|
|
15
|
-
|
|
16
|
-
DESCRIPTOR: _descriptor.FileDescriptor
|
|
17
|
-
BINARY: _item_container_pb2.DataTypePbo
|
|
18
|
-
JSON: _item_container_pb2.DataTypePbo
|
|
19
|
-
CSV: _item_container_pb2.DataTypePbo
|
|
20
|
-
TEXT: _item_container_pb2.DataTypePbo
|
|
21
|
-
IMAGE: _item_container_pb2.DataTypePbo
|
|
22
|
-
|
|
23
|
-
class StepInputBatchPbo(_message.Message):
|
|
24
|
-
__slots__ = ("is_partial", "item_container")
|
|
25
|
-
IS_PARTIAL_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
-
ITEM_CONTAINER_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
-
is_partial: bool
|
|
28
|
-
item_container: _item_container_pb2.StepItemContainerPbo
|
|
29
|
-
def __init__(self, is_partial: bool = ..., item_container: _Optional[_Union[_item_container_pb2.StepItemContainerPbo, _Mapping]] = ...) -> None: ...
|
|
30
|
-
|
|
31
|
-
class StepOutputBatchPbo(_message.Message):
|
|
32
|
-
__slots__ = ("item_container",)
|
|
33
|
-
ITEM_CONTAINER_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
-
item_container: _item_container_pb2.StepItemContainerPbo
|
|
35
|
-
def __init__(self, item_container: _Optional[_Union[_item_container_pb2.StepItemContainerPbo, _Mapping]] = ...) -> None: ...
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
-
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
-
import grpc
|
|
4
|
-
import warnings
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
-
GRPC_VERSION = grpc.__version__
|
|
9
|
-
_version_not_supported = False
|
|
10
|
-
|
|
11
|
-
try:
|
|
12
|
-
from grpc._utilities import first_version_is_lower
|
|
13
|
-
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
-
except ImportError:
|
|
15
|
-
_version_not_supported = True
|
|
16
|
-
|
|
17
|
-
if _version_not_supported:
|
|
18
|
-
raise RuntimeError(
|
|
19
|
-
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+ f' but the generated code in sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py depends on'
|
|
21
|
-
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
-
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
-
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
-
)
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
-
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
-
# source: sapiopycommons/ai/api/plan/tool/proto/tool.proto
|
|
5
|
-
# Protobuf Python Version: 5.29.0
|
|
6
|
-
"""Generated protocol buffer code."""
|
|
7
|
-
from google.protobuf import descriptor as _descriptor
|
|
8
|
-
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
-
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
-
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
-
from google.protobuf.internal import builder as _builder
|
|
12
|
-
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
-
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
5,
|
|
15
|
-
29,
|
|
16
|
-
0,
|
|
17
|
-
'',
|
|
18
|
-
'sapiopycommons/ai/api/plan/tool/proto/tool.proto'
|
|
19
|
-
)
|
|
20
|
-
# @@protoc_insertion_point(imports)
|
|
21
|
-
|
|
22
|
-
_sym_db = _symbol_database.Default()
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
from sapiopycommons.ai.api.fielddefinitions.proto import fields_pb2 as sapiopycommons_dot_ai_dot_api_dot_fielddefinitions_dot_proto_dot_fields__pb2
|
|
26
|
-
from sapiopycommons.ai.api.fielddefinitions.proto import velox_field_def_pb2 as sapiopycommons_dot_ai_dot_api_dot_fielddefinitions_dot_proto_dot_velox__field__def__pb2
|
|
27
|
-
from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
|
|
28
|
-
try:
|
|
29
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2.sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2
|
|
30
|
-
except AttributeError:
|
|
31
|
-
sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2.sapiopycommons.ai.api.plan.item.proto.item_container_pb2
|
|
32
|
-
from sapiopycommons.ai.api.plan.proto import step_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_proto_dot_step__pb2
|
|
33
|
-
from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_api_dot_session_dot_proto_dot_sapio__conn__info__pb2
|
|
34
|
-
|
|
35
|
-
from sapiopycommons.ai.api.fielddefinitions.proto.fields_pb2 import *
|
|
36
|
-
from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import *
|
|
37
|
-
from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import *
|
|
38
|
-
from sapiopycommons.ai.api.plan.proto.step_pb2 import *
|
|
39
|
-
from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import *
|
|
40
|
-
|
|
41
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0sapiopycommons/ai/api/plan/tool/proto/tool.proto\x1a\x39sapiopycommons/ai/api/fielddefinitions/proto/fields.proto\x1a\x42sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def.proto\x1a\x31sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a+sapiopycommons/ai/api/plan/proto/step.proto\x1a\x39sapiopycommons/ai/api/session/proto/sapio_conn_info.proto\"R\n\x13\x45xampleContainerPbo\x12\x16\n\x0ctext_example\x18\x01 \x01(\tH\x00\x12\x18\n\x0e\x62inary_example\x18\x02 \x01(\x0cH\x00\x42\t\n\x07\x65xample\"\xe9\x01\n\x13ToolIoConfigBasePbo\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x11\n\tio_number\x18\x02 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x16\x64\x65precated_old_example\x18\x05 \x01(\t\x12/\n\x11structure_example\x18\x06 \x01(\x0b\x32\x14.ExampleContainerPbo\x12-\n\x0ftesting_example\x18\x07 \x01(\x0b\x32\x14.ExampleContainerPbo\"\xd9\x02\n\x13ToolInputDetailsPbo\x12)\n\x0b\x62\x61se_config\x18\x01 \x01(\x0b\x32\x14.ToolIoConfigBasePbo\x12\x12\n\nvalidation\x18\x02 \x01(\t\x12\x1c\n\x0fmin_input_count\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x1c\n\x0fmax_input_count\x18\x04 \x01(\x05H\x01\x88\x01\x01\x12\r\n\x05paged\x18\x05 \x01(\x08\x12\x1a\n\rmin_page_size\x18\x06 \x01(\x05H\x02\x88\x01\x01\x12\x1a\n\rmax_page_size\x18\x07 \x01(\x05H\x03\x88\x01\x01\x12\x1e\n\x11max_request_bytes\x18\x08 \x01(\x05H\x04\x88\x01\x01\x42\x12\n\x10_min_input_countB\x12\n\x10_max_input_countB\x10\n\x0e_min_page_sizeB\x10\n\x0e_max_page_sizeB\x14\n\x12_max_request_bytes\"A\n\x14ToolOutputDetailsPbo\x12)\n\x0b\x62\x61se_config\x18\x01 \x01(\x0b\x32\x14.ToolIoConfigBasePbo\"\xd5\x03\n\x15ProcessStepRequestPbo\x12+\n\nsapio_user\x18\x01 \x01(\x0b\x32\x17.SapioConnectionInfoPbo\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\x18\n\x10plan_instance_id\x18\x03 \x01(\x03\x12\x18\n\x10step_instance_id\x18\x04 \x01(\x03\x12\x15\n\rinvocation_id\x18\x05 \x01(\x03\x12%\n\rinput_configs\x18\x06 \x03(\x0b\x32\x0e.StepIoInfoPbo\x12&\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0e.StepIoInfoPbo\x12J\n\x13\x63onfig_field_values\x18\x08 \x03(\x0b\x32-.ProcessStepRequestPbo.ConfigFieldValuesEntry\x12\x0f\n\x07\x64ry_run\x18\t \x01(\x08\x12\x17\n\x0fverbose_logging\x18\n \x01(\x08\x12\"\n\x05input\x18\xff\x0f \x03(\x0b\x32\x12.StepInputBatchPbo\x1aH\n\x16\x43onfigFieldValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.FieldValuePbo:\x02\x38\x01\"\xbc\x01\n\x16ProcessStepResponsePbo\x12-\n\x06status\x18\x01 \x01(\x0e\x32\x1d.ProcessStepResponseStatusPbo\x12\x16\n\x0estatus_message\x18\x02 \x01(\t\x12\'\n\x0bnew_records\x18\xfd\x0f \x03(\x0b\x32\x11.FieldValueMapPbo\x12\x0c\n\x03log\x18\xfe\x0f \x03(\t\x12$\n\x06output\x18\xff\x0f \x03(\x0b\x32\x13.StepOutputBatchPbo\"I\n\x15ToolDetailsRequestPbo\x12\x30\n\x0fsapio_conn_info\x18\x01 \x01(\x0b\x32\x17.SapioConnectionInfoPbo\"\xd8\x01\n\x0eToolDetailsPbo\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1d\n\x15output_data_type_name\x18\x04 \x01(\t\x12+\n\rinput_configs\x18\x05 \x03(\x0b\x32\x14.ToolInputDetailsPbo\x12-\n\x0eoutput_configs\x18\x06 \x03(\x0b\x32\x15.ToolOutputDetailsPbo\x12(\n\rconfig_fields\x18\x07 \x03(\x0b\x32\x11.VeloxFieldDefPbo\"_\n\x16ToolDetailsResponsePbo\x12\x1e\n\x16tool_framework_version\x18\x01 \x01(\x05\x12%\n\x0ctool_details\x18\x02 \x03(\x0b\x32\x0f.ToolDetailsPbo*E\n\x1cProcessStepResponseStatusPbo\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07SUCCESS\x10\x01\x12\x0b\n\x07\x46\x41ILURE\x10\x02\x32\x90\x01\n\x0bToolService\x12\x41\n\x0eGetToolDetails\x12\x16.ToolDetailsRequestPbo\x1a\x17.ToolDetailsResponsePbo\x12>\n\x0bProcessData\x12\x16.ProcessStepRequestPbo\x1a\x17.ProcessStepResponsePboB!\n\x1d\x63om.velox.api.plan.tool.protoP\x01P\x00P\x01P\x02P\x03P\x04\x62\x06proto3')
|
|
42
|
-
|
|
43
|
-
_globals = globals()
|
|
44
|
-
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
45
|
-
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.tool.proto.tool_pb2', _globals)
|
|
46
|
-
if not _descriptor._USE_C_DESCRIPTORS:
|
|
47
|
-
_globals['DESCRIPTOR']._loaded_options = None
|
|
48
|
-
_globals['DESCRIPTOR']._serialized_options = b'\n\035com.velox.api.plan.tool.protoP\001'
|
|
49
|
-
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._loaded_options = None
|
|
50
|
-
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_options = b'8\001'
|
|
51
|
-
_globals['_PROCESSSTEPRESPONSESTATUSPBO']._serialized_start=2123
|
|
52
|
-
_globals['_PROCESSSTEPRESPONSESTATUSPBO']._serialized_end=2192
|
|
53
|
-
_globals['_EXAMPLECONTAINERPBO']._serialized_start=334
|
|
54
|
-
_globals['_EXAMPLECONTAINERPBO']._serialized_end=416
|
|
55
|
-
_globals['_TOOLIOCONFIGBASEPBO']._serialized_start=419
|
|
56
|
-
_globals['_TOOLIOCONFIGBASEPBO']._serialized_end=652
|
|
57
|
-
_globals['_TOOLINPUTDETAILSPBO']._serialized_start=655
|
|
58
|
-
_globals['_TOOLINPUTDETAILSPBO']._serialized_end=1000
|
|
59
|
-
_globals['_TOOLOUTPUTDETAILSPBO']._serialized_start=1002
|
|
60
|
-
_globals['_TOOLOUTPUTDETAILSPBO']._serialized_end=1067
|
|
61
|
-
_globals['_PROCESSSTEPREQUESTPBO']._serialized_start=1070
|
|
62
|
-
_globals['_PROCESSSTEPREQUESTPBO']._serialized_end=1539
|
|
63
|
-
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_start=1467
|
|
64
|
-
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_end=1539
|
|
65
|
-
_globals['_PROCESSSTEPRESPONSEPBO']._serialized_start=1542
|
|
66
|
-
_globals['_PROCESSSTEPRESPONSEPBO']._serialized_end=1730
|
|
67
|
-
_globals['_TOOLDETAILSREQUESTPBO']._serialized_start=1732
|
|
68
|
-
_globals['_TOOLDETAILSREQUESTPBO']._serialized_end=1805
|
|
69
|
-
_globals['_TOOLDETAILSPBO']._serialized_start=1808
|
|
70
|
-
_globals['_TOOLDETAILSPBO']._serialized_end=2024
|
|
71
|
-
_globals['_TOOLDETAILSRESPONSEPBO']._serialized_start=2026
|
|
72
|
-
_globals['_TOOLDETAILSRESPONSEPBO']._serialized_end=2121
|
|
73
|
-
_globals['_TOOLSERVICE']._serialized_start=2195
|
|
74
|
-
_globals['_TOOLSERVICE']._serialized_end=2339
|
|
75
|
-
# @@protoc_insertion_point(module_scope)
|