sapiopycommons 2025.8.18a712__py3-none-any.whl → 2025.8.20a714__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of sapiopycommons might be problematic. Click here for more details.

Files changed (42) hide show
  1. sapiopycommons/callbacks/callback_util.py +5 -2
  2. sapiopycommons/webhook/webservice_handlers.py +1 -1
  3. {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/METADATA +1 -1
  4. {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/RECORD +6 -42
  5. sapiopycommons/ai/__init__.py +0 -0
  6. sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.py +0 -43
  7. sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.pyi +0 -31
  8. sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2_grpc.py +0 -24
  9. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.py +0 -123
  10. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.pyi +0 -598
  11. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2_grpc.py +0 -24
  12. sapiopycommons/ai/api/plan/converter/proto/converter_pb2.py +0 -50
  13. sapiopycommons/ai/api/plan/converter/proto/converter_pb2.pyi +0 -61
  14. sapiopycommons/ai/api/plan/converter/proto/converter_pb2_grpc.py +0 -149
  15. sapiopycommons/ai/api/plan/item/proto/item_container_pb2.py +0 -55
  16. sapiopycommons/ai/api/plan/item/proto/item_container_pb2.pyi +0 -88
  17. sapiopycommons/ai/api/plan/item/proto/item_container_pb2_grpc.py +0 -24
  18. sapiopycommons/ai/api/plan/proto/step_output_pb2.py +0 -45
  19. sapiopycommons/ai/api/plan/proto/step_output_pb2.pyi +0 -42
  20. sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py +0 -24
  21. sapiopycommons/ai/api/plan/proto/step_pb2.py +0 -43
  22. sapiopycommons/ai/api/plan/proto/step_pb2.pyi +0 -43
  23. sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py +0 -24
  24. sapiopycommons/ai/api/plan/script/proto/script_pb2.py +0 -59
  25. sapiopycommons/ai/api/plan/script/proto/script_pb2.pyi +0 -102
  26. sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py +0 -153
  27. sapiopycommons/ai/api/plan/tool/proto/entry_pb2.py +0 -41
  28. sapiopycommons/ai/api/plan/tool/proto/entry_pb2.pyi +0 -35
  29. sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py +0 -24
  30. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.py +0 -75
  31. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.pyi +0 -237
  32. sapiopycommons/ai/api/plan/tool/proto/tool_pb2_grpc.py +0 -154
  33. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.py +0 -39
  34. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.pyi +0 -32
  35. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2_grpc.py +0 -24
  36. sapiopycommons/ai/converter_service_base.py +0 -116
  37. sapiopycommons/ai/protobuf_utils.py +0 -504
  38. sapiopycommons/ai/server.py +0 -104
  39. sapiopycommons/ai/test_client.py +0 -341
  40. sapiopycommons/ai/tool_service_base.py +0 -922
  41. {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/WHEEL +0 -0
  42. {sapiopycommons-2025.8.18a712.dist-info → sapiopycommons-2025.8.20a714.dist-info}/licenses/LICENSE +0 -0
@@ -1,50 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: sapiopycommons/ai/api/plan/converter/proto/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/api/plan/converter/proto/converter.proto'
19
- )
20
- # @@protoc_insertion_point(imports)
21
-
22
- _sym_db = _symbol_database.Default()
23
-
24
-
25
- from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as sapiopycommons_dot_ai_dot_api_dot_session_dot_proto_dot_sapio__conn__info__pb2
26
- from sapiopycommons.ai.api.plan.item.proto import item_container_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_item_dot_proto_dot_item__container__pb2
27
-
28
- from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import *
29
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import *
30
-
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:sapiopycommons/ai/api/plan/converter/proto/converter.proto\x1a\x39sapiopycommons/ai/api/session/proto/sapio_conn_info.proto\x1a:sapiopycommons/ai/api/plan/item/proto/item_container.proto\"\x1c\n\x1a\x43onverterDetailsRequestPbo\"o\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\"Y\n\x1b\x43onverterDetailsResponsePbo\x12,\n\x0fsupported_types\x18\x01 \x03(\x0b\x32\x13.ContentTypePairPbo\x12\x0c\n\x04name\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.ConvertResponsePboP\x00P\x01\x62\x06proto3')
32
-
33
- _globals = globals()
34
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.converter.proto.converter_pb2', _globals)
36
- if not _descriptor._USE_C_DESCRIPTORS:
37
- DESCRIPTOR._loaded_options = None
38
- _globals['_CONVERTERDETAILSREQUESTPBO']._serialized_start=181
39
- _globals['_CONVERTERDETAILSREQUESTPBO']._serialized_end=209
40
- _globals['_CONTENTTYPEPAIRPBO']._serialized_start=211
41
- _globals['_CONTENTTYPEPAIRPBO']._serialized_end=322
42
- _globals['_CONVERTERDETAILSRESPONSEPBO']._serialized_start=324
43
- _globals['_CONVERTERDETAILSRESPONSEPBO']._serialized_end=413
44
- _globals['_CONVERTREQUESTPBO']._serialized_start=415
45
- _globals['_CONVERTREQUESTPBO']._serialized_end=527
46
- _globals['_CONVERTRESPONSEPBO']._serialized_start=529
47
- _globals['_CONVERTRESPONSEPBO']._serialized_end=596
48
- _globals['_CONVERTERSERVICE']._serialized_start=599
49
- _globals['_CONVERTERSERVICE']._serialized_end=758
50
- # @@protoc_insertion_point(module_scope)
@@ -1,61 +0,0 @@
1
- from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as _sapio_conn_info_pb2
2
- from sapiopycommons.ai.api.plan.item.proto import item_container_pb2 as _item_container_pb2
3
- from google.protobuf.internal import containers as _containers
4
- from google.protobuf import descriptor as _descriptor
5
- from google.protobuf import message as _message
6
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
7
- from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioConnectionInfoPbo as SapioConnectionInfoPbo
8
- from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioUserSecretTypePbo as SapioUserSecretTypePbo
9
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import ContentTypePbo as ContentTypePbo
10
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvHeaderRowPbo as StepCsvHeaderRowPbo
11
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvRowPbo as StepCsvRowPbo
12
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepCsvContainerPbo as StepCsvContainerPbo
13
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepJsonContainerPbo as StepJsonContainerPbo
14
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepTextContainerPbo as StepTextContainerPbo
15
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepBinaryContainerPbo as StepBinaryContainerPbo
16
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepImageContainerPbo as StepImageContainerPbo
17
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import StepItemContainerPbo as StepItemContainerPbo
18
- from sapiopycommons.ai.api.plan.item.proto.item_container_pb2 import DataTypePbo as DataTypePbo
19
-
20
- DESCRIPTOR: _descriptor.FileDescriptor
21
- SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretTypePbo
22
- PASSWORD: _sapio_conn_info_pb2.SapioUserSecretTypePbo
23
- BINARY: _item_container_pb2.DataTypePbo
24
- JSON: _item_container_pb2.DataTypePbo
25
- CSV: _item_container_pb2.DataTypePbo
26
- TEXT: _item_container_pb2.DataTypePbo
27
- IMAGE: _item_container_pb2.DataTypePbo
28
-
29
- class ConverterDetailsRequestPbo(_message.Message):
30
- __slots__ = ()
31
- def __init__(self) -> None: ...
32
-
33
- class ContentTypePairPbo(_message.Message):
34
- __slots__ = ("input_content_type", "output_content_type")
35
- INPUT_CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
36
- OUTPUT_CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
37
- input_content_type: _item_container_pb2.ContentTypePbo
38
- output_content_type: _item_container_pb2.ContentTypePbo
39
- def __init__(self, input_content_type: _Optional[_Union[_item_container_pb2.ContentTypePbo, _Mapping]] = ..., output_content_type: _Optional[_Union[_item_container_pb2.ContentTypePbo, _Mapping]] = ...) -> None: ...
40
-
41
- class ConverterDetailsResponsePbo(_message.Message):
42
- __slots__ = ("supported_types", "name")
43
- SUPPORTED_TYPES_FIELD_NUMBER: _ClassVar[int]
44
- NAME_FIELD_NUMBER: _ClassVar[int]
45
- supported_types: _containers.RepeatedCompositeFieldContainer[ContentTypePairPbo]
46
- name: str
47
- def __init__(self, supported_types: _Optional[_Iterable[_Union[ContentTypePairPbo, _Mapping]]] = ..., name: _Optional[str] = ...) -> None: ...
48
-
49
- class ConvertRequestPbo(_message.Message):
50
- __slots__ = ("item_container", "target_content_type")
51
- ITEM_CONTAINER_FIELD_NUMBER: _ClassVar[int]
52
- TARGET_CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
53
- item_container: _item_container_pb2.StepItemContainerPbo
54
- target_content_type: _item_container_pb2.ContentTypePbo
55
- def __init__(self, item_container: _Optional[_Union[_item_container_pb2.StepItemContainerPbo, _Mapping]] = ..., target_content_type: _Optional[_Union[_item_container_pb2.ContentTypePbo, _Mapping]] = ...) -> None: ...
56
-
57
- class ConvertResponsePbo(_message.Message):
58
- __slots__ = ("item_container",)
59
- ITEM_CONTAINER_FIELD_NUMBER: _ClassVar[int]
60
- item_container: _item_container_pb2.StepItemContainerPbo
61
- def __init__(self, item_container: _Optional[_Union[_item_container_pb2.StepItemContainerPbo, _Mapping]] = ...) -> None: ...
@@ -1,149 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
- import warnings
5
-
6
- from sapiopycommons.ai.api.plan.converter.proto import converter_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2
7
-
8
- GRPC_GENERATED_VERSION = '1.70.0'
9
- GRPC_VERSION = grpc.__version__
10
- _version_not_supported = False
11
-
12
- try:
13
- from grpc._utilities import first_version_is_lower
14
- _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
15
- except ImportError:
16
- _version_not_supported = True
17
-
18
- if _version_not_supported:
19
- raise RuntimeError(
20
- f'The grpc package installed is at version {GRPC_VERSION},'
21
- + f' but the generated code in sapiopycommons/ai/api/plan/converter/proto/converter_pb2_grpc.py depends on'
22
- + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
- + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
- + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
25
- )
26
-
27
-
28
- class ConverterServiceStub(object):
29
- """*
30
- The ConverterService provides methods to retrieve converter details and perform content conversion between
31
- different ConteTypes
32
- """
33
-
34
- def __init__(self, channel):
35
- """Constructor.
36
-
37
- Args:
38
- channel: A grpc.Channel.
39
- """
40
- self.GetConverterDetails = channel.unary_unary(
41
- '/ConverterService/GetConverterDetails',
42
- request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsRequestPbo.SerializeToString,
43
- response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsResponsePbo.FromString,
44
- _registered_method=True)
45
- self.ConvertContent = channel.unary_unary(
46
- '/ConverterService/ConvertContent',
47
- request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertRequestPbo.SerializeToString,
48
- response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertResponsePbo.FromString,
49
- _registered_method=True)
50
-
51
-
52
- class ConverterServiceServicer(object):
53
- """*
54
- The ConverterService provides methods to retrieve converter details and perform content conversion between
55
- different ConteTypes
56
- """
57
-
58
- def GetConverterDetails(self, request, context):
59
- """Missing associated documentation comment in .proto file."""
60
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
61
- context.set_details('Method not implemented!')
62
- raise NotImplementedError('Method not implemented!')
63
-
64
- def ConvertContent(self, request, context):
65
- """Missing associated documentation comment in .proto file."""
66
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
67
- context.set_details('Method not implemented!')
68
- raise NotImplementedError('Method not implemented!')
69
-
70
-
71
- def add_ConverterServiceServicer_to_server(servicer, server):
72
- rpc_method_handlers = {
73
- 'GetConverterDetails': grpc.unary_unary_rpc_method_handler(
74
- servicer.GetConverterDetails,
75
- request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsRequestPbo.FromString,
76
- response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsResponsePbo.SerializeToString,
77
- ),
78
- 'ConvertContent': grpc.unary_unary_rpc_method_handler(
79
- servicer.ConvertContent,
80
- request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertRequestPbo.FromString,
81
- response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertResponsePbo.SerializeToString,
82
- ),
83
- }
84
- generic_handler = grpc.method_handlers_generic_handler(
85
- 'ConverterService', rpc_method_handlers)
86
- server.add_generic_rpc_handlers((generic_handler,))
87
- server.add_registered_method_handlers('ConverterService', rpc_method_handlers)
88
-
89
-
90
- # This class is part of an EXPERIMENTAL API.
91
- class ConverterService(object):
92
- """*
93
- The ConverterService provides methods to retrieve converter details and perform content conversion between
94
- different ConteTypes
95
- """
96
-
97
- @staticmethod
98
- def GetConverterDetails(request,
99
- target,
100
- options=(),
101
- channel_credentials=None,
102
- call_credentials=None,
103
- insecure=False,
104
- compression=None,
105
- wait_for_ready=None,
106
- timeout=None,
107
- metadata=None):
108
- return grpc.experimental.unary_unary(
109
- request,
110
- target,
111
- '/ConverterService/GetConverterDetails',
112
- sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsRequestPbo.SerializeToString,
113
- sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConverterDetailsResponsePbo.FromString,
114
- options,
115
- channel_credentials,
116
- insecure,
117
- call_credentials,
118
- compression,
119
- wait_for_ready,
120
- timeout,
121
- metadata,
122
- _registered_method=True)
123
-
124
- @staticmethod
125
- def ConvertContent(request,
126
- target,
127
- options=(),
128
- channel_credentials=None,
129
- call_credentials=None,
130
- insecure=False,
131
- compression=None,
132
- wait_for_ready=None,
133
- timeout=None,
134
- metadata=None):
135
- return grpc.experimental.unary_unary(
136
- request,
137
- target,
138
- '/ConverterService/ConvertContent',
139
- sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertRequestPbo.SerializeToString,
140
- sapiopycommons_dot_ai_dot_api_dot_plan_dot_converter_dot_proto_dot_converter__pb2.ConvertResponsePbo.FromString,
141
- options,
142
- channel_credentials,
143
- insecure,
144
- call_credentials,
145
- compression,
146
- wait_for_ready,
147
- timeout,
148
- metadata,
149
- _registered_method=True)
@@ -1,55 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: sapiopycommons/ai/api/plan/item/proto/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/api/plan/item/proto/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'\n:sapiopycommons/ai/api/plan/item/proto/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\x1d\x63om.velox.api.plan.item.protoP\x01\x62\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.item.proto.item_container_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n\035com.velox.api.plan.item.protoP\001'
35
- _globals['_DATATYPEPBO']._serialized_start=736
36
- _globals['_DATATYPEPBO']._serialized_end=801
37
- _globals['_CONTENTTYPEPBO']._serialized_start=62
38
- _globals['_CONTENTTYPEPBO']._serialized_end=112
39
- _globals['_STEPCSVHEADERROWPBO']._serialized_start=114
40
- _globals['_STEPCSVHEADERROWPBO']._serialized_end=150
41
- _globals['_STEPCSVROWPBO']._serialized_start=152
42
- _globals['_STEPCSVROWPBO']._serialized_end=182
43
- _globals['_STEPCSVCONTAINERPBO']._serialized_start=184
44
- _globals['_STEPCSVCONTAINERPBO']._serialized_end=274
45
- _globals['_STEPJSONCONTAINERPBO']._serialized_start=276
46
- _globals['_STEPJSONCONTAINERPBO']._serialized_end=313
47
- _globals['_STEPTEXTCONTAINERPBO']._serialized_start=315
48
- _globals['_STEPTEXTCONTAINERPBO']._serialized_end=352
49
- _globals['_STEPBINARYCONTAINERPBO']._serialized_start=354
50
- _globals['_STEPBINARYCONTAINERPBO']._serialized_end=393
51
- _globals['_STEPIMAGECONTAINERPBO']._serialized_start=395
52
- _globals['_STEPIMAGECONTAINERPBO']._serialized_end=455
53
- _globals['_STEPITEMCONTAINERPBO']._serialized_start=458
54
- _globals['_STEPITEMCONTAINERPBO']._serialized_end=734
55
- # @@protoc_insertion_point(module_scope)
@@ -1,88 +0,0 @@
1
- from google.protobuf.internal import containers as _containers
2
- from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
3
- from google.protobuf import descriptor as _descriptor
4
- from google.protobuf import message as _message
5
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
6
-
7
- DESCRIPTOR: _descriptor.FileDescriptor
8
-
9
- class DataTypePbo(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
10
- __slots__ = ()
11
- BINARY: _ClassVar[DataTypePbo]
12
- JSON: _ClassVar[DataTypePbo]
13
- CSV: _ClassVar[DataTypePbo]
14
- TEXT: _ClassVar[DataTypePbo]
15
- IMAGE: _ClassVar[DataTypePbo]
16
- BINARY: DataTypePbo
17
- JSON: DataTypePbo
18
- CSV: DataTypePbo
19
- TEXT: DataTypePbo
20
- IMAGE: DataTypePbo
21
-
22
- class ContentTypePbo(_message.Message):
23
- __slots__ = ("name", "extensions")
24
- NAME_FIELD_NUMBER: _ClassVar[int]
25
- EXTENSIONS_FIELD_NUMBER: _ClassVar[int]
26
- name: str
27
- extensions: _containers.RepeatedScalarFieldContainer[str]
28
- def __init__(self, name: _Optional[str] = ..., extensions: _Optional[_Iterable[str]] = ...) -> None: ...
29
-
30
- class StepCsvHeaderRowPbo(_message.Message):
31
- __slots__ = ("cells",)
32
- CELLS_FIELD_NUMBER: _ClassVar[int]
33
- cells: _containers.RepeatedScalarFieldContainer[str]
34
- def __init__(self, cells: _Optional[_Iterable[str]] = ...) -> None: ...
35
-
36
- class StepCsvRowPbo(_message.Message):
37
- __slots__ = ("cells",)
38
- CELLS_FIELD_NUMBER: _ClassVar[int]
39
- cells: _containers.RepeatedScalarFieldContainer[str]
40
- def __init__(self, cells: _Optional[_Iterable[str]] = ...) -> None: ...
41
-
42
- class StepCsvContainerPbo(_message.Message):
43
- __slots__ = ("header", "items")
44
- HEADER_FIELD_NUMBER: _ClassVar[int]
45
- ITEMS_FIELD_NUMBER: _ClassVar[int]
46
- header: StepCsvHeaderRowPbo
47
- items: _containers.RepeatedCompositeFieldContainer[StepCsvRowPbo]
48
- def __init__(self, header: _Optional[_Union[StepCsvHeaderRowPbo, _Mapping]] = ..., items: _Optional[_Iterable[_Union[StepCsvRowPbo, _Mapping]]] = ...) -> None: ...
49
-
50
- class StepJsonContainerPbo(_message.Message):
51
- __slots__ = ("items",)
52
- ITEMS_FIELD_NUMBER: _ClassVar[int]
53
- items: _containers.RepeatedScalarFieldContainer[str]
54
- def __init__(self, items: _Optional[_Iterable[str]] = ...) -> None: ...
55
-
56
- class StepTextContainerPbo(_message.Message):
57
- __slots__ = ("items",)
58
- ITEMS_FIELD_NUMBER: _ClassVar[int]
59
- items: _containers.RepeatedScalarFieldContainer[str]
60
- def __init__(self, items: _Optional[_Iterable[str]] = ...) -> None: ...
61
-
62
- class StepBinaryContainerPbo(_message.Message):
63
- __slots__ = ("items",)
64
- ITEMS_FIELD_NUMBER: _ClassVar[int]
65
- items: _containers.RepeatedScalarFieldContainer[bytes]
66
- def __init__(self, items: _Optional[_Iterable[bytes]] = ...) -> None: ...
67
-
68
- class StepImageContainerPbo(_message.Message):
69
- __slots__ = ("image_format", "items")
70
- IMAGE_FORMAT_FIELD_NUMBER: _ClassVar[int]
71
- ITEMS_FIELD_NUMBER: _ClassVar[int]
72
- image_format: str
73
- items: _containers.RepeatedScalarFieldContainer[bytes]
74
- def __init__(self, image_format: _Optional[str] = ..., items: _Optional[_Iterable[bytes]] = ...) -> None: ...
75
-
76
- class StepItemContainerPbo(_message.Message):
77
- __slots__ = ("content_type", "binary_container", "csv_container", "json_container", "text_container")
78
- CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
79
- BINARY_CONTAINER_FIELD_NUMBER: _ClassVar[int]
80
- CSV_CONTAINER_FIELD_NUMBER: _ClassVar[int]
81
- JSON_CONTAINER_FIELD_NUMBER: _ClassVar[int]
82
- TEXT_CONTAINER_FIELD_NUMBER: _ClassVar[int]
83
- content_type: ContentTypePbo
84
- binary_container: StepBinaryContainerPbo
85
- csv_container: StepCsvContainerPbo
86
- json_container: StepJsonContainerPbo
87
- text_container: StepTextContainerPbo
88
- def __init__(self, content_type: _Optional[_Union[ContentTypePbo, _Mapping]] = ..., binary_container: _Optional[_Union[StepBinaryContainerPbo, _Mapping]] = ..., csv_container: _Optional[_Union[StepCsvContainerPbo, _Mapping]] = ..., json_container: _Optional[_Union[StepJsonContainerPbo, _Mapping]] = ..., text_container: _Optional[_Union[StepTextContainerPbo, _Mapping]] = ...) -> None: ...
@@ -1,24 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
- import warnings
5
-
6
-
7
- GRPC_GENERATED_VERSION = '1.70.0'
8
- GRPC_VERSION = grpc.__version__
9
- _version_not_supported = False
10
-
11
- try:
12
- from grpc._utilities import first_version_is_lower
13
- _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
- except ImportError:
15
- _version_not_supported = True
16
-
17
- if _version_not_supported:
18
- raise RuntimeError(
19
- f'The grpc package installed is at version {GRPC_VERSION},'
20
- + f' but the generated code in sapiopycommons/ai/api/plan/item/proto/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
- )
@@ -1,45 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: sapiopycommons/ai/api/plan/proto/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/api/plan/proto/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'\n2sapiopycommons/ai/api/plan/proto/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\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.proto.step_output_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n\030com.velox.api.plan.protoP\001'
35
- _globals['_STEPJSONSINGLETONITEMPBO']._serialized_start=54
36
- _globals['_STEPJSONSINGLETONITEMPBO']._serialized_end=94
37
- _globals['_STEPTEXTSINGLETONITEMPBO']._serialized_start=96
38
- _globals['_STEPTEXTSINGLETONITEMPBO']._serialized_end=136
39
- _globals['_STEPCSVSINGLETONITEMPBO']._serialized_start=138
40
- _globals['_STEPCSVSINGLETONITEMPBO']._serialized_end=178
41
- _globals['_STEPBINARYSINGLETONITEMPBO']._serialized_start=180
42
- _globals['_STEPBINARYSINGLETONITEMPBO']._serialized_end=222
43
- _globals['_STEPSINGLETONITEMPBO']._serialized_start=225
44
- _globals['_STEPSINGLETONITEMPBO']._serialized_end=471
45
- # @@protoc_insertion_point(module_scope)
@@ -1,42 +0,0 @@
1
- from google.protobuf.internal import containers as _containers
2
- from google.protobuf import descriptor as _descriptor
3
- from google.protobuf import message as _message
4
- from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
5
-
6
- DESCRIPTOR: _descriptor.FileDescriptor
7
-
8
- class StepJsonSingletonItemPbo(_message.Message):
9
- __slots__ = ("item",)
10
- ITEM_FIELD_NUMBER: _ClassVar[int]
11
- item: str
12
- def __init__(self, item: _Optional[str] = ...) -> None: ...
13
-
14
- class StepTextSingletonItemPbo(_message.Message):
15
- __slots__ = ("item",)
16
- ITEM_FIELD_NUMBER: _ClassVar[int]
17
- item: str
18
- def __init__(self, item: _Optional[str] = ...) -> None: ...
19
-
20
- class StepCsvSingletonItemPbo(_message.Message):
21
- __slots__ = ("cells",)
22
- CELLS_FIELD_NUMBER: _ClassVar[int]
23
- cells: _containers.RepeatedScalarFieldContainer[str]
24
- def __init__(self, cells: _Optional[_Iterable[str]] = ...) -> None: ...
25
-
26
- class StepBinarySingletonItemPbo(_message.Message):
27
- __slots__ = ("item",)
28
- ITEM_FIELD_NUMBER: _ClassVar[int]
29
- item: bytes
30
- def __init__(self, item: _Optional[bytes] = ...) -> None: ...
31
-
32
- class StepSingletonItemPbo(_message.Message):
33
- __slots__ = ("json_singleton", "text_singleton", "csv_singleton", "binary_singleton")
34
- JSON_SINGLETON_FIELD_NUMBER: _ClassVar[int]
35
- TEXT_SINGLETON_FIELD_NUMBER: _ClassVar[int]
36
- CSV_SINGLETON_FIELD_NUMBER: _ClassVar[int]
37
- BINARY_SINGLETON_FIELD_NUMBER: _ClassVar[int]
38
- json_singleton: StepJsonSingletonItemPbo
39
- text_singleton: StepTextSingletonItemPbo
40
- csv_singleton: StepCsvSingletonItemPbo
41
- binary_singleton: StepBinarySingletonItemPbo
42
- def __init__(self, json_singleton: _Optional[_Union[StepJsonSingletonItemPbo, _Mapping]] = ..., text_singleton: _Optional[_Union[StepTextSingletonItemPbo, _Mapping]] = ..., csv_singleton: _Optional[_Union[StepCsvSingletonItemPbo, _Mapping]] = ..., binary_singleton: _Optional[_Union[StepBinarySingletonItemPbo, _Mapping]] = ...) -> None: ...
@@ -1,24 +0,0 @@
1
- # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
- """Client and server classes corresponding to protobuf-defined services."""
3
- import grpc
4
- import warnings
5
-
6
-
7
- GRPC_GENERATED_VERSION = '1.70.0'
8
- GRPC_VERSION = grpc.__version__
9
- _version_not_supported = False
10
-
11
- try:
12
- from grpc._utilities import first_version_is_lower
13
- _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
- except ImportError:
15
- _version_not_supported = True
16
-
17
- if _version_not_supported:
18
- raise RuntimeError(
19
- f'The grpc package installed is at version {GRPC_VERSION},'
20
- + f' but the generated code in sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py depends on'
21
- + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
- + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
- + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
- )
@@ -1,43 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Generated by the protocol buffer compiler. DO NOT EDIT!
3
- # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: sapiopycommons/ai/api/plan/proto/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/api/plan/proto/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/api/plan/proto/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\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
28
-
29
- _globals = globals()
30
- _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
- _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.proto.step_pb2', _globals)
32
- if not _descriptor._USE_C_DESCRIPTORS:
33
- _globals['DESCRIPTOR']._loaded_options = None
34
- _globals['DESCRIPTOR']._serialized_options = b'\n\030com.velox.api.plan.protoP\001'
35
- _globals['_STEPIOINFOPBO']._serialized_start=47
36
- _globals['_STEPIOINFOPBO']._serialized_end=125
37
- _globals['_STEPIODETAILSPBO']._serialized_start=127
38
- _globals['_STEPIODETAILSPBO']._serialized_end=241
39
- _globals['_STEPINPUTDETAILSPBO']._serialized_start=243
40
- _globals['_STEPINPUTDETAILSPBO']._serialized_end=355
41
- _globals['_STEPOUTPUTDETAILSPBO']._serialized_start=357
42
- _globals['_STEPOUTPUTDETAILSPBO']._serialized_end=423
43
- # @@protoc_insertion_point(module_scope)
@@ -1,43 +0,0 @@
1
- from google.protobuf import descriptor as _descriptor
2
- from google.protobuf import message as _message
3
- from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
4
-
5
- DESCRIPTOR: _descriptor.FileDescriptor
6
-
7
- class StepIoInfoPbo(_message.Message):
8
- __slots__ = ("step_io_number", "content_type", "io_name")
9
- STEP_IO_NUMBER_FIELD_NUMBER: _ClassVar[int]
10
- CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
11
- IO_NAME_FIELD_NUMBER: _ClassVar[int]
12
- step_io_number: int
13
- content_type: str
14
- io_name: str
15
- def __init__(self, step_io_number: _Optional[int] = ..., content_type: _Optional[str] = ..., io_name: _Optional[str] = ...) -> None: ...
16
-
17
- class StepIoDetailsPbo(_message.Message):
18
- __slots__ = ("step_io_info", "description", "example", "validation")
19
- STEP_IO_INFO_FIELD_NUMBER: _ClassVar[int]
20
- DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
21
- EXAMPLE_FIELD_NUMBER: _ClassVar[int]
22
- VALIDATION_FIELD_NUMBER: _ClassVar[int]
23
- step_io_info: StepIoInfoPbo
24
- description: str
25
- example: str
26
- validation: str
27
- def __init__(self, step_io_info: _Optional[_Union[StepIoInfoPbo, _Mapping]] = ..., description: _Optional[str] = ..., example: _Optional[str] = ..., validation: _Optional[str] = ...) -> None: ...
28
-
29
- class StepInputDetailsPbo(_message.Message):
30
- __slots__ = ("step_io_details", "paging_supported", "max_entries")
31
- STEP_IO_DETAILS_FIELD_NUMBER: _ClassVar[int]
32
- PAGING_SUPPORTED_FIELD_NUMBER: _ClassVar[int]
33
- MAX_ENTRIES_FIELD_NUMBER: _ClassVar[int]
34
- step_io_details: StepIoDetailsPbo
35
- paging_supported: bool
36
- max_entries: int
37
- def __init__(self, step_io_details: _Optional[_Union[StepIoDetailsPbo, _Mapping]] = ..., paging_supported: bool = ..., max_entries: _Optional[int] = ...) -> None: ...
38
-
39
- class StepOutputDetailsPbo(_message.Message):
40
- __slots__ = ("step_io_details",)
41
- STEP_IO_DETAILS_FIELD_NUMBER: _ClassVar[int]
42
- step_io_details: StepIoDetailsPbo
43
- def __init__(self, step_io_details: _Optional[_Union[StepIoDetailsPbo, _Mapping]] = ...) -> None: ...