sapiopycommons 2025.4.22a490__py3-none-any.whl → 2025.4.23a491__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 (21) hide show
  1. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.py +123 -0
  2. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2.pyi +598 -0
  3. sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def_pb2_grpc.py +24 -0
  4. sapiopycommons/ai/api/plan/proto/step_output_pb2.py +3 -3
  5. sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py +2 -2
  6. sapiopycommons/ai/api/plan/proto/step_pb2.py +3 -3
  7. sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py +2 -2
  8. sapiopycommons/ai/api/plan/script/proto/script_pb2.py +14 -12
  9. sapiopycommons/ai/api/plan/script/proto/script_pb2.pyi +33 -7
  10. sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py +2 -2
  11. sapiopycommons/ai/api/plan/tool/proto/entry_pb2.py +10 -10
  12. sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py +2 -2
  13. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.py +33 -21
  14. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.pyi +134 -6
  15. sapiopycommons/ai/api/plan/tool/proto/tool_pb2_grpc.py +2 -2
  16. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.py +3 -3
  17. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2_grpc.py +2 -2
  18. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.23a491.dist-info}/METADATA +1 -1
  19. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.23a491.dist-info}/RECORD +21 -18
  20. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.23a491.dist-info}/WHEEL +0 -0
  21. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.23a491.dist-info}/licenses/LICENSE +0 -0
@@ -4,7 +4,7 @@ import grpc
4
4
  import warnings
5
5
 
6
6
 
7
- GRPC_GENERATED_VERSION = '1.71.0'
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
8
  GRPC_VERSION = grpc.__version__
9
9
  _version_not_supported = False
10
10
 
@@ -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 com/velox/api/plan/proto/step_output_pb2_grpc.py depends on'
20
+ + f' but the generated code in sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py depends on'
21
21
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
22
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
23
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: com/velox/api/plan/proto/step.proto
4
+ # source: sapiopycommons/ai/api/plan/proto/step.proto
5
5
  # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
@@ -15,7 +15,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
15
15
  29,
16
16
  0,
17
17
  '',
18
- 'com/velox/api/plan/proto/step.proto'
18
+ 'sapiopycommons/ai/api/plan/proto/step.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
21
21
 
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#com/velox/api/plan/proto/step.proto\"K\n\nStepIoInfo\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\"l\n\rStepIoDetails\x12!\n\x0cstep_io_info\x18\x01 \x01(\x0b\x32\x0b.StepIoInfo\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\"j\n\x10StepInputDetails\x12\'\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x0e.StepIoDetails\x12\x18\n\x10paging_supported\x18\x02 \x01(\x08\x12\x13\n\x0bmax_entries\x18\x03 \x01(\x05\"<\n\x11StepOutputDetails\x12\'\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x0e.StepIoDetailsB\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#sapiopycommons/ai/api/plan/proto/step.proto\"K\n\nStepIoInfo\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\"l\n\rStepIoDetails\x12!\n\x0cstep_io_info\x18\x01 \x01(\x0b\x32\x0b.StepIoInfo\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\"j\n\x10StepInputDetails\x12\'\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x0e.StepIoDetails\x12\x18\n\x10paging_supported\x18\x02 \x01(\x08\x12\x13\n\x0bmax_entries\x18\x03 \x01(\x05\"<\n\x11StepOutputDetails\x12\'\n\x0fstep_io_details\x18\x01 \x01(\x0b\x32\x0e.StepIoDetailsB\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -4,7 +4,7 @@ import grpc
4
4
  import warnings
5
5
 
6
6
 
7
- GRPC_GENERATED_VERSION = '1.71.0'
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
8
  GRPC_VERSION = grpc.__version__
9
9
  _version_not_supported = False
10
10
 
@@ -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 com/velox/api/plan/proto/step_pb2_grpc.py depends on'
20
+ + f' but the generated code in sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py depends on'
21
21
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
22
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
23
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: com/velox/api/plan/script/proto/script.proto
4
+ # source: sapiopycommons/ai/api/plan/script/proto/script.proto
5
5
  # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
@@ -15,7 +15,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
15
15
  29,
16
16
  0,
17
17
  '',
18
- 'com/velox/api/plan/script/proto/script.proto'
18
+ 'sapiopycommons/ai/api/plan/script/proto/script.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
21
21
 
@@ -30,7 +30,7 @@ from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import *
30
30
  from sapiopycommons.ai.api.plan.proto.step_pb2 import *
31
31
  from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import *
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,com/velox/api/plan/script/proto/script.proto\x1a)com/velox/api/plan/tool/proto/entry.proto\x1a#com/velox/api/plan/proto/step.proto\x1a\x31\x63om/velox/api/session/proto/sapio_conn_info.proto\"\x99\x02\n\x16\x43reateScriptJobRequest\x12(\n\nsapio_user\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\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\x0b.StepIoInfo\x12#\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0b.StepIoInfo\x12(\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x13.StepEntryInputData\")\n\x17\x43reateScriptJobResponse\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"\x1f\n\rGetJobRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"I\n\x0eGetJobResponse\x12\x0c\n\x03log\x18\xfe\x0f \x03(\t\x12)\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x14.StepEntryOutputData2\x80\x01\n\rScriptService\x12\x44\n\x0f\x43reateScriptJob\x12\x17.CreateScriptJobRequest\x1a\x18.CreateScriptJobResponse\x12)\n\x06GetJob\x12\x0e.GetJobRequest\x1a\x0f.GetJobResponseB!\n\x1f\x63om.velox.api.plan.script.protoP\x00P\x01P\x02\x62\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,sapiopycommons/ai/api/plan/script/proto/script.proto\x1a)sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a#sapiopycommons/ai/api/plan/proto/step.proto\x1a\x31\x63om/velox/api/session/proto/sapio_conn_info.proto\"\xf0\x02\n\x16\x43reateScriptJobRequest\x12(\n\nsapio_user\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\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\x0b.StepIoInfo\x12#\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0b.StepIoInfo\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\nentry_data\x18\xff\x0f \x03(\x0b\x32\x13.StepEntryInputData\")\n\x17\x43reateScriptJobResponse\x12\x0e\n\x06job_id\x18\x01 \x01(\t\"3\n\rGetJobRequest\x12\x0e\n\x06job_id\x18\x01 \x01(\t\x12\x12\n\nlog_offset\x18\x02 \x01(\x05\"w\n\x0eGetJobResponse\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\nentry_data\x18\xff\x0f \x03(\x0b\x32\x14.StepEntryOutputData*@\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\x80\x01\n\rScriptService\x12\x44\n\x0f\x43reateScriptJob\x12\x17.CreateScriptJobRequest\x1a\x18.CreateScriptJobResponse\x12)\n\x06GetJob\x12\x0e.GetJobRequest\x1a\x0f.GetJobResponseB!\n\x1f\x63om.velox.api.plan.script.protoP\x00P\x01P\x02\x62\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -38,14 +38,16 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.
38
38
  if not _descriptor._USE_C_DESCRIPTORS:
