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
|
@@ -5,10 +5,10 @@ from abc import ABC, abstractmethod
|
|
|
5
5
|
|
|
6
6
|
from grpc import ServicerContext
|
|
7
7
|
|
|
8
|
-
from sapiopycommons.ai.
|
|
8
|
+
from sapiopycommons.ai.protoapi.plan.converter.converter_pb2 import ConverterDetailsResponsePbo, ConvertResponsePbo, \
|
|
9
9
|
ConvertRequestPbo, ConverterDetailsRequestPbo, ContentTypePairPbo
|
|
10
|
-
from sapiopycommons.ai.
|
|
11
|
-
from sapiopycommons.ai.
|
|
10
|
+
from sapiopycommons.ai.protoapi.plan.converter.converter_pb2_grpc import ConverterServiceServicer
|
|
11
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import ContentTypePbo, StepItemContainerPbo
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class ConverterServiceBase(ConverterServiceServicer, ABC):
|
|
@@ -19,10 +19,11 @@ class ConverterServiceBase(ConverterServiceServicer, ABC):
|
|
|
19
19
|
for c in self.register_converters():
|
|
20
20
|
converter = c()
|
|
21
21
|
supported_types.append(ContentTypePairPbo(
|
|
22
|
+
converter_name=converter.name(),
|
|
22
23
|
input_content_type=converter.input_type_pbo(),
|
|
23
24
|
output_content_type=converter.output_type_pbo()
|
|
24
25
|
))
|
|
25
|
-
return ConverterDetailsResponsePbo(supported_types=supported_types)
|
|
26
|
+
return ConverterDetailsResponsePbo(supported_types=supported_types, service_name=self.name())
|
|
26
27
|
except Exception as e:
|
|
27
28
|
print(f"CRITICAL ERROR: {e}")
|
|
28
29
|
print(traceback.format_exc())
|
|
@@ -44,6 +45,14 @@ class ConverterServiceBase(ConverterServiceServicer, ABC):
|
|
|
44
45
|
print(traceback.format_exc())
|
|
45
46
|
return ConvertResponsePbo()
|
|
46
47
|
|
|
48
|
+
@staticmethod
|
|
49
|
+
@abstractmethod
|
|
50
|
+
def name() -> str:
|
|
51
|
+
"""
|
|
52
|
+
:return: The name of this converter service.
|
|
53
|
+
"""
|
|
54
|
+
pass
|
|
55
|
+
|
|
47
56
|
@abstractmethod
|
|
48
57
|
def register_converters(self) -> list[type[ConverterBase]]:
|
|
49
58
|
"""
|
|
@@ -55,6 +64,12 @@ class ConverterServiceBase(ConverterServiceServicer, ABC):
|
|
|
55
64
|
|
|
56
65
|
|
|
57
66
|
class ConverterBase(ABC):
|
|
67
|
+
def name(self) -> str:
|
|
68
|
+
"""
|
|
69
|
+
:return: The name of this converter, typically in the format "<input_type> to <output_type>".
|
|
70
|
+
"""
|
|
71
|
+
return self.input_type() + " to " + self.output_type()
|
|
72
|
+
|
|
58
73
|
def input_type_pbo(self) -> ContentTypePbo:
|
|
59
74
|
"""
|
|
60
75
|
:return: The input content type this converter accepts as a ContentTypePbo.
|
|
@@ -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/fielddefinitions/fields.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/fielddefinitions/fields.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'\n8sapiopycommons/ai/protoapi/fielddefinitions/fields.proto\"s\n\rFieldValuePbo\x12\x16\n\x0cstring_value\x18\x0f \x01(\tH\x00\x12\x13\n\tint_value\x18\x0e \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\r \x01(\x01H\x00\x12\x14\n\nbool_value\x18\x0c \x01(\x08H\x00\x42\x07\n\x05\x66ield\"\x80\x01\n\x10\x46ieldValueMapPbo\x12-\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x1d.FieldValueMapPbo.FieldsEntry\x1a=\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.FieldValuePbo:\x02\x38\x01\x42\'\n#com.velox.protoapi.fielddefinitionsP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n#com.velox.protoapi.fielddefinitionsP\001'
|
|
35
|
+
_globals['_FIELDVALUEMAPPBO_FIELDSENTRY']._loaded_options = None
|
|
36
|
+
_globals['_FIELDVALUEMAPPBO_FIELDSENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_FIELDVALUEPBO']._serialized_start=60
|
|
38
|
+
_globals['_FIELDVALUEPBO']._serialized_end=175
|
|
39
|
+
_globals['_FIELDVALUEMAPPBO']._serialized_start=178
|
|
40
|
+
_globals['_FIELDVALUEMAPPBO']._serialized_end=306
|
|
41
|
+
_globals['_FIELDVALUEMAPPBO_FIELDSENTRY']._serialized_start=245
|
|
42
|
+
_globals['_FIELDVALUEMAPPBO_FIELDSENTRY']._serialized_end=306
|
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
sapiopycommons/ai/{api/fielddefinitions/proto → protoapi/fielddefinitions}/fields_pb2_grpc.py
RENAMED
|
@@ -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/fielddefinitions/fields_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,123 @@
|
|
|
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/fielddefinitions/velox_field_def.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/fielddefinitions/velox_field_def.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'\nAsapiopycommons/ai/protoapi/fielddefinitions/velox_field_def.proto\"D\n\x11\x46ieldValidatorPbo\x12\x18\n\x10validation_regex\x18\x01 \x01(\t\x12\x15\n\rerror_message\x18\x02 \x01(\t\"D\n\rColorRangePbo\x12\x12\n\nfrom_value\x18\x01 \x01(\x01\x12\x10\n\x08to_value\x18\x02 \x01(\x01\x12\r\n\x05\x63olor\x18\x03 \x01(\t\"K\n\x1d\x42ooleanDependentFieldEntryPbo\x12\x0b\n\x03key\x18\x01 \x01(\x08\x12\x1d\n\x15\x64\x65pendent_field_names\x18\x02 \x03(\t\"M\n\x1fSelectionDependentFieldEntryPbo\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x15\x64\x65pendent_field_names\x18\x02 \x03(\t\"H\n\x1a\x45numDependentFieldEntryPbo\x12\x0b\n\x03key\x18\x01 \x01(\x05\x12\x1d\n\x15\x64\x65pendent_field_names\x18\x02 \x03(\t\",\n\x15ProcessDetailEntryPbo\x12\x13\n\x0btodo_fields\x18\x01 \x03(\t\"\xbd\x01\n\x14\x42ooleanPropertiesPbo\x12\x1a\n\rdefault_value\x18\x01 \x01(\x08H\x00\x88\x01\x01\x12\x1c\n\x14is_process_todo_item\x18\x02 \x01(\x08\x12\x38\n\x10\x64\x65pendent_fields\x18\x03 \x03(\x0b\x32\x1e.BooleanDependentFieldEntryPbo\x12\x1f\n\x17is_hide_disabled_fields\x18\x04 \x01(\x08\x42\x10\n\x0e_default_value\"s\n\x11\x44\x61tePropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x13\n\x0bstatic_date\x18\x02 \x01(\x08\x12\x1d\n\x10\x64\x61te_time_format\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_date_time_format\"\xc1\x02\n\x13\x44oublePropertiesPbo\x12\x11\n\tmin_value\x18\x01 \x01(\x01\x12\x11\n\tmax_value\x18\x02 \x01(\x01\x12\x1a\n\rdefault_value\x18\x03 \x01(\x01H\x00\x88\x01\x01\x12\x11\n\tprecision\x18\x04 \x01(\x05\x12\'\n\rdouble_format\x18\x05 \x01(\x0e\x32\x10.DoubleFormatPbo\x12$\n\x0c\x63olor_ranges\x18\x06 \x03(\x0b\x32\x0e.ColorRangePbo\x12>\n1scientific_notation_min_digits_from_decimal_point\x18\x07 \x01(\x05H\x01\x88\x01\x01\x42\x10\n\x0e_default_valueB4\n2_scientific_notation_min_digits_from_decimal_point\"\xea\x02\n\x14IntegerPropertiesPbo\x12\x11\n\tmin_value\x18\x01 \x01(\x05\x12\x11\n\tmax_value\x18\x02 \x01(\x05\x12\x1a\n\rdefault_value\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x14\n\x0cunique_value\x18\x04 \x01(\x08\x12$\n\x0c\x63olor_ranges\x18\x05 \x03(\x0b\x32\x0e.ColorRangePbo\x12>\n1scientific_notation_min_digits_from_decimal_point\x18\x06 \x01(\x05H\x01\x88\x01\x01\x12*\n\x1dscientific_notation_precision\x18\x07 \x01(\x05H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB4\n2_scientific_notation_min_digits_from_decimal_pointB \n\x1e_scientific_notation_precision\"\xe7\x02\n\x11LongPropertiesPbo\x12\x11\n\tmin_value\x18\x01 \x01(\x03\x12\x11\n\tmax_value\x18\x02 \x01(\x03\x12\x1a\n\rdefault_value\x18\x03 \x01(\x03H\x00\x88\x01\x01\x12\x14\n\x0cunique_value\x18\x04 \x01(\x08\x12$\n\x0c\x63olor_ranges\x18\x05 \x03(\x0b\x32\x0e.ColorRangePbo\x12>\n1scientific_notation_min_digits_from_decimal_point\x18\x06 \x01(\x05H\x01\x88\x01\x01\x12*\n\x1dscientific_notation_precision\x18\x07 \x01(\x05H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB4\n2_scientific_notation_min_digits_from_decimal_pointB \n\x1e_scientific_notation_precision\"\xe8\x02\n\x12ShortPropertiesPbo\x12\x11\n\tmin_value\x18\x01 \x01(\x05\x12\x11\n\tmax_value\x18\x02 \x01(\x05\x12\x1a\n\rdefault_value\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x14\n\x0cunique_value\x18\x04 \x01(\x08\x12$\n\x0c\x63olor_ranges\x18\x05 \x03(\x0b\x32\x0e.ColorRangePbo\x12>\n1scientific_notation_min_digits_from_decimal_point\x18\x06 \x01(\x05H\x01\x88\x01\x01\x12*\n\x1dscientific_notation_precision\x18\x07 \x01(\x05H\x02\x88\x01\x01\x42\x10\n\x0e_default_valueB4\n2_scientific_notation_min_digits_from_decimal_pointB \n\x1e_scientific_notation_precision\"\xdf\x05\n\x16SelectionPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x11\n\tlist_mode\x18\x02 \x01(\t\x12\x11\n\tauto_sort\x18\x03 \x01(\x08\x12\x13\n\x0b\x64irect_edit\x18\x04 \x01(\x08\x12\x14\n\x0cunique_value\x18\x05 \x01(\x08\x12\x10\n\x08link_out\x18\x06 \x01(\x08\x12\x14\n\x0clink_out_url\x18\x07 \x01(\t\x12\x14\n\x0cmulti_select\x18\x08 \x01(\x08\x12\x18\n\x10index_for_search\x18\t \x01(\x08\x12\x14\n\x0cis_auto_size\x18\n \x01(\x08\x12\x30\n\x0f\x66ield_validator\x18\x0b \x01(\x0b\x32\x12.FieldValidatorPboH\x00\x88\x01\x01\x12\x1a\n\x12static_list_values\x18\x0c \x03(\t\x12@\n\rcolor_mapping\x18\r \x03(\x0b\x32).SelectionPropertiesPbo.ColorMappingEntry\x12\x1d\n\x15\x61uto_clear_field_list\x18\x0e \x03(\t\x12I\n\x12process_detail_map\x18\x0f \x03(\x0b\x32-.SelectionPropertiesPbo.ProcessDetailMapEntry\x12:\n\x10\x64\x65pendent_fields\x18\x10 \x03(\x0b\x32 .SelectionDependentFieldEntryPbo\x12\x1f\n\x17is_hide_disabled_fields\x18\x11 \x01(\x08\x1a\x33\n\x11\x43olorMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aO\n\x15ProcessDetailMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.ProcessDetailEntryPbo:\x02\x38\x01\x42\x12\n\x10_field_validator\"\xdf\x02\n\x13StringPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x12\n\nmax_length\x18\x02 \x01(\x05\x12\x11\n\tnum_lines\x18\x03 \x01(\x05\x12\x14\n\x0cunique_value\x18\x04 \x01(\x08\x12\x18\n\x10index_for_search\x18\x05 \x01(\x08\x12\x13\n\x0bhtml_editor\x18\x06 \x01(\x08\x12\x10\n\x08link_out\x18\x07 \x01(\x08\x12\x14\n\x0clink_out_url\x18\x08 \x01(\t\x12\'\n\rstring_format\x18\t \x01(\x0e\x32\x10.StringFormatPbo\x12\x14\n\x0cis_auto_size\x18\n \x01(\x08\x12\x30\n\x0f\x66ield_validator\x18\x0b \x01(\x0b\x32\x12.FieldValidatorPboH\x00\x88\x01\x01\x12\x18\n\x10preserve_padding\x18\x0c \x01(\x08\x42\x12\n\x10_field_validator\"\xd1\x01\n\x15SideLinkPropertiesPbo\x12\x1d\n\x15linked_data_type_name\x18\x01 \x01(\t\x12\x1a\n\rdefault_value\x18\x02 \x01(\x03H\x00\x88\x01\x01\x12\x1f\n\x17show_in_knowledge_graph\x18\x03 \x01(\x08\x12)\n\x1cknowledge_graph_display_name\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x10\n\x0e_default_valueB\x1f\n\x1d_knowledge_graph_display_name\"\xf0\x04\n\x15PickListPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x16\n\x0epick_list_name\x18\x02 \x01(\t\x12\x13\n\x0b\x64irect_edit\x18\x03 \x01(\x08\x12\x10\n\x08link_out\x18\x04 \x01(\x08\x12\x14\n\x0clink_out_url\x18\x05 \x01(\t\x12\x18\n\x10index_for_search\x18\x06 \x01(\x08\x12\x30\n\x0f\x66ield_validator\x18\x07 \x01(\x0b\x32\x12.FieldValidatorPboH\x00\x88\x01\x01\x12?\n\rcolor_mapping\x18\x08 \x03(\x0b\x32(.PickListPropertiesPbo.ColorMappingEntry\x12\x1d\n\x15\x61uto_clear_field_list\x18\t \x03(\t\x12H\n\x12process_detail_map\x18\n \x03(\x0b\x32,.PickListPropertiesPbo.ProcessDetailMapEntry\x12:\n\x10\x64\x65pendent_fields\x18\x0b \x03(\x0b\x32 .SelectionDependentFieldEntryPbo\x12\x1f\n\x17is_hide_disabled_fields\x18\x0c \x01(\x08\x1a\x33\n\x11\x43olorMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aO\n\x15ProcessDetailMapEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.ProcessDetailEntryPbo:\x02\x38\x01\x42\x12\n\x10_field_validator\"0\n\x17ParentLinkPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\"\x1a\n\x18MultiParentPropertiesPbo\"0\n\x17IdentifierPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\"\x17\n\x15\x46ileBlobPropertiesPbo\"\xba\x02\n\x11\x45numPropertiesPbo\x12\x1a\n\rdefault_value\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x0e\n\x06values\x18\x02 \x03(\t\x12;\n\rcolor_mapping\x18\x03 \x03(\x0b\x32$.EnumPropertiesPbo.ColorMappingEntry\x12\x1d\n\x15\x61uto_clear_field_list\x18\x04 \x03(\t\x12\x35\n\x10\x64\x65pendent_fields\x18\x05 \x03(\x0b\x32\x1b.EnumDependentFieldEntryPbo\x12\x1f\n\x17is_hide_disabled_fields\x18\x06 \x01(\x08\x1a\x33\n\x11\x43olorMappingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x10\n\x0e_default_value\"v\n\x16\x44\x61teRangePropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x11\n\tis_static\x18\x02 \x01(\x08\x12\x1d\n\x10\x64\x61te_time_format\x18\x03 \x01(\tH\x00\x88\x01\x01\x42\x13\n\x11_date_time_format\"F\n\x16\x43hildLinkPropertiesPbo\x12\x1a\n\rdefault_value\x18\x01 \x01(\x03H\x00\x88\x01\x01\x42\x10\n\x0e_default_value\"\xe6\x01\n\x19\x41\x63tionStringPropertiesPbo\x12\x15\n\rdefault_value\x18\x01 \x01(\t\x12\x12\n\nmax_length\x18\x02 \x01(\x05\x12\x14\n\x0cunique_value\x18\x03 \x01(\x08\x12\x11\n\ticon_name\x18\x04 \x01(\t\x12\x1a\n\x12\x61\x63tion_plugin_path\x18\x05 \x01(\t\x12\x30\n\x0f\x66ield_validator\x18\x06 \x01(\x0b\x32\x12.FieldValidatorPboH\x00\x88\x01\x01\x12\x13\n\x0b\x64irect_edit\x18\x07 \x01(\x08\x42\x12\n\x10_field_validator\"\x86\x01\n\x13\x41\x63tionPropertiesPbo\x12\x11\n\ticon_name\x18\x01 \x01(\t\x12\x12\n\nicon_color\x18\x02 \x01(\t\x12\x18\n\x10\x62\x61\x63kground_color\x18\x03 \x01(\t\x12\x12\n\nfont_color\x18\x04 \x01(\t\x12\x1a\n\x12\x61\x63tion_plugin_path\x18\x05 \x01(\t\"\xf0\x01\n\x16\x41\x63\x63\x65ssionPropertiesPbo\x12\x14\n\x0cunique_value\x18\x01 \x01(\x08\x12\x18\n\x10index_for_search\x18\x02 \x01(\x08\x12\x10\n\x08link_out\x18\x03 \x01(\x08\x12\x14\n\x0clink_out_url\x18\x04 \x01(\t\x12\x14\n\x0csequence_key\x18\x05 \x01(\t\x12\x0e\n\x06prefix\x18\x06 \x01(\t\x12\x0e\n\x06suffix\x18\x07 \x01(\t\x12\x18\n\x10number_of_digits\x18\x08 \x01(\x05\x12\x1b\n\x0estarting_value\x18\t \x01(\x03H\x00\x88\x01\x01\x42\x11\n\x0f_starting_value\"\x9c\x0e\n\x10VeloxFieldDefPbo\x12&\n\x0f\x64\x61ta_field_type\x18\x01 \x01(\x0e\x32\r.FieldTypePbo\x12\x17\n\x0f\x64\x61ta_field_name\x18\x02 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x10\n\x08required\x18\x05 \x01(\x08\x12\x10\n\x08\x65\x64itable\x18\x06 \x01(\x08\x12\x0f\n\x07visible\x18\x07 \x01(\x08\x12\x12\n\nidentifier\x18\x08 \x01(\x08\x12\x18\n\x10identifier_order\x18\t \x01(\x05\x12)\n\x0esort_direction\x18\n \x01(\x0e\x32\x11.SortDirectionPbo\x12\x12\n\nsort_order\x18\x0b \x01(\x05\x12\x0b\n\x03tag\x18\x0c \x01(\t\x12\x14\n\x0c\x61pprove_edit\x18\r \x01(\x08\x12\x1d\n\x15workflow_only_editing\x18\x0e \x01(\x08\x12\x1f\n\tfont_size\x18\x0f \x01(\x0e\x32\x0c.FontSizePbo\x12\x11\n\tbold_font\x18\x10 \x01(\x08\x12\x13\n\x0bitalic_font\x18\x11 \x01(\x08\x12+\n\x0ftext_decoration\x18\x12 \x01(\x0e\x32\x12.TextDecorationPbo\x12\x14\n\x0cis_key_field\x18\x13 \x01(\x08\x12\x17\n\x0fkey_field_order\x18\x14 \x01(\x05\x12\x14\n\x0cis_removable\x18\x15 \x01(\x08\x12\x17\n\x0fis_system_field\x18\x16 \x01(\x08\x12\x15\n\ris_restricted\x18\x17 \x01(\x08\x12\x17\n\x0fis_audit_logged\x18\x18 \x01(\x08\x12\x11\n\tis_active\x18\x19 \x01(\x08\x12\x1e\n\x16is_for_plugin_use_only\x18\x1a \x01(\x08\x12\"\n\x1a\x64\x65\x66\x61ult_table_column_width\x18\x1b \x01(\x05\x12\x33\n\x12\x62oolean_properties\x18\x64 \x01(\x0b\x32\x15.BooleanPropertiesPboH\x00\x12-\n\x0f\x64\x61te_properties\x18\x65 \x01(\x0b\x32\x12.DatePropertiesPboH\x00\x12\x31\n\x11\x64ouble_properties\x18\x66 \x01(\x0b\x32\x14.DoublePropertiesPboH\x00\x12\x33\n\x12integer_properties\x18g \x01(\x0b\x32\x15.IntegerPropertiesPboH\x00\x12-\n\x0flong_properties\x18h \x01(\x0b\x32\x12.LongPropertiesPboH\x00\x12\x37\n\x14selection_properties\x18i \x01(\x0b\x32\x17.SelectionPropertiesPboH\x00\x12\x31\n\x11string_properties\x18j \x01(\x0b\x32\x14.StringPropertiesPboH\x00\x12\x36\n\x14side_link_properties\x18k \x01(\x0b\x32\x16.SideLinkPropertiesPboH\x00\x12/\n\x10short_properties\x18l \x01(\x0b\x32\x13.ShortPropertiesPboH\x00\x12\x35\n\x13picklist_properties\x18m \x01(\x0b\x32\x16.PickListPropertiesPboH\x00\x12:\n\x16parent_link_properties\x18n \x01(\x0b\x32\x18.ParentLinkPropertiesPboH\x00\x12<\n\x17multi_parent_properties\x18o \x01(\x0b\x32\x19.MultiParentPropertiesPboH\x00\x12\x39\n\x15identifier_properties\x18p \x01(\x0b\x32\x18.IdentifierPropertiesPboH\x00\x12\x36\n\x14\x66ile_blob_properties\x18q \x01(\x0b\x32\x16.FileBlobPropertiesPboH\x00\x12-\n\x0f\x65num_properties\x18r \x01(\x0b\x32\x12.EnumPropertiesPboH\x00\x12\x38\n\x15\x64\x61te_range_properties\x18s \x01(\x0b\x32\x17.DateRangePropertiesPboH\x00\x12\x38\n\x15\x63hild_link_properties\x18t \x01(\x0b\x32\x17.ChildLinkPropertiesPboH\x00\x12>\n\x18\x61\x63tion_string_properties\x18u \x01(\x0b\x32\x1a.ActionStringPropertiesPboH\x00\x12\x31\n\x11\x61\x63tion_properties\x18v \x01(\x0b\x32\x14.ActionPropertiesPboH\x00\x12\x37\n\x14\x61\x63\x63\x65ssion_properties\x18w \x01(\x0b\x32\x17.AccessionPropertiesPboH\x00\x42\x1a\n\x18type_specific_properties\"D\n\x14VeloxFieldDefListPbo\x12,\n\x11\x66ield_definitions\x18\x01 \x03(\x0b\x32\x11.VeloxFieldDefPbo*\xd1\x02\n\x0c\x46ieldTypePbo\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x42OOLEAN\x10\x01\x12\n\n\x06\x44OUBLE\x10\x02\x12\x08\n\x04\x45NUM\x10\x03\x12\x08\n\x04LONG\x10\x04\x12\x0b\n\x07INTEGER\x10\x05\x12\t\n\x05SHORT\x10\x06\x12\n\n\x06STRING\x10\x07\x12\x08\n\x04\x44\x41TE\x10\x08\x12\n\n\x06\x41\x43TION\x10\t\x12\r\n\tSELECTION\x10\n\x12\x0e\n\nPARENTLINK\x10\x0b\x12\x0e\n\nIDENTIFIER\x10\x0c\x12\x0c\n\x08PICKLIST\x10\r\x12\x08\n\x04LINK\x10\x0e\x12\x13\n\x0fMULTIPARENTLINK\x10\x0f\x12\r\n\tCHILDLINK\x10\x10\x12\x12\n\x0e\x41UTO_ACCESSION\x10\x11\x12\x0e\n\nDATE_RANGE\x10\x12\x12\r\n\tSIDE_LINK\x10\x13\x12\x11\n\rACTION_STRING\x10\x14\x12\r\n\tFILE_BLOB\x10\x15*\x88\x01\n\x10SortDirectionPbo\x12\x1e\n\x1aSORT_DIRECTION_UNSPECIFIED\x10\x00\x12\x1c\n\x18SORT_DIRECTION_ASCENDING\x10\x01\x12\x1d\n\x19SORT_DIRECTION_DESCENDING\x10\x02\x12\x17\n\x13SORT_DIRECTION_NONE\x10\x03*h\n\x0b\x46ontSizePbo\x12\x19\n\x15\x46ONT_SIZE_UNSPECIFIED\x10\x00\x12\x13\n\x0f\x46ONT_SIZE_SMALL\x10\x01\x12\x14\n\x10\x46ONT_SIZE_MEDIUM\x10\x02\x12\x13\n\x0f\x46ONT_SIZE_LARGE\x10\x03*\x90\x01\n\x11TextDecorationPbo\x12\x1f\n\x1bTEXT_DECORATION_UNSPECIFIED\x10\x00\x12\x18\n\x14TEXT_DECORATION_NONE\x10\x01\x12\x1d\n\x19TEXT_DECORATION_UNDERLINE\x10\x02\x12!\n\x1dTEXT_DECORATION_STRIKETHROUGH\x10\x03*b\n\x0fStringFormatPbo\x12\x1d\n\x19STRING_FORMAT_UNSPECIFIED\x10\x00\x12\x17\n\x13STRING_FORMAT_PHONE\x10\x01\x12\x17\n\x13STRING_FORMAT_EMAIL\x10\x02*j\n\x0f\x44oubleFormatPbo\x12\x1d\n\x19\x44OUBLE_FORMAT_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x44OUBLE_FORMAT_CURRENCY\x10\x01\x12\x1c\n\x18\x44OUBLE_FORMAT_PERCENTAGE\x10\x02\x42\'\n#com.velox.protoapi.fielddefinitionsP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.fielddefinitions.velox_field_def_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n#com.velox.protoapi.fielddefinitionsP\001'
|
|
35
|
+
_globals['_SELECTIONPROPERTIESPBO_COLORMAPPINGENTRY']._loaded_options = None
|
|
36
|
+
_globals['_SELECTIONPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_SELECTIONPROPERTIESPBO_PROCESSDETAILMAPENTRY']._loaded_options = None
|
|
38
|
+
_globals['_SELECTIONPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_PICKLISTPROPERTIESPBO_COLORMAPPINGENTRY']._loaded_options = None
|
|
40
|
+
_globals['_PICKLISTPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_PICKLISTPROPERTIESPBO_PROCESSDETAILMAPENTRY']._loaded_options = None
|
|
42
|
+
_globals['_PICKLISTPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_ENUMPROPERTIESPBO_COLORMAPPINGENTRY']._loaded_options = None
|
|
44
|
+
_globals['_ENUMPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_FIELDTYPEPBO']._serialized_start=7308
|
|
46
|
+
_globals['_FIELDTYPEPBO']._serialized_end=7645
|
|
47
|
+
_globals['_SORTDIRECTIONPBO']._serialized_start=7648
|
|
48
|
+
_globals['_SORTDIRECTIONPBO']._serialized_end=7784
|
|
49
|
+
_globals['_FONTSIZEPBO']._serialized_start=7786
|
|
50
|
+
_globals['_FONTSIZEPBO']._serialized_end=7890
|
|
51
|
+
_globals['_TEXTDECORATIONPBO']._serialized_start=7893
|
|
52
|
+
_globals['_TEXTDECORATIONPBO']._serialized_end=8037
|
|
53
|
+
_globals['_STRINGFORMATPBO']._serialized_start=8039
|
|
54
|
+
_globals['_STRINGFORMATPBO']._serialized_end=8137
|
|
55
|
+
_globals['_DOUBLEFORMATPBO']._serialized_start=8139
|
|
56
|
+
_globals['_DOUBLEFORMATPBO']._serialized_end=8245
|
|
57
|
+
_globals['_FIELDVALIDATORPBO']._serialized_start=69
|
|
58
|
+
_globals['_FIELDVALIDATORPBO']._serialized_end=137
|
|
59
|
+
_globals['_COLORRANGEPBO']._serialized_start=139
|
|
60
|
+
_globals['_COLORRANGEPBO']._serialized_end=207
|
|
61
|
+
_globals['_BOOLEANDEPENDENTFIELDENTRYPBO']._serialized_start=209
|
|
62
|
+
_globals['_BOOLEANDEPENDENTFIELDENTRYPBO']._serialized_end=284
|
|
63
|
+
_globals['_SELECTIONDEPENDENTFIELDENTRYPBO']._serialized_start=286
|
|
64
|
+
_globals['_SELECTIONDEPENDENTFIELDENTRYPBO']._serialized_end=363
|
|
65
|
+
_globals['_ENUMDEPENDENTFIELDENTRYPBO']._serialized_start=365
|
|
66
|
+
_globals['_ENUMDEPENDENTFIELDENTRYPBO']._serialized_end=437
|
|
67
|
+
_globals['_PROCESSDETAILENTRYPBO']._serialized_start=439
|
|
68
|
+
_globals['_PROCESSDETAILENTRYPBO']._serialized_end=483
|
|
69
|
+
_globals['_BOOLEANPROPERTIESPBO']._serialized_start=486
|
|
70
|
+
_globals['_BOOLEANPROPERTIESPBO']._serialized_end=675
|
|
71
|
+
_globals['_DATEPROPERTIESPBO']._serialized_start=677
|
|
72
|
+
_globals['_DATEPROPERTIESPBO']._serialized_end=792
|
|
73
|
+
_globals['_DOUBLEPROPERTIESPBO']._serialized_start=795
|
|
74
|
+
_globals['_DOUBLEPROPERTIESPBO']._serialized_end=1116
|
|
75
|
+
_globals['_INTEGERPROPERTIESPBO']._serialized_start=1119
|
|
76
|
+
_globals['_INTEGERPROPERTIESPBO']._serialized_end=1481
|
|
77
|
+
_globals['_LONGPROPERTIESPBO']._serialized_start=1484
|
|
78
|
+
_globals['_LONGPROPERTIESPBO']._serialized_end=1843
|
|
79
|
+
_globals['_SHORTPROPERTIESPBO']._serialized_start=1846
|
|
80
|
+
_globals['_SHORTPROPERTIESPBO']._serialized_end=2206
|
|
81
|
+
_globals['_SELECTIONPROPERTIESPBO']._serialized_start=2209
|
|
82
|
+
_globals['_SELECTIONPROPERTIESPBO']._serialized_end=2944
|
|
83
|
+
_globals['_SELECTIONPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_start=2792
|
|
84
|
+
_globals['_SELECTIONPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_end=2843
|
|
85
|
+
_globals['_SELECTIONPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_start=2845
|
|
86
|
+
_globals['_SELECTIONPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_end=2924
|
|
87
|
+
_globals['_STRINGPROPERTIESPBO']._serialized_start=2947
|
|
88
|
+
_globals['_STRINGPROPERTIESPBO']._serialized_end=3298
|
|
89
|
+
_globals['_SIDELINKPROPERTIESPBO']._serialized_start=3301
|
|
90
|
+
_globals['_SIDELINKPROPERTIESPBO']._serialized_end=3510
|
|
91
|
+
_globals['_PICKLISTPROPERTIESPBO']._serialized_start=3513
|
|
92
|
+
_globals['_PICKLISTPROPERTIESPBO']._serialized_end=4137
|
|
93
|
+
_globals['_PICKLISTPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_start=2792
|
|
94
|
+
_globals['_PICKLISTPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_end=2843
|
|
95
|
+
_globals['_PICKLISTPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_start=2845
|
|
96
|
+
_globals['_PICKLISTPROPERTIESPBO_PROCESSDETAILMAPENTRY']._serialized_end=2924
|
|
97
|
+
_globals['_PARENTLINKPROPERTIESPBO']._serialized_start=4139
|
|
98
|
+
_globals['_PARENTLINKPROPERTIESPBO']._serialized_end=4187
|
|
99
|
+
_globals['_MULTIPARENTPROPERTIESPBO']._serialized_start=4189
|
|
100
|
+
_globals['_MULTIPARENTPROPERTIESPBO']._serialized_end=4215
|
|
101
|
+
_globals['_IDENTIFIERPROPERTIESPBO']._serialized_start=4217
|
|
102
|
+
_globals['_IDENTIFIERPROPERTIESPBO']._serialized_end=4265
|
|
103
|
+
_globals['_FILEBLOBPROPERTIESPBO']._serialized_start=4267
|
|
104
|
+
_globals['_FILEBLOBPROPERTIESPBO']._serialized_end=4290
|
|
105
|
+
_globals['_ENUMPROPERTIESPBO']._serialized_start=4293
|
|
106
|
+
_globals['_ENUMPROPERTIESPBO']._serialized_end=4607
|
|
107
|
+
_globals['_ENUMPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_start=2792
|
|
108
|
+
_globals['_ENUMPROPERTIESPBO_COLORMAPPINGENTRY']._serialized_end=2843
|
|
109
|
+
_globals['_DATERANGEPROPERTIESPBO']._serialized_start=4609
|
|
110
|
+
_globals['_DATERANGEPROPERTIESPBO']._serialized_end=4727
|
|
111
|
+
_globals['_CHILDLINKPROPERTIESPBO']._serialized_start=4729
|
|
112
|
+
_globals['_CHILDLINKPROPERTIESPBO']._serialized_end=4799
|
|
113
|
+
_globals['_ACTIONSTRINGPROPERTIESPBO']._serialized_start=4802
|
|
114
|
+
_globals['_ACTIONSTRINGPROPERTIESPBO']._serialized_end=5032
|
|
115
|
+
_globals['_ACTIONPROPERTIESPBO']._serialized_start=5035
|
|
116
|
+
_globals['_ACTIONPROPERTIESPBO']._serialized_end=5169
|
|
117
|
+
_globals['_ACCESSIONPROPERTIESPBO']._serialized_start=5172
|
|
118
|
+
_globals['_ACCESSIONPROPERTIESPBO']._serialized_end=5412
|
|
119
|
+
_globals['_VELOXFIELDDEFPBO']._serialized_start=5415
|
|
120
|
+
_globals['_VELOXFIELDDEFPBO']._serialized_end=7235
|
|
121
|
+
_globals['_VELOXFIELDDEFLISTPBO']._serialized_start=7237
|
|
122
|
+
_globals['_VELOXFIELDDEFLISTPBO']._serialized_end=7305
|
|
123
|
+
# @@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/fielddefinitions/velox_field_def_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,51 @@
|
|
|
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/converter/converter.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/converter/converter.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_session_dot_sapio__conn__info__pb2
|
|
26
|
+
from sapiopycommons.ai.protoapi.plan.item import item_container_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_item_dot_item__container__pb2
|
|
27
|
+
|
|
28
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import *
|
|
29
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import *
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9sapiopycommons/ai/protoapi/plan/converter/converter.proto\x1a\x38sapiopycommons/ai/protoapi/session/sapio_conn_info.proto\x1a\x39sapiopycommons/ai/protoapi/plan/item/item_container.proto\"\x1c\n\x1a\x43onverterDetailsRequestPbo\"\x87\x01\n\x12\x43ontentTypePairPbo\x12+\n\x12input_content_type\x18\x01 \x01(\x0b\x32\x0f.ContentTypePbo\x12,\n\x13output_content_type\x18\x02 \x01(\x0b\x32\x0f.ContentTypePbo\x12\x16\n\x0e\x63onverter_name\x18\x03 \x01(\t\"a\n\x1b\x43onverterDetailsResponsePbo\x12,\n\x0fsupported_types\x18\x01 \x03(\x0b\x32\x13.ContentTypePairPbo\x12\x14\n\x0cservice_name\x18\x02 \x01(\t\"p\n\x11\x43onvertRequestPbo\x12-\n\x0eitem_container\x18\x01 \x01(\x0b\x32\x15.StepItemContainerPbo\x12,\n\x13target_content_type\x18\x03 \x01(\x0b\x32\x0f.ContentTypePbo\"C\n\x12\x43onvertResponsePbo\x12-\n\x0eitem_container\x18\x01 \x01(\x0b\x32\x15.StepItemContainerPbo2\x9f\x01\n\x10\x43onverterService\x12P\n\x13GetConverterDetails\x12\x1b.ConverterDetailsRequestPbo\x1a\x1c.ConverterDetailsResponsePbo\x12\x39\n\x0e\x43onvertContent\x12\x12.ConvertRequestPbo\x1a\x13.ConvertResponsePboB%\n!com.velox.protoapi.plan.converterP\x01P\x00P\x01\x62\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.converter.converter_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n!com.velox.protoapi.plan.converterP\001'
|
|
39
|
+
_globals['_CONVERTERDETAILSREQUESTPBO']._serialized_start=178
|
|
40
|
+
_globals['_CONVERTERDETAILSREQUESTPBO']._serialized_end=206
|
|
41
|
+
_globals['_CONTENTTYPEPAIRPBO']._serialized_start=209
|
|
42
|
+
_globals['_CONTENTTYPEPAIRPBO']._serialized_end=344
|
|
43
|
+
_globals['_CONVERTERDETAILSRESPONSEPBO']._serialized_start=346
|
|
44
|
+
_globals['_CONVERTERDETAILSRESPONSEPBO']._serialized_end=443
|
|
45
|
+
_globals['_CONVERTREQUESTPBO']._serialized_start=445
|
|
46
|
+
_globals['_CONVERTREQUESTPBO']._serialized_end=557
|
|
47
|
+
_globals['_CONVERTRESPONSEPBO']._serialized_start=559
|
|
48
|
+
_globals['_CONVERTRESPONSEPBO']._serialized_end=626
|
|
49
|
+
_globals['_CONVERTERSERVICE']._serialized_start=629
|
|
50
|
+
_globals['_CONVERTERSERVICE']._serialized_end=788
|
|
51
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
from sapiopycommons.ai.
|
|
2
|
-
from sapiopycommons.ai.
|
|
1
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as _sapio_conn_info_pb2
|
|
2
|
+
from sapiopycommons.ai.protoapi.plan.item import item_container_pb2 as _item_container_pb2
|
|
3
3
|
from google.protobuf.internal import containers as _containers
|
|
4
4
|
from google.protobuf import descriptor as _descriptor
|
|
5
5
|
from google.protobuf import message as _message
|
|
6
6
|
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
7
|
-
from sapiopycommons.ai.
|
|
8
|
-
from sapiopycommons.ai.
|
|
9
|
-
from sapiopycommons.ai.
|
|
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.
|
|
18
|
-
from sapiopycommons.ai.
|
|
7
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioConnectionInfoPbo as SapioConnectionInfoPbo
|
|
8
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import SapioUserSecretTypePbo as SapioUserSecretTypePbo
|
|
9
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import ContentTypePbo as ContentTypePbo
|
|
10
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvHeaderRowPbo as StepCsvHeaderRowPbo
|
|
11
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvRowPbo as StepCsvRowPbo
|
|
12
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepCsvContainerPbo as StepCsvContainerPbo
|
|
13
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepJsonContainerPbo as StepJsonContainerPbo
|
|
14
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepTextContainerPbo as StepTextContainerPbo
|
|
15
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepBinaryContainerPbo as StepBinaryContainerPbo
|
|
16
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepImageContainerPbo as StepImageContainerPbo
|
|
17
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import StepItemContainerPbo as StepItemContainerPbo
|
|
18
|
+
from sapiopycommons.ai.protoapi.plan.item.item_container_pb2 import DataTypePbo as DataTypePbo
|
|
19
19
|
|
|
20
20
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
21
21
|
SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretTypePbo
|
|
@@ -31,20 +31,22 @@ class ConverterDetailsRequestPbo(_message.Message):
|
|
|
31
31
|
def __init__(self) -> None: ...
|
|
32
32
|
|
|
33
33
|
class ContentTypePairPbo(_message.Message):
|
|
34
|
-
__slots__ = ("input_content_type", "output_content_type")
|
|
34
|
+
__slots__ = ("input_content_type", "output_content_type", "converter_name")
|
|
35
35
|
INPUT_CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
36
36
|
OUTPUT_CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
CONVERTER_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
37
38
|
input_content_type: _item_container_pb2.ContentTypePbo
|
|
38
39
|
output_content_type: _item_container_pb2.ContentTypePbo
|
|
39
|
-
|
|
40
|
+
converter_name: str
|
|
41
|
+
def __init__(self, input_content_type: _Optional[_Union[_item_container_pb2.ContentTypePbo, _Mapping]] = ..., output_content_type: _Optional[_Union[_item_container_pb2.ContentTypePbo, _Mapping]] = ..., converter_name: _Optional[str] = ...) -> None: ...
|
|
40
42
|
|
|
41
43
|
class ConverterDetailsResponsePbo(_message.Message):
|
|
42
|
-
__slots__ = ("supported_types", "
|
|
44
|
+
__slots__ = ("supported_types", "service_name")
|
|
43
45
|
SUPPORTED_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
-
|
|
46
|
+
SERVICE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
45
47
|
supported_types: _containers.RepeatedCompositeFieldContainer[ContentTypePairPbo]
|
|
46
|
-
|
|
47
|
-
def __init__(self, supported_types: _Optional[_Iterable[_Union[ContentTypePairPbo, _Mapping]]] = ...,
|
|
48
|
+
service_name: str
|
|
49
|
+
def __init__(self, supported_types: _Optional[_Iterable[_Union[ContentTypePairPbo, _Mapping]]] = ..., service_name: _Optional[str] = ...) -> None: ...
|
|
48
50
|
|
|
49
51
|
class ConvertRequestPbo(_message.Message):
|
|
50
52
|
__slots__ = ("item_container", "target_content_type")
|
sapiopycommons/ai/{api/plan/converter/proto → protoapi/plan/converter}/converter_pb2_grpc.py
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import grpc
|
|
4
4
|
import warnings
|
|
5
5
|
|
|
6
|
-
from sapiopycommons.ai.
|
|
6
|
+
from sapiopycommons.ai.protoapi.plan.converter import converter_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__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/converter/converter_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}.'
|
|
@@ -39,13 +39,13 @@ class ConverterServiceStub(object):
|
|
|
39
39
|
"""
|
|
40
40
|
self.GetConverterDetails = channel.unary_unary(
|
|
41
41
|
'/ConverterService/GetConverterDetails',
|
|
42
|
-
request_serializer=
|
|
43
|
-
response_deserializer=
|
|
42
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsRequestPbo.SerializeToString,
|
|
43
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsResponsePbo.FromString,
|
|
44
44
|
_registered_method=True)
|
|
45
45
|
self.ConvertContent = channel.unary_unary(
|
|
46
46
|
'/ConverterService/ConvertContent',
|
|
47
|
-
request_serializer=
|
|
48
|
-
response_deserializer=
|
|
47
|
+
request_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertRequestPbo.SerializeToString,
|
|
48
|
+
response_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertResponsePbo.FromString,
|
|
49
49
|
_registered_method=True)
|
|
50
50
|
|
|
51
51
|
|
|
@@ -72,13 +72,13 @@ def add_ConverterServiceServicer_to_server(servicer, server):
|
|
|
72
72
|
rpc_method_handlers = {
|
|
73
73
|
'GetConverterDetails': grpc.unary_unary_rpc_method_handler(
|
|
74
74
|
servicer.GetConverterDetails,
|
|
75
|
-
request_deserializer=
|
|
76
|
-
response_serializer=
|
|
75
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsRequestPbo.FromString,
|
|
76
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsResponsePbo.SerializeToString,
|
|
77
77
|
),
|
|
78
78
|
'ConvertContent': grpc.unary_unary_rpc_method_handler(
|
|
79
79
|
servicer.ConvertContent,
|
|
80
|
-
request_deserializer=
|
|
81
|
-
response_serializer=
|
|
80
|
+
request_deserializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertRequestPbo.FromString,
|
|
81
|
+
response_serializer=sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertResponsePbo.SerializeToString,
|
|
82
82
|
),
|
|
83
83
|
}
|
|
84
84
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
@@ -109,8 +109,8 @@ class ConverterService(object):
|
|
|
109
109
|
request,
|
|
110
110
|
target,
|
|
111
111
|
'/ConverterService/GetConverterDetails',
|
|
112
|
-
|
|
113
|
-
|
|
112
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsRequestPbo.SerializeToString,
|
|
113
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConverterDetailsResponsePbo.FromString,
|
|
114
114
|
options,
|
|
115
115
|
channel_credentials,
|
|
116
116
|
insecure,
|
|
@@ -136,8 +136,8 @@ class ConverterService(object):
|
|
|
136
136
|
request,
|
|
137
137
|
target,
|
|
138
138
|
'/ConverterService/ConvertContent',
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertRequestPbo.SerializeToString,
|
|
140
|
+
sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_converter_dot_converter__pb2.ConvertResponsePbo.FromString,
|
|
141
141
|
options,
|
|
142
142
|
channel_credentials,
|
|
143
143
|
insecure,
|
|
@@ -0,0 +1,55 @@
|
|
|
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/item/item_container.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/item/item_container.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'\n9sapiopycommons/ai/protoapi/plan/item/item_container.proto\"2\n\x0e\x43ontentTypePbo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\nextensions\x18\x02 \x03(\t\"$\n\x13StepCsvHeaderRowPbo\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"\x1e\n\rStepCsvRowPbo\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"Z\n\x13StepCsvContainerPbo\x12$\n\x06header\x18\x0e \x01(\x0b\x32\x14.StepCsvHeaderRowPbo\x12\x1d\n\x05items\x18\x0f \x03(\x0b\x32\x0e.StepCsvRowPbo\"%\n\x14StepJsonContainerPbo\x12\r\n\x05items\x18\x0f \x03(\t\"%\n\x14StepTextContainerPbo\x12\r\n\x05items\x18\x0f \x03(\t\"\'\n\x16StepBinaryContainerPbo\x12\r\n\x05items\x18\x0f \x03(\x0c\"<\n\x15StepImageContainerPbo\x12\x14\n\x0cimage_format\x18\x01 \x01(\t\x12\r\n\x05items\x18\x0f \x03(\x0c\"\x94\x02\n\x14StepItemContainerPbo\x12%\n\x0c\x63ontent_type\x18\x02 \x01(\x0b\x32\x0f.ContentTypePbo\x12\x34\n\x10\x62inary_container\x18\xff\x0f \x01(\x0b\x32\x17.StepBinaryContainerPboH\x00\x12.\n\rcsv_container\x18\xfe\x0f \x01(\x0b\x32\x14.StepCsvContainerPboH\x00\x12\x30\n\x0ejson_container\x18\xfd\x0f \x01(\x0b\x32\x15.StepJsonContainerPboH\x00\x12\x30\n\x0etext_container\x18\xfc\x0f \x01(\x0b\x32\x15.StepTextContainerPboH\x00\x42\x0b\n\tcontainer*A\n\x0b\x44\x61taTypePbo\x12\n\n\x06\x42INARY\x10\x00\x12\x08\n\x04JSON\x10\x01\x12\x07\n\x03\x43SV\x10\x02\x12\x08\n\x04TEXT\x10\x03\x12\t\n\x05IMAGE\x10\x04\x42 \n\x1c\x63om.velox.protoapi.plan.itemP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.item.item_container_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\034com.velox.protoapi.plan.itemP\001'
|
|
35
|
+
_globals['_DATATYPEPBO']._serialized_start=735
|
|
36
|
+
_globals['_DATATYPEPBO']._serialized_end=800
|
|
37
|
+
_globals['_CONTENTTYPEPBO']._serialized_start=61
|
|
38
|
+
_globals['_CONTENTTYPEPBO']._serialized_end=111
|
|
39
|
+
_globals['_STEPCSVHEADERROWPBO']._serialized_start=113
|
|
40
|
+
_globals['_STEPCSVHEADERROWPBO']._serialized_end=149
|
|
41
|
+
_globals['_STEPCSVROWPBO']._serialized_start=151
|
|
42
|
+
_globals['_STEPCSVROWPBO']._serialized_end=181
|
|
43
|
+
_globals['_STEPCSVCONTAINERPBO']._serialized_start=183
|
|
44
|
+
_globals['_STEPCSVCONTAINERPBO']._serialized_end=273
|
|
45
|
+
_globals['_STEPJSONCONTAINERPBO']._serialized_start=275
|
|
46
|
+
_globals['_STEPJSONCONTAINERPBO']._serialized_end=312
|
|
47
|
+
_globals['_STEPTEXTCONTAINERPBO']._serialized_start=314
|
|
48
|
+
_globals['_STEPTEXTCONTAINERPBO']._serialized_end=351
|
|
49
|
+
_globals['_STEPBINARYCONTAINERPBO']._serialized_start=353
|
|
50
|
+
_globals['_STEPBINARYCONTAINERPBO']._serialized_end=392
|
|
51
|
+
_globals['_STEPIMAGECONTAINERPBO']._serialized_start=394
|
|
52
|
+
_globals['_STEPIMAGECONTAINERPBO']._serialized_end=454
|
|
53
|
+
_globals['_STEPITEMCONTAINERPBO']._serialized_start=457
|
|
54
|
+
_globals['_STEPITEMCONTAINERPBO']._serialized_end=733
|
|
55
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,24 @@
|
|
|
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/protoapi/plan/item/item_container_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
|
+
)
|
|
@@ -0,0 +1,59 @@
|
|
|
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/script/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/protoapi/plan/script/script.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from sapiopycommons.ai.protoapi.plan.tool import entry_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_tool_dot_entry__pb2
|
|
26
|
+
try:
|
|
27
|
+
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
|
|
28
|
+
except AttributeError:
|
|
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.ai.protoapi.plan.item.item_container_pb2
|
|
30
|
+
from sapiopycommons.ai.protoapi.plan import step_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_plan_dot_step__pb2
|
|
31
|
+
from sapiopycommons.ai.protoapi.session import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_session_dot_sapio__conn__info__pb2
|
|
32
|
+
|
|
33
|
+
from sapiopycommons.ai.protoapi.plan.tool.entry_pb2 import *
|
|
34
|
+
from sapiopycommons.ai.protoapi.plan.step_pb2 import *
|
|
35
|
+
from sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2 import *
|
|
36
|
+
|
|
37
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3sapiopycommons/ai/protoapi/plan/script/script.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\"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\x1e\x63om.velox.protoapi.plan.scriptP\x00P\x01P\x02\x62\x06proto3')
|
|
38
|
+
|
|
39
|
+
_globals = globals()
|
|
40
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
41
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.plan.script.script_pb2', _globals)
|
|
42
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
43
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
44
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\036com.velox.protoapi.plan.script'
|
|
45
|
+
_globals['_JOBSTATUS']._serialized_start=1020
|
|
46
|
+
_globals['_JOBSTATUS']._serialized_end=1084
|
|
47
|
+
_globals['_SCRIPTFILECONTENTSPBO']._serialized_start=207
|
|
48
|
+
_globals['_SCRIPTFILECONTENTSPBO']._serialized_end=272
|
|
49
|
+
_globals['_CREATESCRIPTJOBREQUESTPBO']._serialized_start=275
|
|
50
|
+
_globals['_CREATESCRIPTJOBREQUESTPBO']._serialized_end=725
|
|
51
|
+
_globals['_CREATESCRIPTJOBRESPONSEPBO']._serialized_start=727
|
|
52
|
+
_globals['_CREATESCRIPTJOBRESPONSEPBO']._serialized_end=771
|
|
53
|
+
_globals['_GETJOBREQUESTPBO']._serialized_start=773
|
|
54
|
+
_globals['_GETJOBREQUESTPBO']._serialized_end=851
|
|
55
|
+
_globals['_GETJOBRESPONSEPBO']._serialized_start=854
|
|
56
|
+
_globals['_GETJOBRESPONSEPBO']._serialized_end=1018
|
|
57
|
+
_globals['_SCRIPTSERVICE']._serialized_start=1087
|
|
58
|
+
_globals['_SCRIPTSERVICE']._serialized_end=1227
|
|
59
|
+
# @@protoc_insertion_point(module_scope)
|