sapiopycommons 2025.8.18a711__py3-none-any.whl → 2025.8.20a713__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/ai/converter_service_base.py +19 -4
- sapiopycommons/ai/protoapi/fielddefinitions/fields_pb2.py +43 -0
- sapiopycommons/ai/{api/fielddefinitions/proto → protoapi/fielddefinitions}/fields_pb2_grpc.py +1 -1
- sapiopycommons/ai/protoapi/fielddefinitions/velox_field_def_pb2.py +123 -0
- sapiopycommons/ai/{api/plan/item/proto/item_container_pb2_grpc.py → protoapi/fielddefinitions/velox_field_def_pb2_grpc.py} +1 -1
- sapiopycommons/ai/protoapi/plan/converter/converter_pb2.py +51 -0
- sapiopycommons/ai/{api/plan/converter/proto → protoapi/plan/converter}/converter_pb2.pyi +22 -20
- sapiopycommons/ai/{api/plan/converter/proto → protoapi/plan/converter}/converter_pb2_grpc.py +14 -14
- sapiopycommons/ai/protoapi/plan/item/item_container_pb2.py +55 -0
- sapiopycommons/ai/protoapi/plan/item/item_container_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/plan/script/script_pb2.py +59 -0
- sapiopycommons/ai/{api/plan/script/proto → protoapi/plan/script}/script_pb2.pyi +12 -12
- sapiopycommons/ai/{api/plan/script/proto → protoapi/plan/script}/script_pb2_grpc.py +14 -14
- sapiopycommons/ai/protoapi/plan/step_output_pb2.py +45 -0
- sapiopycommons/ai/{api/plan/proto → protoapi/plan}/step_output_pb2_grpc.py +1 -1
- sapiopycommons/ai/protoapi/plan/step_pb2.py +43 -0
- sapiopycommons/ai/{api/plan/proto → protoapi/plan}/step_pb2_grpc.py +1 -1
- sapiopycommons/ai/protoapi/plan/tool/entry_pb2.py +41 -0
- sapiopycommons/ai/protoapi/plan/tool/entry_pb2.pyi +35 -0
- sapiopycommons/ai/{api/plan/tool/proto → protoapi/plan/tool}/entry_pb2_grpc.py +1 -1
- sapiopycommons/ai/protoapi/plan/tool/tool_pb2.py +75 -0
- sapiopycommons/ai/{api/plan/tool/proto → protoapi/plan/tool}/tool_pb2.pyi +50 -50
- sapiopycommons/ai/{api/plan/tool/proto → protoapi/plan/tool}/tool_pb2_grpc.py +14 -14
- sapiopycommons/ai/protoapi/session/sapio_conn_info_pb2.py +39 -0
- sapiopycommons/ai/{api/session/proto → protoapi/session}/sapio_conn_info_pb2_grpc.py +1 -1
- sapiopycommons/ai/protobuf_utils.py +2 -2
- sapiopycommons/ai/server.py +3 -3
- sapiopycommons/ai/test_client.py +8 -10
- sapiopycommons/ai/tool_service_base.py +18 -19
- {sapiopycommons-2025.8.18a711.dist-info → sapiopycommons-2025.8.20a713.dist-info}/METADATA +1 -1
- {sapiopycommons-2025.8.18a711.dist-info → sapiopycommons-2025.8.20a713.dist-info}/RECORD +39 -39
- sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.py +0 -43
- sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.py +0 -123
- 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/item/proto/item_container_pb2.py +0 -55
- sapiopycommons/ai/api/plan/proto/step_output_pb2.py +0 -45
- sapiopycommons/ai/api/plan/proto/step_pb2.py +0 -43
- sapiopycommons/ai/api/plan/script/proto/script_pb2.py +0 -59
- 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/tool_pb2.py +0 -75
- sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.py +0 -39
- /sapiopycommons/ai/{api/fielddefinitions/proto → protoapi/fielddefinitions}/fields_pb2.pyi +0 -0
- /sapiopycommons/ai/{api/fielddefinitions/proto → protoapi/fielddefinitions}/velox_field_def_pb2.pyi +0 -0
- /sapiopycommons/ai/{api/plan/item/proto → protoapi/plan/item}/item_container_pb2.pyi +0 -0
- /sapiopycommons/ai/{api/plan/proto → protoapi/plan}/step_output_pb2.pyi +0 -0
- /sapiopycommons/ai/{api/plan/proto → protoapi/plan}/step_pb2.pyi +0 -0
- /sapiopycommons/ai/{api/session/proto → protoapi/session}/sapio_conn_info_pb2.pyi +0 -0
- {sapiopycommons-2025.8.18a711.dist-info → sapiopycommons-2025.8.20a713.dist-info}/WHEEL +0 -0
- {sapiopycommons-2025.8.18a711.dist-info → sapiopycommons-2025.8.20a713.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
from sapiopycommons.ai.
|
|
2
|
-
from sapiopycommons.ai.
|
|
3
|
-
from sapiopycommons.ai.
|
|
4
|
-
from sapiopycommons.ai.
|
|
1
|
+
from sapiopycommons.ai.protoapi.plan.tool import entry_pb2 as _entry_pb2
|
|
2
|
+
from sapiopycommons.ai.protoapi.plan.item import item_container_pb2 as _item_container_pb2
|
|
3
|
+
from sapiopycommons.ai.protoapi.plan import step_pb2 as _step_pb2
|
|
4
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as _sapio_conn_info_pb2
|
|
5
5
|
from google.protobuf.internal import containers as _containers
|
|
6
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import message as _message
|
|
9
9
|
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
10
|
-
from sapiopycommons.ai.
|
|
11
|
-
from sapiopycommons.ai.
|
|
12
|
-
from sapiopycommons.ai.
|
|
13
|
-
from sapiopycommons.ai.
|
|
14
|
-
from sapiopycommons.ai.
|
|
15
|
-
from sapiopycommons.ai.
|
|
16
|
-
from sapiopycommons.ai.
|
|
17
|
-
from sapiopycommons.ai.
|
|
10
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import StepInputBatchPbo as StepInputBatchPbo
|
|
11
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import StepOutputBatchPbo as StepOutputBatchPbo
|
|
12
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepIoInfoPbo as StepIoInfoPbo
|
|
13
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepIoDetailsPbo as StepIoDetailsPbo
|
|
14
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepInputDetailsPbo as StepInputDetailsPbo
|
|
15
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepOutputDetailsPbo as StepOutputDetailsPbo
|
|
16
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioConnectionInfoPbo as SapioConnectionInfoPbo
|
|
17
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioUserSecretTypePbo as SapioUserSecretTypePbo
|
|
18
18
|
|
|
19
19
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
20
20
|
SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretTypePbo
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
import warnings
|
|
5
5
|
|
|
6
|
-
from sapiopycommons.ai.
|
|
6
|
+
from sapiopycommons.ai.protoapi.plan.script import script_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2
|
|
7
7
|
|
|
8
8
|
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
9
|
GRPC_VERSION = grpc.__version__
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
|
18
18
|
if _version_not_supported:
|
|
19
19
|
raise RuntimeError(
|
|
20
20
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
-
+ f' but the generated code in sapiopycommons/ai/
|
|
21
|
+
+ f' but the generated code in sapiopycommons/ai/protoapi/plan/script/script_pb2_grpc.py depends on'
|
|
22
22
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
23
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
24
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -40,13 +40,13 @@ class ScriptServiceStub(object):
|
|
|
40
40
|
"""
|
|
41
41
|
self.CreateScriptJob = channel.unary_unary(
|
|
42
42
|
'/ScriptService/CreateScriptJob',
|
|
43
|
-
request_serializer=
|
|
44
|
-
response_deserializer=
|
|
43
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobRequestPbo.SerializeToString,
|
|
44
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobResponsePbo.FromString,
|
|
45
45
|
_registered_method=True)
|
|
46
46
|
self.GetJob = channel.unary_unary(
|
|
47
47
|
'/ScriptService/GetJob',
|
|
48
|
-
request_serializer=
|
|
49
|
-
response_deserializer=
|
|
48
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobRequestPbo.SerializeToString,
|
|
49
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobResponsePbo.FromString,
|
|
50
50
|
_registered_method=True)
|
|
51
51
|
|
|
52
52
|
|
|
@@ -75,13 +75,13 @@ def add_ScriptServiceServicer_to_server(servicer, server):
|
|
|
75
75
|
rpc_method_handlers = {
|
|
76
76
|
'CreateScriptJob': grpc.unary_unary_rpc_method_handler(
|
|
77
77
|
servicer.CreateScriptJob,
|
|
78
|
-
request_deserializer=
|
|
79
|
-
response_serializer=
|
|
78
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobRequestPbo.FromString,
|
|
79
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobResponsePbo.SerializeToString,
|
|
80
80
|
),
|
|
81
81
|
'GetJob': grpc.unary_unary_rpc_method_handler(
|
|
82
82
|
servicer.GetJob,
|
|
83
|
-
request_deserializer=
|
|
84
|
-
response_serializer=
|
|
83
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobRequestPbo.FromString,
|
|
84
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobResponsePbo.SerializeToString,
|
|
85
85
|
),
|
|
86
86
|
}
|
|
87
87
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -113,8 +113,8 @@ class ScriptService(object):
|
|
|
113
113
|
request,
|
|
114
114
|
target,
|
|
115
115
|
'/ScriptService/CreateScriptJob',
|
|
116
|
-
|
|
117
|
-
|
|
116
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobRequestPbo.SerializeToString,
|
|
117
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.CreateScriptJobResponsePbo.FromString,
|
|
118
118
|
options,
|
|
119
119
|
channel_credentials,
|
|
120
120
|
insecure,
|
|
@@ -140,8 +140,8 @@ class ScriptService(object):
|
|
|
140
140
|
request,
|
|
141
141
|
target,
|
|
142
142
|
'/ScriptService/GetJob',
|
|
143
|
-
|
|
144
|
-
|
|
143
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobRequestPbo.SerializeToString,
|
|
144
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_script_dot_script__pb2.GetJobResponsePbo.FromString,
|
|
145
145
|
options,
|
|
146
146
|
channel_credentials,
|
|
147
147
|
insecure,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: sapiopycommons/ai/protoapi/plan/step_output.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/protoapi/plan/step_output.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1sapiopycommons/ai/protoapi/plan/step_output.proto\"(\n\x18StepJsonSingletonItemPbo\x12\x0c\n\x04item\x18\x01 \x01(\t\"(\n\x18StepTextSingletonItemPbo\x12\x0c\n\x04item\x18\x01 \x01(\t\"(\n\x17StepCsvSingletonItemPbo\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"*\n\x1aStepBinarySingletonItemPbo\x12\x0c\n\x04item\x18\x01 \x01(\x0c\"\xf6\x01\n\x14StepSingletonItemPbo\x12\x33\n\x0ejson_singleton\x18\x01 \x01(\x0b\x32\x19.StepJsonSingletonItemPboH\x00\x12\x33\n\x0etext_singleton\x18\x02 \x01(\x0b\x32\x19.StepTextSingletonItemPboH\x00\x12\x31\n\rcsv_singleton\x18\x03 \x01(\x0b\x32\x18.StepCsvSingletonItemPboH\x00\x12\x37\n\x10\x62inary_singleton\x18\x04 \x01(\x0b\x32\x1b.StepBinarySingletonItemPboH\x00\x42\x08\n\x06outputB\x1b\n\x17\x63om.velox.protoapi.planP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.step_output_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.velox.protoapi.planP\001'
|
|
35
|
+
_globals['_STEPJSONSINGLETONITEMPBO']._serialized_start=53
|
|
36
|
+
_globals['_STEPJSONSINGLETONITEMPBO']._serialized_end=93
|
|
37
|
+
_globals['_STEPTEXTSINGLETONITEMPBO']._serialized_start=95
|
|
38
|
+
_globals['_STEPTEXTSINGLETONITEMPBO']._serialized_end=135
|
|
39
|
+
_globals['_STEPCSVSINGLETONITEMPBO']._serialized_start=137
|
|
40
|
+
_globals['_STEPCSVSINGLETONITEMPBO']._serialized_end=177
|
|
41
|
+
_globals['_STEPBINARYSINGLETONITEMPBO']._serialized_start=179
|
|
42
|
+
_globals['_STEPBINARYSINGLETONITEMPBO']._serialized_end=221
|
|
43
|
+
_globals['_STEPSINGLETONITEMPBO']._serialized_start=224
|
|
44
|
+
_globals['_STEPSINGLETONITEMPBO']._serialized_end=470
|
|
45
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,7 +17,7 @@ except ImportError:
|
|
|
17
17
|
if _version_not_supported:
|
|
18
18
|
raise RuntimeError(
|
|
19
19
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+ f' but the generated code in sapiopycommons/ai/
|
|
20
|
+
+ f' but the generated code in sapiopycommons/ai/protoapi/plan/step_output_pb2_grpc.py depends on'
|
|
21
21
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
22
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
23
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: sapiopycommons/ai/protoapi/plan/step.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/protoapi/plan/step.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*sapiopycommons/ai/protoapi/plan/step.proto\"N\n\rStepIoInfoPbo\x12\x16\n\x0estep_io_number\x18\x01 \x01(\x05\x12\x14\n\x0c\x63ontent_type\x18\x02 \x01(\t\x12\x0f\n\x07io_name\x18\x03 \x01(\t\"r\n\x10StepIoDetailsPbo\x12$\n\x0cstep_io_info\x18\x01 \x01(\x0b\x32\x0e.StepIoInfoPbo\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0f\n\x07\x65xample\x18\x03 \x01(\t\x12\x12\n\nvalidation\x18\x04 \x01(\t\"p\n\x13StepInputDetailsPbo\x12*\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x11.StepIoDetailsPbo\x12\x18\n\x10paging_supported\x18\x02 \x01(\x08\x12\x13\n\x0bmax_entries\x18\x03 \x01(\x05\"B\n\x14StepOutputDetailsPbo\x12*\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x11.StepIoDetailsPboB\x1b\n\x17\x63om.velox.protoapi.planP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.step_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.velox.protoapi.planP\001'
|
|
35
|
+
_globals['_STEPIOINFOPBO']._serialized_start=46
|
|
36
|
+
_globals['_STEPIOINFOPBO']._serialized_end=124
|
|
37
|
+
_globals['_STEPIODETAILSPBO']._serialized_start=126
|
|
38
|
+
_globals['_STEPIODETAILSPBO']._serialized_end=240
|
|
39
|
+
_globals['_STEPINPUTDETAILSPBO']._serialized_start=242
|
|
40
|
+
_globals['_STEPINPUTDETAILSPBO']._serialized_end=354
|
|
41
|
+
_globals['_STEPOUTPUTDETAILSPBO']._serialized_start=356
|
|
42
|
+
_globals['_STEPOUTPUTDETAILSPBO']._serialized_end=422
|
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -17,7 +17,7 @@ except ImportError:
|
|
|
17
17
|
if _version_not_supported:
|
|
18
18
|
raise RuntimeError(
|
|
19
19
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+ f' but the generated code in sapiopycommons/ai/
|
|
20
|
+
+ f' but the generated code in sapiopycommons/ai/protoapi/plan/step_pb2_grpc.py depends on'
|
|
21
21
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
22
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
23
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: sapiopycommons/ai/protoapi/plan/tool/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/protoapi/plan/tool/entry.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from sapiopycommons.ai.protoapi.plan.item import item_container_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_item_dot_item__container__pb2
|
|
26
|
+
|
|
27
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import *
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0sapiopycommons/ai/protoapi/plan/tool/entry.proto\x1a\x39sapiopycommons/ai/protoapi/plan/item/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\x1c\x63om.velox.protoapi.plan.toolP\x01P\x00\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.tool.entry_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.velox.protoapi.plan.toolP\001'
|
|
37
|
+
_globals['_STEPINPUTBATCHPBO']._serialized_start=111
|
|
38
|
+
_globals['_STEPINPUTBATCHPBO']._serialized_end=197
|
|
39
|
+
_globals['_STEPOUTPUTBATCHPBO']._serialized_start=199
|
|
40
|
+
_globals['_STEPOUTPUTBATCHPBO']._serialized_end=266
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
from sapiopycommons.ai.protoapi.plan.item 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.protoapi.plan.item.item_container_pb2 import ContentTypePbo as ContentTypePbo
|
|
6
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvHeaderRowPbo as StepCsvHeaderRowPbo
|
|
7
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvRowPbo as StepCsvRowPbo
|
|
8
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvContainerPbo as StepCsvContainerPbo
|
|
9
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepJsonContainerPbo as StepJsonContainerPbo
|
|
10
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepTextContainerPbo as StepTextContainerPbo
|
|
11
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepBinaryContainerPbo as StepBinaryContainerPbo
|
|
12
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepImageContainerPbo as StepImageContainerPbo
|
|
13
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepItemContainerPbo as StepItemContainerPbo
|
|
14
|
+
from sapiopycommons.ai.protoapi.plan.item.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: ...
|
|
@@ -17,7 +17,7 @@ except ImportError:
|
|
|
17
17
|
if _version_not_supported:
|
|
18
18
|
raise RuntimeError(
|
|
19
19
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
-
+ f' but the generated code in sapiopycommons/ai/
|
|
20
|
+
+ f' but the generated code in sapiopycommons/ai/protoapi/plan/tool/entry_pb2_grpc.py depends on'
|
|
21
21
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
22
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
23
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: sapiopycommons/ai/protoapi/plan/tool/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/protoapi/plan/tool/tool.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import fields_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_fielddefinitions_dot_fields__pb2
|
|
26
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import velox_field_def_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_fielddefinitions_dot_velox__field__def__pb2
|
|
27
|
+
from sapiopycommons.ai.protoapi.plan.tool import entry_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_entry__pb2
|
|
28
|
+
try:
|
|
29
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_item_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_entry__pb2.sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_item_dot_item__container__pb2
|
|
30
|
+
except AttributeError:
|
|
31
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_item_dot_item__container__pb2 = sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_entry__pb2.sapiopycommons.ai.protoapi.plan.item.item_container_pb2
|
|
32
|
+
from sapiopycommons.ai.protoapi.plan import step_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_step__pb2
|
|
33
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_session_dot_sapio__conn__info__pb2
|
|
34
|
+
|
|
35
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import *
|
|
36
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import *
|
|
37
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import *
|
|
38
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import *
|
|
39
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import *
|
|
40
|
+
|
|
41
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/sapiopycommons/ai/protoapi/plan/tool/tool.proto\x1a\x38sapiopycommons/ai/protoapi/fielddefinitions/fields.proto\x1a\x41sapiopycommons/ai/protoapi/fielddefinitions/velox_field_def.proto\x1a\x30sapiopycommons/ai/protoapi/plan/tool/entry.proto\x1a*sapiopycommons/ai/protoapi/plan/step.proto\x1a\x38sapiopycommons/ai/protoapi/session/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\x1c\x63om.velox.protoapi.plan.toolP\x01P\x00P\x01P\x02P\x03P\x04\x62\x06proto3')
|
|
42
|
+
|
|
43
|
+
_globals = globals()
|
|
44
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
45
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.tool.tool_pb2', _globals)
|
|
46
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
47
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
48
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.velox.protoapi.plan.toolP\001'
|
|
49
|
+
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._loaded_options = None
|
|
50
|
+
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_options = b'8\001'
|
|
51
|
+
_globals['_PROCESSSTEPRESPONSESTATUSPBO']._serialized_start=2117
|
|
52
|
+
_globals['_PROCESSSTEPRESPONSESTATUSPBO']._serialized_end=2186
|
|
53
|
+
_globals['_EXAMPLECONTAINERPBO']._serialized_start=328
|
|
54
|
+
_globals['_EXAMPLECONTAINERPBO']._serialized_end=410
|
|
55
|
+
_globals['_TOOLIOCONFIGBASEPBO']._serialized_start=413
|
|
56
|
+
_globals['_TOOLIOCONFIGBASEPBO']._serialized_end=646
|
|
57
|
+
_globals['_TOOLINPUTDETAILSPBO']._serialized_start=649
|
|
58
|
+
_globals['_TOOLINPUTDETAILSPBO']._serialized_end=994
|
|
59
|
+
_globals['_TOOLOUTPUTDETAILSPBO']._serialized_start=996
|
|
60
|
+
_globals['_TOOLOUTPUTDETAILSPBO']._serialized_end=1061
|
|
61
|
+
_globals['_PROCESSSTEPREQUESTPBO']._serialized_start=1064
|
|
62
|
+
_globals['_PROCESSSTEPREQUESTPBO']._serialized_end=1533
|
|
63
|
+
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_start=1461
|
|
64
|
+
_globals['_PROCESSSTEPREQUESTPBO_CONFIGFIELDVALUESENTRY']._serialized_end=1533
|
|
65
|
+
_globals['_PROCESSSTEPRESPONSEPBO']._serialized_start=1536
|
|
66
|
+
_globals['_PROCESSSTEPRESPONSEPBO']._serialized_end=1724
|
|
67
|
+
_globals['_TOOLDETAILSREQUESTPBO']._serialized_start=1726
|
|
68
|
+
_globals['_TOOLDETAILSREQUESTPBO']._serialized_end=1799
|
|
69
|
+
_globals['_TOOLDETAILSPBO']._serialized_start=1802
|
|
70
|
+
_globals['_TOOLDETAILSPBO']._serialized_end=2018
|
|
71
|
+
_globals['_TOOLDETAILSRESPONSEPBO']._serialized_start=2020
|
|
72
|
+
_globals['_TOOLDETAILSRESPONSEPBO']._serialized_end=2115
|
|
73
|
+
_globals['_TOOLSERVICE']._serialized_start=2189
|
|
74
|
+
_globals['_TOOLSERVICE']._serialized_end=2333
|
|
75
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
from sapiopycommons.ai.
|
|
2
|
-
from sapiopycommons.ai.
|
|
3
|
-
from sapiopycommons.ai.
|
|
4
|
-
from sapiopycommons.ai.
|
|
5
|
-
from sapiopycommons.ai.
|
|
6
|
-
from sapiopycommons.ai.
|
|
1
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import fields_pb2 as _fields_pb2
|
|
2
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import velox_field_def_pb2 as _velox_field_def_pb2
|
|
3
|
+
from sapiopycommons.ai.protoapi.plan.tool import entry_pb2 as _entry_pb2
|
|
4
|
+
from sapiopycommons.ai.protoapi.plan.item import item_container_pb2 as _item_container_pb2
|
|
5
|
+
from sapiopycommons.ai.protoapi.plan import step_pb2 as _step_pb2
|
|
6
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as _sapio_conn_info_pb2
|
|
7
7
|
from google.protobuf.internal import containers as _containers
|
|
8
8
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
9
9
|
from google.protobuf import descriptor as _descriptor
|
|
10
10
|
from google.protobuf import message as _message
|
|
11
11
|
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
12
|
-
from sapiopycommons.ai.
|
|
13
|
-
from sapiopycommons.ai.
|
|
14
|
-
from sapiopycommons.ai.
|
|
15
|
-
from sapiopycommons.ai.
|
|
16
|
-
from sapiopycommons.ai.
|
|
17
|
-
from sapiopycommons.ai.
|
|
18
|
-
from sapiopycommons.ai.
|
|
19
|
-
from sapiopycommons.ai.
|
|
20
|
-
from sapiopycommons.ai.
|
|
21
|
-
from sapiopycommons.ai.
|
|
22
|
-
from sapiopycommons.ai.
|
|
23
|
-
from sapiopycommons.ai.
|
|
24
|
-
from sapiopycommons.ai.
|
|
25
|
-
from sapiopycommons.ai.
|
|
26
|
-
from sapiopycommons.ai.
|
|
27
|
-
from sapiopycommons.ai.
|
|
28
|
-
from sapiopycommons.ai.
|
|
29
|
-
from sapiopycommons.ai.
|
|
30
|
-
from sapiopycommons.ai.
|
|
31
|
-
from sapiopycommons.ai.
|
|
32
|
-
from sapiopycommons.ai.
|
|
33
|
-
from sapiopycommons.ai.
|
|
34
|
-
from sapiopycommons.ai.
|
|
35
|
-
from sapiopycommons.ai.
|
|
36
|
-
from sapiopycommons.ai.
|
|
37
|
-
from sapiopycommons.ai.
|
|
38
|
-
from sapiopycommons.ai.
|
|
39
|
-
from sapiopycommons.ai.
|
|
40
|
-
from sapiopycommons.ai.
|
|
41
|
-
from sapiopycommons.ai.
|
|
42
|
-
from sapiopycommons.ai.
|
|
43
|
-
from sapiopycommons.ai.
|
|
44
|
-
from sapiopycommons.ai.
|
|
45
|
-
from sapiopycommons.ai.
|
|
46
|
-
from sapiopycommons.ai.
|
|
47
|
-
from sapiopycommons.ai.
|
|
48
|
-
from sapiopycommons.ai.
|
|
49
|
-
from sapiopycommons.ai.
|
|
50
|
-
from sapiopycommons.ai.
|
|
51
|
-
from sapiopycommons.ai.
|
|
52
|
-
from sapiopycommons.ai.
|
|
53
|
-
from sapiopycommons.ai.
|
|
54
|
-
from sapiopycommons.ai.
|
|
55
|
-
from sapiopycommons.ai.
|
|
12
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import FieldValuePbo as FieldValuePbo
|
|
13
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import FieldValueMapPbo as FieldValueMapPbo
|
|
14
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import FieldValidatorPbo as FieldValidatorPbo
|
|
15
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ColorRangePbo as ColorRangePbo
|
|
16
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import BooleanDependentFieldEntryPbo as BooleanDependentFieldEntryPbo
|
|
17
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import SelectionDependentFieldEntryPbo as SelectionDependentFieldEntryPbo
|
|
18
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import EnumDependentFieldEntryPbo as EnumDependentFieldEntryPbo
|
|
19
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ProcessDetailEntryPbo as ProcessDetailEntryPbo
|
|
20
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import BooleanPropertiesPbo as BooleanPropertiesPbo
|
|
21
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import DatePropertiesPbo as DatePropertiesPbo
|
|
22
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import DoublePropertiesPbo as DoublePropertiesPbo
|
|
23
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import IntegerPropertiesPbo as IntegerPropertiesPbo
|
|
24
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import LongPropertiesPbo as LongPropertiesPbo
|
|
25
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ShortPropertiesPbo as ShortPropertiesPbo
|
|
26
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import SelectionPropertiesPbo as SelectionPropertiesPbo
|
|
27
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import StringPropertiesPbo as StringPropertiesPbo
|
|
28
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import SideLinkPropertiesPbo as SideLinkPropertiesPbo
|
|
29
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import PickListPropertiesPbo as PickListPropertiesPbo
|
|
30
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ParentLinkPropertiesPbo as ParentLinkPropertiesPbo
|
|
31
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import MultiParentPropertiesPbo as MultiParentPropertiesPbo
|
|
32
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import IdentifierPropertiesPbo as IdentifierPropertiesPbo
|
|
33
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import FileBlobPropertiesPbo as FileBlobPropertiesPbo
|
|
34
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import EnumPropertiesPbo as EnumPropertiesPbo
|
|
35
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import DateRangePropertiesPbo as DateRangePropertiesPbo
|
|
36
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ChildLinkPropertiesPbo as ChildLinkPropertiesPbo
|
|
37
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ActionStringPropertiesPbo as ActionStringPropertiesPbo
|
|
38
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import ActionPropertiesPbo as ActionPropertiesPbo
|
|
39
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import AccessionPropertiesPbo as AccessionPropertiesPbo
|
|
40
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import VeloxFieldDefPbo as VeloxFieldDefPbo
|
|
41
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import VeloxFieldDefListPbo as VeloxFieldDefListPbo
|
|
42
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import FieldTypePbo as FieldTypePbo
|
|
43
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import SortDirectionPbo as SortDirectionPbo
|
|
44
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import FontSizePbo as FontSizePbo
|
|
45
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import TextDecorationPbo as TextDecorationPbo
|
|
46
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import StringFormatPbo as StringFormatPbo
|
|
47
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2 import DoubleFormatPbo as DoubleFormatPbo
|
|
48
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import StepInputBatchPbo as StepInputBatchPbo
|
|
49
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import StepOutputBatchPbo as StepOutputBatchPbo
|
|
50
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepIoInfoPbo as StepIoInfoPbo
|
|
51
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepIoDetailsPbo as StepIoDetailsPbo
|
|
52
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepInputDetailsPbo as StepInputDetailsPbo
|
|
53
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import StepOutputDetailsPbo as StepOutputDetailsPbo
|
|
54
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioConnectionInfoPbo as SapioConnectionInfoPbo
|
|
55
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioUserSecretTypePbo as SapioUserSecretTypePbo
|
|
56
56
|
|
|
57
57
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
58
58
|
FIELD_TYPE_UNSPECIFIED: _velox_field_def_pb2.FieldTypePbo
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
import warnings
|
|
5
5
|
|
|
6
|
-
from sapiopycommons.ai.
|
|
6
|
+
from sapiopycommons.ai.protoapi.plan.tool import tool_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2
|
|
7
7
|
|
|
8
8
|
GRPC_GENERATED_VERSION = '1.70.0'
|
|
9
9
|
GRPC_VERSION = grpc.__version__
|
|
@@ -18,7 +18,7 @@ except ImportError:
|
|
|
18
18
|
if _version_not_supported:
|
|
19
19
|
raise RuntimeError(
|
|
20
20
|
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
21
|
-
+ f' but the generated code in sapiopycommons/ai/
|
|
21
|
+
+ f' but the generated code in sapiopycommons/ai/protoapi/plan/tool/tool_pb2_grpc.py depends on'
|
|
22
22
|
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
23
23
|
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
24
24
|
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
@@ -40,13 +40,13 @@ class ToolServiceStub(object):
|
|
|
40
40
|
"""
|
|
41
41
|
self.GetToolDetails = channel.unary_unary(
|
|
42
42
|
'/ToolService/GetToolDetails',
|
|
43
|
-
request_serializer=
|
|
44
|
-
response_deserializer=
|
|
43
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsRequestPbo.SerializeToString,
|
|
44
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsResponsePbo.FromString,
|
|
45
45
|
_registered_method=True)
|
|
46
46
|
self.ProcessData = channel.unary_unary(
|
|
47
47
|
'/ToolService/ProcessData',
|
|
48
|
-
request_serializer=
|
|
49
|
-
response_deserializer=
|
|
48
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepRequestPbo.SerializeToString,
|
|
49
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepResponsePbo.FromString,
|
|
50
50
|
_registered_method=True)
|
|
51
51
|
|
|
52
52
|
|
|
@@ -76,13 +76,13 @@ def add_ToolServiceServicer_to_server(servicer, server):
|
|
|
76
76
|
rpc_method_handlers = {
|
|
77
77
|
'GetToolDetails': grpc.unary_unary_rpc_method_handler(
|
|
78
78
|
servicer.GetToolDetails,
|
|
79
|
-
request_deserializer=
|
|
80
|
-
response_serializer=
|
|
79
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsRequestPbo.FromString,
|
|
80
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsResponsePbo.SerializeToString,
|
|
81
81
|
),
|
|
82
82
|
'ProcessData': grpc.unary_unary_rpc_method_handler(
|
|
83
83
|
servicer.ProcessData,
|
|
84
|
-
request_deserializer=
|
|
85
|
-
response_serializer=
|
|
84
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepRequestPbo.FromString,
|
|
85
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepResponsePbo.SerializeToString,
|
|
86
86
|
),
|
|
87
87
|
}
|
|
88
88
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -114,8 +114,8 @@ class ToolService(object):
|
|
|
114
114
|
request,
|
|
115
115
|
target,
|
|
116
116
|
'/ToolService/GetToolDetails',
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsRequestPbo.SerializeToString,
|
|
118
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ToolDetailsResponsePbo.FromString,
|
|
119
119
|
options,
|
|
120
120
|
channel_credentials,
|
|
121
121
|
insecure,
|
|
@@ -141,8 +141,8 @@ class ToolService(object):
|
|
|
141
141
|
request,
|
|
142
142
|
target,
|
|
143
143
|
'/ToolService/ProcessData',
|
|
144
|
-
|
|
145
|
-
|
|
144
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepRequestPbo.SerializeToString,
|
|
145
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_tool__pb2.ProcessStepResponsePbo.FromString,
|
|
146
146
|
options,
|
|
147
147
|
channel_credentials,
|
|
148
148
|
insecure,
|