39
39
  _globals['DESCRIPTOR']._loaded_options = None
40
40
  _globals['DESCRIPTOR']._serialized_options = b'\n\037sapiopycommons.ai.api.plan.script.proto'
41
+ _globals['_JOBSTATUS']._serialized_start=767
42
+ _globals['_JOBSTATUS']._serialized_end=831
41
43
  _globals['_CREATESCRIPTJOBREQUEST']._serialized_start=180
42
- _globals['_CREATESCRIPTJOBREQUEST']._serialized_end=461
43
- _globals['_CREATESCRIPTJOBRESPONSE']._serialized_start=463
44
- _globals['_CREATESCRIPTJOBRESPONSE']._serialized_end=504
45
- _globals['_GETJOBREQUEST']._serialized_start=506
46
- _globals['_GETJOBREQUEST']._serialized_end=537
47
- _globals['_GETJOBRESPONSE']._serialized_start=539
48
- _globals['_GETJOBRESPONSE']._serialized_end=612
49
- _globals['_SCRIPTSERVICE']._serialized_start=615
50
- _globals['_SCRIPTSERVICE']._serialized_end=743
44
+ _globals['_CREATESCRIPTJOBREQUEST']._serialized_end=548
45
+ _globals['_CREATESCRIPTJOBRESPONSE']._serialized_start=550
46
+ _globals['_CREATESCRIPTJOBRESPONSE']._serialized_end=591
47
+ _globals['_GETJOBREQUEST']._serialized_start=593
48
+ _globals['_GETJOBREQUEST']._serialized_end=644
49
+ _globals['_GETJOBRESPONSE']._serialized_start=646
50
+ _globals['_GETJOBRESPONSE']._serialized_end=765
51
+ _globals['_SCRIPTSERVICE']._serialized_start=834
52
+ _globals['_SCRIPTSERVICE']._serialized_end=962
51
53
  # @@protoc_insertion_point(module_scope)
@@ -2,6 +2,7 @@ from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as _entry_pb2
2
2
  from sapiopycommons.ai.api.plan.proto import step_pb2 as _step_pb2
3
3
  from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as _sapio_conn_info_pb2
4
4
  from google.protobuf.internal import containers as _containers
5
+ from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
5
6
  from google.protobuf import descriptor as _descriptor
6
7
  from google.protobuf import message as _message
7
8
  from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
@@ -32,8 +33,19 @@ IMAGE: _entry_pb2.DataType
32
33
  SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretType
33
34
  PASSWORD: _sapio_conn_info_pb2.SapioUserSecretType
34
35
 
36
+ class JobStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
37
+ __slots__ = ()
38
+ PENDING: _ClassVar[JobStatus]
39
+ RUNNING: _ClassVar[JobStatus]
40
+ COMPLETED: _ClassVar[JobStatus]
41
+ FAILED: _ClassVar[JobStatus]
42
+ PENDING: JobStatus
43
+ RUNNING: JobStatus
44
+ COMPLETED: JobStatus
45
+ FAILED: JobStatus
46
+
35
47
  class CreateScriptJobRequest(_message.Message):
36
- __slots__ = ("sapio_user", "script_language", "plan_instance_id", "step_instance_id", "invocation_id", "input_configs", "output_configs", "entry_data")
48
+ __slots__ = ("sapio_user", "script_language", "plan_instance_id", "step_instance_id", "invocation_id", "input_configs", "output_configs", "script", "timeout", "max_memory_mb", "working_directory", "entry_data")
37
49
  SAPIO_USER_FIELD_NUMBER: _ClassVar[int]
38
50
  SCRIPT_LANGUAGE_FIELD_NUMBER: _ClassVar[int]
39
51
  PLAN_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
@@ -41,6 +53,10 @@ class CreateScriptJobRequest(_message.Message):
41
53
  INVOCATION_ID_FIELD_NUMBER: _ClassVar[int]
42
54
  INPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
43
55
  OUTPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
56
+ SCRIPT_FIELD_NUMBER: _ClassVar[int]
57
+ TIMEOUT_FIELD_NUMBER: _ClassVar[int]
58
+ MAX_MEMORY_MB_FIELD_NUMBER: _ClassVar[int]
59
+ WORKING_DIRECTORY_FIELD_NUMBER: _ClassVar[int]
44
60
  ENTRY_DATA_FIELD_NUMBER: _ClassVar[int]
45
61
  sapio_user: _sapio_conn_info_pb2.SapioConnectionInfo
46
62
  script_language: str
@@ -49,8 +65,12 @@ class CreateScriptJobRequest(_message.Message):
49
65
  invocation_id: int
50
66
  input_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfo]
51
67
  output_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfo]
68
+ script: str
69
+ timeout: int
70
+ max_memory_mb: int
71
+ working_directory: str
52
72
  entry_data: _containers.RepeatedCompositeFieldContainer[_entry_pb2.StepEntryInputData]
53
- def __init__(self, sapio_user: _Optional[_Union[_sapio_conn_info_pb2.SapioConnectionInfo, _Mapping]] = ..., script_language: _Optional[str] = ..., plan_instance_id: _Optional[int] = ..., step_instance_id: _Optional[int] = ..., invocation_id: _Optional[int] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryInputData, _Mapping]]] = ...) -> None: ...
73
+ def __init__(self, sapio_user: _Optional[_Union[_sapio_conn_info_pb2.SapioConnectionInfo, _Mapping]] = ..., script_language: _Optional[str] = ..., plan_instance_id: _Optional[int] = ..., step_instance_id: _Optional[int] = ..., invocation_id: _Optional[int] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., script: _Optional[str] = ..., timeout: _Optional[int] = ..., max_memory_mb: _Optional[int] = ..., working_directory: _Optional[str] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryInputData, _Mapping]]] = ...) -> None: ...
54
74
 
