sapiopycommons 2025.6.19a564__py3-none-any.whl → 2026.1.22a847__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.
- sapiopycommons/ai/__init__.py +0 -0
- sapiopycommons/ai/agent_service_base.py +2051 -0
- sapiopycommons/ai/converter_service_base.py +163 -0
- sapiopycommons/ai/external_credentials.py +131 -0
- sapiopycommons/ai/protoapi/agent/agent_pb2.py +87 -0
- sapiopycommons/ai/protoapi/agent/agent_pb2.pyi +282 -0
- sapiopycommons/ai/protoapi/agent/agent_pb2_grpc.py +154 -0
- sapiopycommons/ai/protoapi/agent/entry_pb2.py +49 -0
- sapiopycommons/ai/protoapi/agent/entry_pb2.pyi +40 -0
- sapiopycommons/ai/protoapi/agent/entry_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/agent/item/item_container_pb2.py +61 -0
- sapiopycommons/ai/protoapi/agent/item/item_container_pb2.pyi +181 -0
- sapiopycommons/ai/protoapi/agent/item/item_container_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/externalcredentials/external_credentials_pb2.py +41 -0
- sapiopycommons/ai/protoapi/externalcredentials/external_credentials_pb2.pyi +36 -0
- sapiopycommons/ai/protoapi/externalcredentials/external_credentials_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/fielddefinitions/fields_pb2.py +51 -0
- sapiopycommons/ai/protoapi/fielddefinitions/fields_pb2.pyi +59 -0
- sapiopycommons/ai/protoapi/fielddefinitions/fields_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/fielddefinitions/velox_field_def_pb2.py +123 -0
- sapiopycommons/ai/protoapi/fielddefinitions/velox_field_def_pb2.pyi +599 -0
- sapiopycommons/ai/protoapi/fielddefinitions/velox_field_def_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/pipeline/converter/converter_pb2.py +59 -0
- sapiopycommons/ai/protoapi/pipeline/converter/converter_pb2.pyi +68 -0
- sapiopycommons/ai/protoapi/pipeline/converter/converter_pb2_grpc.py +149 -0
- sapiopycommons/ai/protoapi/pipeline/script/script_pb2.py +69 -0
- sapiopycommons/ai/protoapi/pipeline/script/script_pb2.pyi +109 -0
- sapiopycommons/ai/protoapi/pipeline/script/script_pb2_grpc.py +153 -0
- sapiopycommons/ai/protoapi/pipeline/step_output_pb2.py +49 -0
- sapiopycommons/ai/protoapi/pipeline/step_output_pb2.pyi +56 -0
- sapiopycommons/ai/protoapi/pipeline/step_output_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/pipeline/step_pb2.py +43 -0
- sapiopycommons/ai/protoapi/pipeline/step_pb2.pyi +44 -0
- sapiopycommons/ai/protoapi/pipeline/step_pb2_grpc.py +24 -0
- sapiopycommons/ai/protoapi/session/sapio_conn_info_pb2.py +39 -0
- sapiopycommons/ai/protoapi/session/sapio_conn_info_pb2.pyi +33 -0
- sapiopycommons/ai/protoapi/session/sapio_conn_info_pb2_grpc.py +24 -0
- sapiopycommons/ai/protobuf_utils.py +583 -0
- sapiopycommons/ai/request_validation.py +561 -0
- sapiopycommons/ai/server.py +152 -0
- sapiopycommons/ai/test_client.py +534 -0
- sapiopycommons/callbacks/callback_util.py +53 -24
- sapiopycommons/eln/experiment_handler.py +12 -5
- sapiopycommons/files/assay_plate_reader.py +93 -0
- sapiopycommons/files/file_text_converter.py +207 -0
- sapiopycommons/files/file_util.py +128 -1
- sapiopycommons/files/temp_files.py +82 -0
- sapiopycommons/flowcyto/flow_cyto.py +2 -24
- sapiopycommons/general/accession_service.py +2 -28
- sapiopycommons/general/aliases.py +4 -1
- sapiopycommons/general/macros.py +172 -0
- sapiopycommons/general/time_util.py +199 -4
- sapiopycommons/multimodal/multimodal.py +2 -24
- sapiopycommons/recordmodel/record_handler.py +200 -111
- sapiopycommons/rules/eln_rule_handler.py +3 -0
- sapiopycommons/rules/on_save_rule_handler.py +3 -0
- sapiopycommons/webhook/webhook_handlers.py +6 -4
- sapiopycommons/webhook/webservice_handlers.py +1 -1
- {sapiopycommons-2025.6.19a564.dist-info → sapiopycommons-2026.1.22a847.dist-info}/METADATA +2 -2
- sapiopycommons-2026.1.22a847.dist-info/RECORD +113 -0
- sapiopycommons-2025.6.19a564.dist-info/RECORD +0 -68
- {sapiopycommons-2025.6.19a564.dist-info → sapiopycommons-2026.1.22a847.dist-info}/WHEEL +0 -0
- {sapiopycommons-2025.6.19a564.dist-info → sapiopycommons-2026.1.22a847.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
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/pipeline/step_output.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'sapiopycommons/ai/protoapi/pipeline/step_output.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import fields_pb2 as sapiopycommons_dot_ai_dot_protoapi_dot_fielddefinitions_dot_fields__pb2
|
|
26
|
+
|
|
27
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import *
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5sapiopycommons/ai/protoapi/pipeline/step_output.proto\x1a\x38sapiopycommons/ai/protoapi/fielddefinitions/fields.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\">\n\x1eStepDataRecordSingletonItemPbo\x12\x1c\n\x04item\x18\x01 \x01(\x0b\x32\x0e.DataRecordPbo\"\xb8\x02\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\x12@\n\x15\x64\x61ta_record_singleton\x18\x05 \x01(\x0b\x32\x1f.StepDataRecordSingletonItemPboH\x00\x42\x08\n\x06outputB\x1f\n\x1b\x63om.velox.protoapi.pipelineP\x01P\x00\x62\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.pipeline.step_output_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.velox.protoapi.pipelineP\001'
|
|
37
|
+
_globals['_STEPJSONSINGLETONITEMPBO']._serialized_start=115
|
|
38
|
+
_globals['_STEPJSONSINGLETONITEMPBO']._serialized_end=155
|
|
39
|
+
_globals['_STEPTEXTSINGLETONITEMPBO']._serialized_start=157
|
|
40
|
+
_globals['_STEPTEXTSINGLETONITEMPBO']._serialized_end=197
|
|
41
|
+
_globals['_STEPCSVSINGLETONITEMPBO']._serialized_start=199
|
|
42
|
+
_globals['_STEPCSVSINGLETONITEMPBO']._serialized_end=239
|
|
43
|
+
_globals['_STEPBINARYSINGLETONITEMPBO']._serialized_start=241
|
|
44
|
+
_globals['_STEPBINARYSINGLETONITEMPBO']._serialized_end=283
|
|
45
|
+
_globals['_STEPDATARECORDSINGLETONITEMPBO']._serialized_start=285
|
|
46
|
+
_globals['_STEPDATARECORDSINGLETONITEMPBO']._serialized_end=347
|
|
47
|
+
_globals['_STEPSINGLETONITEMPBO']._serialized_start=350
|
|
48
|
+
_globals['_STEPSINGLETONITEMPBO']._serialized_end=662
|
|
49
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
from sapiopycommons.ai.protoapi.fielddefinitions import fields_pb2 as _fields_pb2
|
|
2
|
+
from google.protobuf.internal import containers as _containers
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from google.protobuf import message as _message
|
|
5
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import DateRangePbo as DateRangePbo
|
|
8
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import FieldValuePbo as FieldValuePbo
|
|
9
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import FieldValueMapPbo as FieldValueMapPbo
|
|
10
|
+
from sapiopycommons.ai.protoapi.fielddefinitions.fields_pb2 import DataRecordPbo as DataRecordPbo
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
class StepJsonSingletonItemPbo(_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 StepTextSingletonItemPbo(_message.Message):
|
|
21
|
+
__slots__ = ("item",)
|
|
22
|
+
ITEM_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
item: str
|
|
24
|
+
def __init__(self, item: _Optional[str] = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class StepCsvSingletonItemPbo(_message.Message):
|
|
27
|
+
__slots__ = ("cells",)
|
|
28
|
+
CELLS_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
cells: _containers.RepeatedScalarFieldContainer[str]
|
|
30
|
+
def __init__(self, cells: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class StepBinarySingletonItemPbo(_message.Message):
|
|
33
|
+
__slots__ = ("item",)
|
|
34
|
+
ITEM_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
item: bytes
|
|
36
|
+
def __init__(self, item: _Optional[bytes] = ...) -> None: ...
|
|
37
|
+
|
|
38
|
+
class StepDataRecordSingletonItemPbo(_message.Message):
|
|
39
|
+
__slots__ = ("item",)
|
|
40
|
+
ITEM_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
item: _fields_pb2.DataRecordPbo
|
|
42
|
+
def __init__(self, item: _Optional[_Union[_fields_pb2.DataRecordPbo, _Mapping]] = ...) -> None: ...
|
|
43
|
+
|
|
44
|
+
class StepSingletonItemPbo(_message.Message):
|
|
45
|
+
__slots__ = ("json_singleton", "text_singleton", "csv_singleton", "binary_singleton", "data_record_singleton")
|
|
46
|
+
JSON_SINGLETON_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
TEXT_SINGLETON_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
CSV_SINGLETON_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
BINARY_SINGLETON_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
DATA_RECORD_SINGLETON_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
json_singleton: StepJsonSingletonItemPbo
|
|
52
|
+
text_singleton: StepTextSingletonItemPbo
|
|
53
|
+
csv_singleton: StepCsvSingletonItemPbo
|
|
54
|
+
binary_singleton: StepBinarySingletonItemPbo
|
|
55
|
+
data_record_singleton: StepDataRecordSingletonItemPbo
|
|
56
|
+
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]] = ..., data_record_singleton: _Optional[_Union[StepDataRecordSingletonItemPbo, _Mapping]] = ...) -> None: ...
|
|
@@ -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.76.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
|
+
+ ' but the generated code in sapiopycommons/ai/protoapi/pipeline/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
|
+
)
|
|
@@ -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/pipeline/step.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'sapiopycommons/ai/protoapi/pipeline/step.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.sapiopycommons/ai/protoapi/pipeline/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\x1f\n\x1b\x63om.velox.protoapi.pipelineP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.pipeline.step_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.velox.protoapi.pipelineP\001'
|
|
35
|
+
_globals['_STEPIOINFOPBO']._serialized_start=50
|
|
36
|
+
_globals['_STEPIOINFOPBO']._serialized_end=128
|
|
37
|
+
_globals['_STEPIODETAILSPBO']._serialized_start=130
|
|
38
|
+
_globals['_STEPIODETAILSPBO']._serialized_end=244
|
|
39
|
+
_globals['_STEPINPUTDETAILSPBO']._serialized_start=246
|
|
40
|
+
_globals['_STEPINPUTDETAILSPBO']._serialized_end=358
|
|
41
|
+
_globals['_STEPOUTPUTDETAILSPBO']._serialized_start=360
|
|
42
|
+
_globals['_STEPOUTPUTDETAILSPBO']._serialized_end=426
|
|
43
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
|
2
|
+
from google.protobuf import message as _message
|
|
3
|
+
from collections.abc import Mapping as _Mapping
|
|
4
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class StepIoInfoPbo(_message.Message):
|
|
9
|
+
__slots__ = ("step_io_number", "content_type", "io_name")
|
|
10
|
+
STEP_IO_NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
IO_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
step_io_number: int
|
|
14
|
+
content_type: str
|
|
15
|
+
io_name: str
|
|
16
|
+
def __init__(self, step_io_number: _Optional[int] = ..., content_type: _Optional[str] = ..., io_name: _Optional[str] = ...) -> None: ...
|
|
17
|
+
|
|
18
|
+
class StepIoDetailsPbo(_message.Message):
|
|
19
|
+
__slots__ = ("step_io_info", "description", "example", "validation")
|
|
20
|
+
STEP_IO_INFO_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
EXAMPLE_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
VALIDATION_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
step_io_info: StepIoInfoPbo
|
|
25
|
+
description: str
|
|
26
|
+
example: str
|
|
27
|
+
validation: str
|
|
28
|
+
def __init__(self, step_io_info: _Optional[_Union[StepIoInfoPbo, _Mapping]] = ..., description: _Optional[str] = ..., example: _Optional[str] = ..., validation: _Optional[str] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class StepInputDetailsPbo(_message.Message):
|
|
31
|
+
__slots__ = ("step_io_details", "paging_supported", "max_entries")
|
|
32
|
+
STEP_IO_DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
PAGING_SUPPORTED_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
MAX_ENTRIES_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
step_io_details: StepIoDetailsPbo
|
|
36
|
+
paging_supported: bool
|
|
37
|
+
max_entries: int
|
|
38
|
+
def __init__(self, step_io_details: _Optional[_Union[StepIoDetailsPbo, _Mapping]] = ..., paging_supported: bool = ..., max_entries: _Optional[int] = ...) -> None: ...
|
|
39
|
+
|
|
40
|
+
class StepOutputDetailsPbo(_message.Message):
|
|
41
|
+
__slots__ = ("step_io_details",)
|
|
42
|
+
STEP_IO_DETAILS_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
step_io_details: StepIoDetailsPbo
|
|
44
|
+
def __init__(self, step_io_details: _Optional[_Union[StepIoDetailsPbo, _Mapping]] = ...) -> None: ...
|
|
@@ -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.76.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
|
+
+ ' but the generated code in sapiopycommons/ai/protoapi/pipeline/step_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,39 @@
|
|
|
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/session/sapio_conn_info.proto
|
|
5
|
+
# Protobuf Python Version: 6.31.1
|
|
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
|
+
6,
|
|
15
|
+
31,
|
|
16
|
+
1,
|
|
17
|
+
'',
|
|
18
|
+
'sapiopycommons/ai/protoapi/session/sapio_conn_info.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/session/sapio_conn_info.proto\"\xb6\x01\n\x16SapioConnectionInfoPbo\x12\x16\n\x0ewebservice_url\x18\x01 \x01(\t\x12\x10\n\x08rmi_host\x18\x02 \x03(\t\x12\x10\n\x08rmi_port\x18\x03 \x01(\x05\x12\x10\n\x08\x61pp_guid\x18\x04 \x01(\t\x12\x10\n\x08username\x18\x05 \x01(\t\x12,\n\x0bsecret_type\x18\x06 \x01(\x0e\x32\x17.SapioUserSecretTypePbo\x12\x0e\n\x06secret\x18\x07 \x01(\t*9\n\x16SapioUserSecretTypePbo\x12\x11\n\rSESSION_TOKEN\x10\x00\x12\x0c\n\x08PASSWORD\x10\x01\x42\x1e\n\x1a\x63om.velox.protoapi.sessionP\x01\x62\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.protoapi.session.sapio_conn_info_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\032com.velox.protoapi.sessionP\001'
|
|
35
|
+
_globals['_SAPIOUSERSECRETTYPEPBO']._serialized_start=245
|
|
36
|
+
_globals['_SAPIOUSERSECRETTYPEPBO']._serialized_end=302
|
|
37
|
+
_globals['_SAPIOCONNECTIONINFOPBO']._serialized_start=61
|
|
38
|
+
_globals['_SAPIOCONNECTIONINFOPBO']._serialized_end=243
|
|
39
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,33 @@
|
|
|
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 collections.abc import Iterable as _Iterable
|
|
6
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
7
|
+
|
|
8
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
9
|
+
|
|
10
|
+
class SapioUserSecretTypePbo(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
11
|
+
__slots__ = ()
|
|
12
|
+
SESSION_TOKEN: _ClassVar[SapioUserSecretTypePbo]
|
|
13
|
+
PASSWORD: _ClassVar[SapioUserSecretTypePbo]
|
|
14
|
+
SESSION_TOKEN: SapioUserSecretTypePbo
|
|
15
|
+
PASSWORD: SapioUserSecretTypePbo
|
|
16
|
+
|
|
17
|
+
class SapioConnectionInfoPbo(_message.Message):
|
|
18
|
+
__slots__ = ("webservice_url", "rmi_host", "rmi_port", "app_guid", "username", "secret_type", "secret")
|
|
19
|
+
WEBSERVICE_URL_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
RMI_HOST_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
RMI_PORT_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
APP_GUID_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
USERNAME_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
SECRET_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
SECRET_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
webservice_url: str
|
|
27
|
+
rmi_host: _containers.RepeatedScalarFieldContainer[str]
|
|
28
|
+
rmi_port: int
|
|
29
|
+
app_guid: str
|
|
30
|
+
username: str
|
|
31
|
+
secret_type: SapioUserSecretTypePbo
|
|
32
|
+
secret: str
|
|
33
|
+
def __init__(self, webservice_url: _Optional[str] = ..., rmi_host: _Optional[_Iterable[str]] = ..., rmi_port: _Optional[int] = ..., app_guid: _Optional[str] = ..., username: _Optional[str] = ..., secret_type: _Optional[_Union[SapioUserSecretTypePbo, str]] = ..., secret: _Optional[str] = ...) -> None: ...
|
|
@@ -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.76.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
|
+
+ ' but the generated code in sapiopycommons/ai/protoapi/session/sapio_conn_info_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
|
+
)
|