55
75
  class CreateScriptJobResponse(_message.Message):
56
76
  __slots__ = ("job_id",)
@@ -59,15 +79,21 @@ class CreateScriptJobResponse(_message.Message):
59
79
  def __init__(self, job_id: _Optional[str] = ...) -> None: ...
60
80
 
61
81
  class GetJobRequest(_message.Message):
62
- __slots__ = ("job_id",)
82
+ __slots__ = ("job_id", "log_offset")
63
83
  JOB_ID_FIELD_NUMBER: _ClassVar[int]
84
+ LOG_OFFSET_FIELD_NUMBER: _ClassVar[int]
64
85
  job_id: str
65
- def __init__(self, job_id: _Optional[str] = ...) -> None: ...
86
+ log_offset: int
87
+ def __init__(self, job_id: _Optional[str] = ..., log_offset: _Optional[int] = ...) -> None: ...
66
88
 
67
89
  class GetJobResponse(_message.Message):
68
- __slots__ = ("log", "entry_data")
90
+ __slots__ = ("status", "log", "exception", "entry_data")
91
+ STATUS_FIELD_NUMBER: _ClassVar[int]
69
92
  LOG_FIELD_NUMBER: _ClassVar[int]
93
+ EXCEPTION_FIELD_NUMBER: _ClassVar[int]
70
94
  ENTRY_DATA_FIELD_NUMBER: _ClassVar[int]
71
- log: _containers.RepeatedScalarFieldContainer[str]
95
+ status: JobStatus
96
+ log: str
97
+ exception: str
72
98
  entry_data: _containers.RepeatedCompositeFieldContainer[_entry_pb2.StepEntryOutputData]
73
- def __init__(self, log: _Optional[_Iterable[str]] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryOutputData, _Mapping]]] = ...) -> None: ...
99
+ def __init__(self, status: _Optional[_Union[JobStatus, str]] = ..., log: _Optional[str] = ..., exception: _Optional[str] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryOutputData, _Mapping]]] = ...) -> None: ...
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from sapiopycommons.ai.api.plan.script.proto import script_pb2 as com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.71.0'
8
+ GRPC_GENERATED_VERSION = '1.70.0'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -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 com/velox/api/plan/script/proto/script_pb2_grpc.py depends on'
21
+ + f' but the generated code in sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py depends on'
22
22
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
23
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
24
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: com/velox/api/plan/tool/proto/entry.proto
4
+ # source: sapiopycommons/ai/api/plan/tool/proto/entry.proto
5
5
  # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
@@ -15,7 +15,7 @@ _runtime_version.ValidateProtobufRuntimeVersion(
15
15
  29,
16
16
  0,
17
17
  '',
18
- 'com/velox/api/plan/tool/proto/entry.proto'
18
+ 'sapiopycommons/ai/api/plan/tool/proto/entry.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
21
21
 
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
 
26
26
 
27
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)com/velox/api/plan/tool/proto/entry.proto\"!\n\x10StepCsvHeaderRow\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"\x1b\n\nStepCsvRow\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"N\n\x0bStepCsvData\x12!\n\x06header\x18\x0e \x01(\x0b\x32\x11.StepCsvHeaderRow\x12\x1c\n\x07\x65ntries\x18\x0f \x03(\x0b\x32\x0b.StepCsvRow\"\x1f\n\x0cStepJsonData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\t\"\x1f\n\x0cStepTextData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\t\"!\n\x0eStepBinaryData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\x0c\"6\n\rStepImageData\x12\x14\n\x0cimage_format\x18\x01 \x01(\t\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\x0c\"\xf2\x01\n\rStepEntryData\x12\x1b\n\x08\x64\x61taType\x18\x01 \x01(\x0e\x32\t.DataType\x12\'\n\x0b\x62inary_data\x18\xff\x0f \x01(\x0b\x32\x0f.StepBinaryDataH\x00\x12!\n\x08\x63sv_data\x18\xfe\x0f \x01(\x0b\x32\x0c.StepCsvDataH\x00\x12#\n\tjson_data\x18\xfd\x0f \x01(\x0b\x32\r.StepJsonDataH\x00\x12#\n\ttext_data\x18\xfc\x0f \x01(\x0b\x32\r.StepTextDataH\x00\x12&\n\nimage_data\x18\xfb\x0f \x01(\x0b\x32\x0f.StepBinaryDataH\x00\x42\x06\n\x04\x64\x61ta\"L\n\x12StepEntryInputData\x12\x12\n\nis_partial\x18\x02 \x01(\x08\x12\"\n\nentry_data\x18\x01 \x01(\x0b\x32\x0e.StepEntryData\"9\n\x13StepEntryOutputData\x12\"\n\nentry_data\x18\x01 \x01(\x0b\x32\x0e.StepEntryData*>\n\x08\x44\x61taType\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.tool.protoP\x01\x62\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)sapiopycommons/ai/api/plan/tool/proto/entry.proto\"!\n\x10StepCsvHeaderRow\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"\x1b\n\nStepCsvRow\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"N\n\x0bStepCsvData\x12!\n\x06header\x18\x0e \x01(\x0b\x32\x11.StepCsvHeaderRow\x12\x1c\n\x07\x65ntries\x18\x0f \x03(\x0b\x32\x0b.StepCsvRow\"\x1f\n\x0cStepJsonData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\t\"\x1f\n\x0cStepTextData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\t\"!\n\x0eStepBinaryData\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\x0c\"6\n\rStepImageData\x12\x14\n\x0cimage_format\x18\x01 \x01(\t\x12\x0f\n\x07\x65ntries\x18\x0f \x03(\x0c\"\xf1\x01\n\rStepEntryData\x12\x1b\n\x08\x64\x61taType\x18\x01 \x01(\x0e\x32\t.DataType\x12\'\n\x0b\x62inary_data\x18\xff\x0f \x01(\x0b\x32\x0f.StepBinaryDataH\x00\x12!\n\x08\x63sv_data\x18\xfe\x0f \x01(\x0b\x32\x0c.StepCsvDataH\x00\x12#\n\tjson_data\x18\xfd\x0f \x01(\x0b\x32\r.StepJsonDataH\x00\x12#\n\ttext_data\x18\xfc\x0f \x01(\x0b\x32\r.StepTextDataH\x00\x12%\n\nimage_data\x18\xfb\x0f \x01(\x0b\x32\x0e.StepImageDataH\x00\x42\x06\n\x04\x64\x61ta\"L\n\x12StepEntryInputData\x12\x12\n\nis_partial\x18\x02 \x01(\x08\x12\"\n\nentry_data\x18\x01 \x01(\x0b\x32\x0e.StepEntryData\"9\n\x13StepEntryOutputData\x12\"\n\nentry_data\x18\x01 \x01(\x0b\x32\x0e.StepEntryData*>\n\x08\x44\x61taType\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.tool.protoP\x01\x62\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -32,8 +32,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.
32
32
  if not _descriptor._USE_C_DESCRIPTORS:
33
33
  _globals['DESCRIPTOR']._loaded_options = None
34
34
  _globals['DESCRIPTOR']._serialized_options = b'\n\035sapiopycommons.ai.api.plan.tool.protoP\001'
35
- _globals['_DATATYPE']._serialized_start=728
36
- _globals['_DATATYPE']._serialized_end=790
35
+ _globals['_DATATYPE']._serialized_start=727
36
+ _globals['_DATATYPE']._serialized_end=789
37
37
  _globals['_STEPCSVHEADERROW']._serialized_start=45
38
38
  _globals['_STEPCSVHEADERROW']._serialized_end=78
39
39
  _globals['_STEPCSVROW']._serialized_start=80
@@ -49,9 +49,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
49
49
  _globals['_STEPIMAGEDATA']._serialized_start=290
50
50
  _globals['_STEPIMAGEDATA']._serialized_end=344
51
51
  _globals['_STEPENTRYDATA']._serialized_start=347
52
- _globals['_STEPENTRYDATA']._serialized_end=589
53
- _globals['_STEPENTRYINPUTDATA']._serialized_start=591
54
- _globals['_STEPENTRYINPUTDATA']._serialized_end=667
55
- _globals['_STEPENTRYOUTPUTDATA']._serialized_start=669
56
- _globals['_STEPENTRYOUTPUTDATA']._serialized_end=726
52
+ _globals['_STEPENTRYDATA']._serialized_end=588
53
+ _globals['_STEPENTRYINPUTDATA']._serialized_start=590
54
+ _globals['_STEPENTRYINPUTDATA']._serialized_end=666
55
+ _globals['_STEPENTRYOUTPUTDATA']._serialized_start=668
56
+ _globals['_STEPENTRYOUTPUTDATA']._serialized_end=725
57
57
  # @@protoc_insertion_point(module_scope)
@@ -4,7 +4,7 @@ import grpc
4
4
  import warnings
5
5
 
6
6
 
7
- GRPC_GENERATED_VERSION = '1.71.0'
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
8
  GRPC_VERSION = grpc.__version__
9
9
  _version_not_supported = False
10
10
 
@@ -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 com/velox/api/plan/tool/proto/entry_pb2_grpc.py depends on'
20
+ + f' but the generated code in sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py depends on'
21
21
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
22
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
23
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
3
3
  # NO CHECKED-IN PROTOBUF GENCODE
4
- # source: com/velox/api/plan/tool/proto/tool.proto
4
+ # source: sapiopycommons/ai/api/plan/tool/proto/tool.proto
5
5
  # Protobuf Python Version: 5.29.0
6
6
  """Generated protocol buffer code."""
7
7
  from google.protobuf import descriptor as _descriptor
@@ -15,22 +15,24 @@ _runtime_version.ValidateProtobufRuntimeVersion(
15
15
  29,
16
16
  0,
17
17
  '',
18
- 'com/velox/api/plan/tool/proto/tool.proto'
18
+ 'sapiopycommons/ai/api/plan/tool/proto/tool.proto'
19
19
  )
20
20
  # @@protoc_insertion_point(imports)
21
21
 
22
22
  _sym_db = _symbol_database.Default()
23
23
 
24
24
 
25
+ from sapiopycommons.ai.api.fielddefinitions.proto import velox_field_def_pb2 as com_dot_velox_dot_api_dot_fielddefinitions_dot_proto_dot_velox__field__def__pb2
25
26
  from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as com_dot_velox_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
26
27
  from sapiopycommons.ai.api.plan.proto import step_pb2 as com_dot_velox_dot_api_dot_plan_dot_proto_dot_step__pb2
27
28
  from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as com_dot_velox_dot_api_dot_session_dot_proto_dot_sapio__conn__info__pb2
28
29
 
30
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import *
29
31
  from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import *
30
32
  from sapiopycommons.ai.api.plan.proto.step_pb2 import *
31
33
  from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import *
32
34
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(com/velox/api/plan/tool/proto/tool.proto\x1a)com/velox/api/plan/tool/proto/entry.proto\x1a#com/velox/api/plan/proto/step.proto\x1a\x31\x63om/velox/api/session/proto/sapio_conn_info.proto\"\x8f\x02\n\x12ProcessStepRequest\x12(\n\nsapio_user\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\x18\n\x10plan_instance_id\x18\x03 \x01(\x03\x12\x18\n\x10step_instance_id\x18\x04 \x01(\x03\x12\x15\n\rinvocation_id\x18\x05 \x01(\x03\x12\"\n\rinput_configs\x18\x06 \x03(\x0b\x32\x0b.StepIoInfo\x12#\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0b.StepIoInfo\x12(\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x13.StepEntryInputData\"q\n\x13ProcessStepResponse\x12!\n\x0bnew_records\x18\xfd\x0f \x03(\x0b\x32\x0b.StepRecord\x12\x0c\n\x03log\x18\xfe\x0f \x03(\t\x12)\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x14.StepEntryOutputData\"C\n\x12ToolDetailsRequest\x12-\n\x0fsapio_conn_info\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\"z\n\x14StepRecordFieldValue\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\"{\n\nStepRecord\x12\'\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x17.StepRecord.FieldsEntry\x1a\x44\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.StepRecordFieldValue:\x02\x38\x01\"\x7f\n\x0bToolDetails\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12%\n\rinput_configs\x18\x04 \x03(\x0b\x32\x0e.StepIoDetails\x12&\n\x0eoutput_configs\x18\x05 \x03(\x0b\x32\x0e.StepIoDetails\"Y\n\x13ToolDetailsResponse\x12\x1e\n\x16tool_framework_version\x18\x01 \x01(\x05\x12\"\n\x0ctool_details\x18\x02 \x03(\x0b\x32\x0c.ToolDetails2\x84\x01\n\x0bToolService\x12;\n\x0eGetToolDetails\x12\x13.ToolDetailsRequest\x1a\x14.ToolDetailsResponse\x12\x38\n\x0bProcessData\x12\x13.ProcessStepRequest\x1a\x14.ProcessStepResponseB!\n\x1d\x63om.velox.api.plan.tool.protoP\x01P\x00P\x01P\x02\x62\x06proto3')
35
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(sapiopycommons/ai/api/plan/tool/proto/tool.proto\x1a:sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def.proto\x1a)sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a#sapiopycommons/ai/api/plan/proto/step.proto\x1a\x31\x63om/velox/api/session/proto/sapio_conn_info.proto\"w\n\x10ToolIoConfigBase\x12\x14\n\x0c\x63ontent_type\x18\x01 \x01(\t\x12\x11\n\tio_number\x18\x02 \x01(\x05\x12\x14\n\x0c\x64isplay_name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x0f\n\x07\x65xample\x18\x05 \x01(\t\"\xd3\x02\n\x10ToolInputDetails\x12&\n\x0b\x62\x61se_config\x18\x01 \x01(\x0b\x32\x11.ToolIoConfigBase\x12\x12\n\nvalidation\x18\x02 \x01(\t\x12\x1c\n\x0fmin_input_count\x18\x03 \x01(\x05H\x00\x88\x01\x01\x12\x1c\n\x0fmax_input_count\x18\x04 \x01(\x05H\x01\x88\x01\x01\x12\r\n\x05paged\x18\x05 \x01(\x08\x12\x1a\n\rmin_page_size\x18\x06 \x01(\x05H\x02\x88\x01\x01\x12\x1a\n\rmax_page_size\x18\x07 \x01(\x05H\x03\x88\x01\x01\x12\x1e\n\x11max_request_bytes\x18\x08 \x01(\x05H\x04\x88\x01\x01\x42\x12\n\x10_min_input_countB\x12\n\x10_max_input_countB\x10\n\x0e_min_page_sizeB\x10\n\x0e_max_page_sizeB\x14\n\x12_max_request_bytes\";\n\x11ToolOutputDetails\x12&\n\x0b\x62\x61se_config\x18\x01 \x01(\x0b\x32\x11.ToolIoConfigBase\"\xa9\x03\n\x12ProcessStepRequest\x12(\n\nsapio_user\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\x12\x11\n\ttool_name\x18\x02 \x01(\t\x12\x18\n\x10plan_instance_id\x18\x03 \x01(\x03\x12\x18\n\x10step_instance_id\x18\x04 \x01(\x03\x12\x15\n\rinvocation_id\x18\x05 \x01(\x03\x12\"\n\rinput_configs\x18\x06 \x03(\x0b\x32\x0b.StepIoInfo\x12#\n\x0eoutput_configs\x18\x07 \x03(\x0b\x32\x0b.StepIoInfo\x12G\n\x13\x63onfig_field_values\x18\x08 \x03(\x0b\x32*.ProcessStepRequest.ConfigFieldValuesEntry\x12(\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x13.StepEntryInputData\x1aO\n\x16\x43onfigFieldValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.StepRecordFieldValue:\x02\x38\x01\"q\n\x13ProcessStepResponse\x12!\n\x0bnew_records\x18\xfd\x0f \x03(\x0b\x32\x0b.StepRecord\x12\x0c\n\x03log\x18\xfe\x0f \x03(\t\x12)\n\nentry_data\x18\xff\x0f \x03(\x0b\x32\x14.StepEntryOutputData\"C\n\x12ToolDetailsRequest\x12-\n\x0fsapio_conn_info\x18\x01 \x01(\x0b\x32\x14.SapioConnectionInfo\"z\n\x14StepRecordFieldValue\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\"{\n\nStepRecord\x12\'\n\x06\x66ields\x18\x01 \x03(\x0b\x32\x17.StepRecord.FieldsEntry\x1a\x44\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12$\n\x05value\x18\x02 \x01(\x0b\x32\x15.StepRecordFieldValue:\x02\x38\x01\"\xd1\x01\n\x0bToolDetails\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1d\n\x15output_data_type_name\x18\x04 \x01(\t\x12(\n\rinput_configs\x18\x05 \x03(\x0b\x32\x11.ToolInputDetails\x12*\n\x0eoutput_configs\x18\x06 \x03(\x0b\x32\x12.ToolOutputDetails\x12*\n\rconfig_fields\x18\x07 \x03(\x0b\x32\x13.VeloxFieldDefProto\"Y\n\x13ToolDetailsResponse\x12\x1e\n\x16tool_framework_version\x18\x01 \x01(\x05\x12\"\n\x0ctool_details\x18\x02 \x03(\x0b\x32\x0c.ToolDetails2\x84\x01\n\x0bToolService\x12;\n\x0eGetToolDetails\x12\x13.ToolDetailsRequest\x1a\x14.ToolDetailsResponse\x12\x38\n\x0bProcessData\x12\x13.ProcessStepRequest\x1a\x14.ProcessStepResponseB!\n\x1d\x63om.velox.api.plan.tool.protoP\x01P\x00P\x01P\x02P\x03\x62\x06proto3')
34
36
 
35
37
  _globals = globals()
36
38
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -38,24 +40,34 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sapiopycommons.ai.api.plan.
38
40
  if not _descriptor._USE_C_DESCRIPTORS:
39
41
  _globals['DESCRIPTOR']._loaded_options = None
40
42
  _globals['DESCRIPTOR']._serialized_options = b'\n\035sapiopycommons.ai.api.plan.tool.protoP\001'
43
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._loaded_options = None
44
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._serialized_options = b'8\001'
41
45
  _globals['_STEPRECORD_FIELDSENTRY']._loaded_options = None
42
46
  _globals['_STEPRECORD_FIELDSENTRY']._serialized_options = b'8\001'
43
- _globals['_PROCESSSTEPREQUEST']._serialized_start=176
44
- _globals['_PROCESSSTEPREQUEST']._serialized_end=447
45
- _globals['_PROCESSSTEPRESPONSE']._serialized_start=449
46
- _globals['_PROCESSSTEPRESPONSE']._serialized_end=562
47
- _globals['_TOOLDETAILSREQUEST']._serialized_start=564
48
- _globals['_TOOLDETAILSREQUEST']._serialized_end=631
49
- _globals['_STEPRECORDFIELDVALUE']._serialized_start=633
50
- _globals['_STEPRECORDFIELDVALUE']._serialized_end=755
51
- _globals['_STEPRECORD']._serialized_start=757
52
- _globals['_STEPRECORD']._serialized_end=880
53
- _globals['_STEPRECORD_FIELDSENTRY']._serialized_start=812
54
- _globals['_STEPRECORD_FIELDSENTRY']._serialized_end=880
55
- _globals['_TOOLDETAILS']._serialized_start=882
56
- _globals['_TOOLDETAILS']._serialized_end=1009
57
- _globals['_TOOLDETAILSRESPONSE']._serialized_start=1011
58
- _globals['_TOOLDETAILSRESPONSE']._serialized_end=1100
59
- _globals['_TOOLSERVICE']._serialized_start=1103
60
- _globals['_TOOLSERVICE']._serialized_end=1235
47
+ _globals['_TOOLIOCONFIGBASE']._serialized_start=235
48
+ _globals['_TOOLIOCONFIGBASE']._serialized_end=354
49
+ _globals['_TOOLINPUTDETAILS']._serialized_start=357
50
+ _globals['_TOOLINPUTDETAILS']._serialized_end=696
51
+ _globals['_TOOLOUTPUTDETAILS']._serialized_start=698
52
+ _globals['_TOOLOUTPUTDETAILS']._serialized_end=757
53
+ _globals['_PROCESSSTEPREQUEST']._serialized_start=760
54
+ _globals['_PROCESSSTEPREQUEST']._serialized_end=1185
55
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._serialized_start=1106
56
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._serialized_end=1185
57
+ _globals['_PROCESSSTEPRESPONSE']._serialized_start=1187
58
+ _globals['_PROCESSSTEPRESPONSE']._serialized_end=1300
59
+ _globals['_TOOLDETAILSREQUEST']._serialized_start=1302
60
+ _globals['_TOOLDETAILSREQUEST']._serialized_end=1369
61
+ _globals['_STEPRECORDFIELDVALUE']._serialized_start=1371
62
+ _globals['_STEPRECORDFIELDVALUE']._serialized_end=1493
63
+ _globals['_STEPRECORD']._serialized_start=1495
64
+ _globals['_STEPRECORD']._serialized_end=1618
65
+ _globals['_STEPRECORD_FIELDSENTRY']._serialized_start=1550
66
+ _globals['_STEPRECORD_FIELDSENTRY']._serialized_end=1618
67
+ _globals['_TOOLDETAILS']._serialized_start=1621
68
+ _globals['_TOOLDETAILS']._serialized_end=1830
69
+ _globals['_TOOLDETAILSRESPONSE']._serialized_start=1832
70
+ _globals['_TOOLDETAILSRESPONSE']._serialized_end=1921
71
+ _globals['_TOOLSERVICE']._serialized_start=1924
72
+ _globals['_TOOLSERVICE']._serialized_end=2056
61
73
  # @@protoc_insertion_point(module_scope)
@@ -1,3 +1,4 @@
1
+ from sapiopycommons.ai.api.fielddefinitions.proto import velox_field_def_pb2 as _velox_field_def_pb2
1
2
  from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as _entry_pb2
2
3
  from sapiopycommons.ai.api.plan.proto import step_pb2 as _step_pb2
3
4
  from sapiopycommons.ai.api.session.proto import sapio_conn_info_pb2 as _sapio_conn_info_pb2
@@ -5,6 +6,40 @@ from google.protobuf.internal import containers as _containers
5
6
  from google.protobuf import descriptor as _descriptor
6
7
  from google.protobuf import message as _message
7
8
  from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
9
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import FieldValidatorProto as FieldValidatorProto
10
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ColorRangeProto as ColorRangeProto
11
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import BooleanDependentFieldEntry as BooleanDependentFieldEntry
12
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import SelectionDependentFieldEntry as SelectionDependentFieldEntry
13
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import EnumDependentFieldEntry as EnumDependentFieldEntry
14
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ProcessDetailEntry as ProcessDetailEntry
15
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import BooleanProperties as BooleanProperties
16
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import DateProperties as DateProperties
17
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import DoubleProperties as DoubleProperties
18
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import IntegerProperties as IntegerProperties
19
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import LongProperties as LongProperties
20
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ShortProperties as ShortProperties
21
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import SelectionProperties as SelectionProperties
22
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import StringProperties as StringProperties
23
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import SideLinkProperties as SideLinkProperties
24
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import PickListProperties as PickListProperties
25
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ParentLinkProperties as ParentLinkProperties
26
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import MultiParentProperties as MultiParentProperties
27
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import IdentifierProperties as IdentifierProperties
28
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import FileBlobProperties as FileBlobProperties
29
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import EnumProperties as EnumProperties
30
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import DateRangeProperties as DateRangeProperties
31
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ChildLinkProperties as ChildLinkProperties
32
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ActionStringProperties as ActionStringProperties
33
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import ActionProperties as ActionProperties
34
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import AccessionProperties as AccessionProperties
35
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import VeloxFieldDefProto as VeloxFieldDefProto
36
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import VeloxFieldDefProtoList as VeloxFieldDefProtoList
37
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import FieldTypeProto as FieldTypeProto
38
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import SortDirectionProto as SortDirectionProto
39
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import FontSizeProto as FontSizeProto
40
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import TextDecorationProto as TextDecorationProto
41
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import StringFormatProto as StringFormatProto
42
+ from sapiopycommons.ai.api.fielddefinitions.proto.velox_field_def_pb2 import DoubleFormatProto as DoubleFormatProto
8
43
  from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import StepCsvHeaderRow as StepCsvHeaderRow
9
44
  from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import StepCsvRow as StepCsvRow
10
45
  from sapiopycommons.ai.api.plan.tool.proto.entry_pb2 import StepCsvData as StepCsvData
@@ -24,6 +59,46 @@ from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioConnect
24
59
  from sapiopycommons.ai.api.session.proto.sapio_conn_info_pb2 import SapioUserSecretType as SapioUserSecretType
25
60
 
26
61
  DESCRIPTOR: _descriptor.FileDescriptor
62
+ FIELD_TYPE_UNSPECIFIED: _velox_field_def_pb2.FieldTypeProto
63
+ BOOLEAN: _velox_field_def_pb2.FieldTypeProto
64
+ DOUBLE: _velox_field_def_pb2.FieldTypeProto
65
+ ENUM: _velox_field_def_pb2.FieldTypeProto
66
+ LONG: _velox_field_def_pb2.FieldTypeProto
67
+ INTEGER: _velox_field_def_pb2.FieldTypeProto
68
+ SHORT: _velox_field_def_pb2.FieldTypeProto
69
+ STRING: _velox_field_def_pb2.FieldTypeProto
70
+ DATE: _velox_field_def_pb2.FieldTypeProto
71
+ ACTION: _velox_field_def_pb2.FieldTypeProto
72
+ SELECTION: _velox_field_def_pb2.FieldTypeProto
73
+ PARENTLINK: _velox_field_def_pb2.FieldTypeProto
74
+ IDENTIFIER: _velox_field_def_pb2.FieldTypeProto
75
+ PICKLIST: _velox_field_def_pb2.FieldTypeProto
76
+ LINK: _velox_field_def_pb2.FieldTypeProto
77
+ MULTIPARENTLINK: _velox_field_def_pb2.FieldTypeProto
78
+ CHILDLINK: _velox_field_def_pb2.FieldTypeProto
79
+ AUTO_ACCESSION: _velox_field_def_pb2.FieldTypeProto
80
+ DATE_RANGE: _velox_field_def_pb2.FieldTypeProto
81
+ SIDE_LINK: _velox_field_def_pb2.FieldTypeProto
82
+ ACTION_STRING: _velox_field_def_pb2.FieldTypeProto
83
+ FILE_BLOB: _velox_field_def_pb2.FieldTypeProto
84
+ SORT_DIRECTION_UNSPECIFIED: _velox_field_def_pb2.SortDirectionProto
85
+ SORT_DIRECTION_ASCENDING: _velox_field_def_pb2.SortDirectionProto
86
+ SORT_DIRECTION_DESCENDING: _velox_field_def_pb2.SortDirectionProto
87
+ SORT_DIRECTION_NONE: _velox_field_def_pb2.SortDirectionProto
88
+ FONT_SIZE_UNSPECIFIED: _velox_field_def_pb2.FontSizeProto
89
+ FONT_SIZE_SMALL: _velox_field_def_pb2.FontSizeProto
90
+ FONT_SIZE_MEDIUM: _velox_field_def_pb2.FontSizeProto
91
+ FONT_SIZE_LARGE: _velox_field_def_pb2.FontSizeProto
92
+ TEXT_DECORATION_UNSPECIFIED: _velox_field_def_pb2.TextDecorationProto
93
+ TEXT_DECORATION_NONE: _velox_field_def_pb2.TextDecorationProto
94
+ TEXT_DECORATION_UNDERLINE: _velox_field_def_pb2.TextDecorationProto
95
+ TEXT_DECORATION_STRIKETHROUGH: _velox_field_def_pb2.TextDecorationProto
96
+ STRING_FORMAT_UNSPECIFIED: _velox_field_def_pb2.StringFormatProto
97
+ STRING_FORMAT_PHONE: _velox_field_def_pb2.StringFormatProto
98
+ STRING_FORMAT_EMAIL: _velox_field_def_pb2.StringFormatProto
99
+ DOUBLE_FORMAT_UNSPECIFIED: _velox_field_def_pb2.DoubleFormatProto
100
+ DOUBLE_FORMAT_CURRENCY: _velox_field_def_pb2.DoubleFormatProto
101
+ DOUBLE_FORMAT_PERCENTAGE: _velox_field_def_pb2.DoubleFormatProto
27
102
  BINARY: _entry_pb2.DataType
28
103
  JSON: _entry_pb2.DataType
29
104
  CSV: _entry_pb2.DataType
@@ -32,8 +107,55 @@ IMAGE: _entry_pb2.DataType
32
107
  SESSION_TOKEN: _sapio_conn_info_pb2.SapioUserSecretType
33
108
  PASSWORD: _sapio_conn_info_pb2.SapioUserSecretType
34
109
 
110
+ class ToolIoConfigBase(_message.Message):
111
+ __slots__ = ("content_type", "io_number", "display_name", "description", "example")
112
+ CONTENT_TYPE_FIELD_NUMBER: _ClassVar[int]
113
+ IO_NUMBER_FIELD_NUMBER: _ClassVar[int]
114
+ DISPLAY_NAME_FIELD_NUMBER: _ClassVar[int]
115
+ DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
116
+ EXAMPLE_FIELD_NUMBER: _ClassVar[int]
117
+ content_type: str
118
+ io_number: int
119
+ display_name: str
120
+ description: str
121
+ example: str
122
+ def __init__(self, content_type: _Optional[str] = ..., io_number: _Optional[int] = ..., display_name: _Optional[str] = ..., description: _Optional[str] = ..., example: _Optional[str] = ...) -> None: ...
123
+
124
+ class ToolInputDetails(_message.Message):
125
+ __slots__ = ("base_config", "validation", "min_input_count", "max_input_count", "paged", "min_page_size", "max_page_size", "max_request_bytes")
126
+ BASE_CONFIG_FIELD_NUMBER: _ClassVar[int]
127
+ VALIDATION_FIELD_NUMBER: _ClassVar[int]
128
+ MIN_INPUT_COUNT_FIELD_NUMBER: _ClassVar[int]
129
+ MAX_INPUT_COUNT_FIELD_NUMBER: _ClassVar[int]
130
+ PAGED_FIELD_NUMBER: _ClassVar[int]
131
+ MIN_PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
132
+ MAX_PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
133
+ MAX_REQUEST_BYTES_FIELD_NUMBER: _ClassVar[int]
134
+ base_config: ToolIoConfigBase
135
+ validation: str
136
+ min_input_count: int
137
+ max_input_count: int
138
+ paged: bool
139
+ min_page_size: int
140
+ max_page_size: int
141
+ max_request_bytes: int
142
+ def __init__(self, base_config: _Optional[_Union[ToolIoConfigBase, _Mapping]] = ..., validation: _Optional[str] = ..., min_input_count: _Optional[int] = ..., max_input_count: _Optional[int] = ..., paged: bool = ..., min_page_size: _Optional[int] = ..., max_page_size: _Optional[int] = ..., max_request_bytes: _Optional[int] = ...) -> None: ...
143
+
144
+ class ToolOutputDetails(_message.Message):
145
+ __slots__ = ("base_config",)
146
+ BASE_CONFIG_FIELD_NUMBER: _ClassVar[int]
147
+ base_config: ToolIoConfigBase
148
+ def __init__(self, base_config: _Optional[_Union[ToolIoConfigBase, _Mapping]] = ...) -> None: ...
149
+
35
150
  class ProcessStepRequest(_message.Message):
36
- __slots__ = ("sapio_user", "tool_name", "plan_instance_id", "step_instance_id", "invocation_id", "input_configs", "output_configs", "entry_data")
151
+ __slots__ = ("sapio_user", "tool_name", "plan_instance_id", "step_instance_id", "invocation_id", "input_configs", "output_configs", "config_field_values", "entry_data")
152
+ class ConfigFieldValuesEntry(_message.Message):
153
+ __slots__ = ("key", "value")
154
+ KEY_FIELD_NUMBER: _ClassVar[int]
155
+ VALUE_FIELD_NUMBER: _ClassVar[int]
156
+ key: str
157
+ value: StepRecordFieldValue
158
+ def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[StepRecordFieldValue, _Mapping]] = ...) -> None: ...
37
159
  SAPIO_USER_FIELD_NUMBER: _ClassVar[int]
38
160
  TOOL_NAME_FIELD_NUMBER: _ClassVar[int]
39
161
  PLAN_INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
@@ -41,6 +163,7 @@ class ProcessStepRequest(_message.Message):
41
163
  INVOCATION_ID_FIELD_NUMBER: _ClassVar[int]
42
164
  INPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
43
165
  OUTPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
166
+ CONFIG_FIELD_VALUES_FIELD_NUMBER: _ClassVar[int]
44
167
  ENTRY_DATA_FIELD_NUMBER: _ClassVar[int]
45
168
  sapio_user: _sapio_conn_info_pb2.SapioConnectionInfo
46
169
  tool_name: str
@@ -49,8 +172,9 @@ class ProcessStepRequest(_message.Message):
49
172
  invocation_id: int
50
173
  input_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfo]
51
174
  output_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoInfo]
175
+ config_field_values: _containers.MessageMap[str, StepRecordFieldValue]
52
176
  entry_data: _containers.RepeatedCompositeFieldContainer[_entry_pb2.StepEntryInputData]
53
- def __init__(self, sapio_user: _Optional[_Union[_sapio_conn_info_pb2.SapioConnectionInfo, _Mapping]] = ..., tool_name: _Optional[str] = ..., plan_instance_id: _Optional[int] = ..., step_instance_id: _Optional[int] = ..., invocation_id: _Optional[int] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryInputData, _Mapping]]] = ...) -> None: ...
177
+ def __init__(self, sapio_user: _Optional[_Union[_sapio_conn_info_pb2.SapioConnectionInfo, _Mapping]] = ..., tool_name: _Optional[str] = ..., plan_instance_id: _Optional[int] = ..., step_instance_id: _Optional[int] = ..., invocation_id: _Optional[int] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoInfo, _Mapping]]] = ..., config_field_values: _Optional[_Mapping[str, StepRecordFieldValue]] = ..., entry_data: _Optional[_Iterable[_Union[_entry_pb2.StepEntryInputData, _Mapping]]] = ...) -> None: ...
54
178
 
55
179
  class ProcessStepResponse(_message.Message):
56
180
  __slots__ = ("new_records", "log", "entry_data")
@@ -94,16 +218,20 @@ class StepRecord(_message.Message):
94
218
  def __init__(self, fields: _Optional[_Mapping[str, StepRecordFieldValue]] = ...) -> None: ...
95
219
 
96
220
  class ToolDetails(_message.Message):
97
- __slots__ = ("name", "description", "input_configs", "output_configs")
221
+ __slots__ = ("name", "description", "output_data_type_name", "input_configs", "output_configs", "config_fields")
98
222
  NAME_FIELD_NUMBER: _ClassVar[int]
99
223
  DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
224
+ OUTPUT_DATA_TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
100
225
  INPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
101
226
  OUTPUT_CONFIGS_FIELD_NUMBER: _ClassVar[int]
227
+ CONFIG_FIELDS_FIELD_NUMBER: _ClassVar[int]
102
228
  name: str
103
229
  description: str
104
- input_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoDetails]
105
- output_configs: _containers.RepeatedCompositeFieldContainer[_step_pb2.StepIoDetails]
106
- def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., input_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoDetails, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[_step_pb2.StepIoDetails, _Mapping]]] = ...) -> None: ...
230
+ output_data_type_name: str
231
+ input_configs: _containers.RepeatedCompositeFieldContainer[ToolInputDetails]
232
+ output_configs: _containers.RepeatedCompositeFieldContainer[ToolOutputDetails]
233
+ config_fields: _containers.RepeatedCompositeFieldContainer[_velox_field_def_pb2.VeloxFieldDefProto]
234
+ def __init__(self, name: _Optional[str] = ..., description: _Optional[str] = ..., output_data_type_name: _Optional[str] = ..., input_configs: _Optional[_Iterable[_Union[ToolInputDetails, _Mapping]]] = ..., output_configs: _Optional[_Iterable[_Union[ToolOutputDetails, _Mapping]]] = ..., config_fields: _Optional[_Iterable[_Union[_velox_field_def_pb2.VeloxFieldDefProto, _Mapping]]] = ...) -> None: ...
107
235
 
108
236
  class ToolDetailsResponse(_message.Message):
109
237
  __slots__ = ("tool_framework_version", "tool_details")
@@ -5,7 +5,7 @@ import warnings
5
5
 
6
6
  from sapiopycommons.ai.api.plan.tool.proto import tool_pb2 as com_dot_velox_dot_api_dot_plan_dot_tool_dot_proto_dot_tool__pb2
7
7
 
8
- GRPC_GENERATED_VERSION = '1.71.0'
8
+ GRPC_GENERATED_VERSION = '1.70.0'
9
9
  GRPC_VERSION = grpc.__version__
10
10
  _version_not_supported = False
11
11
 
@@ -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 com/velox/api/plan/tool/proto/tool_pb2_grpc.py depends on'
21
+ + f' but the generated code in sapiopycommons/ai/api/plan/tool/proto/tool_pb2_grpc.py depends on'
22
22
  + f' grpcio>={GRPC_GENERATED_VERSION}.'
23
23
  + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
24
24
  + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'