sapiopycommons 2025.4.22a490__py3-none-any.whl → 2025.4.24a492__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 +13 -13
  5. sapiopycommons/ai/api/plan/proto/step_output_pb2_grpc.py +2 -2
  6. sapiopycommons/ai/api/plan/proto/step_pb2.py +11 -11
  7. sapiopycommons/ai/api/plan/proto/step_pb2_grpc.py +2 -2
  8. sapiopycommons/ai/api/plan/script/proto/script_pb2.py +18 -16
  9. sapiopycommons/ai/api/plan/script/proto/script_pb2.pyi +33 -7
  10. sapiopycommons/ai/api/plan/script/proto/script_pb2_grpc.py +15 -15
  11. sapiopycommons/ai/api/plan/tool/proto/entry_pb2.py +25 -25
  12. sapiopycommons/ai/api/plan/tool/proto/entry_pb2_grpc.py +2 -2
  13. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.py +36 -24
  14. sapiopycommons/ai/api/plan/tool/proto/tool_pb2.pyi +134 -6
  15. sapiopycommons/ai/api/plan/tool/proto/tool_pb2_grpc.py +15 -15
  16. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2.py +7 -7
  17. sapiopycommons/ai/api/session/proto/sapio_conn_info_pb2_grpc.py +2 -2
  18. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.24a492.dist-info}/METADATA +1 -1
  19. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.24a492.dist-info}/RECORD +21 -18
  20. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.24a492.dist-info}/WHEEL +0 -0
  21. {sapiopycommons-2025.4.22a490.dist-info → sapiopycommons-2025.4.24a492.dist-info}/licenses/LICENSE +0 -0
@@ -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_output.proto
4
+ # source: sapiopycommons/ai/api/plan/proto/step_output.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_output.proto'
18
+ 'sapiopycommons/ai/api/plan/proto/step_output.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_output.proto\"$\n\x13StepJsonOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\t\"$\n\x13StepTextOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\t\"#\n\x12StepCsvOutputEntry\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"&\n\x15StepBinaryOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\x0c\"\xd1\x01\n\x0fStepOutputEntry\x12+\n\x0bjson_output\x18\x01 \x01(\x0b\x32\x14.StepJsonOutputEntryH\x00\x12+\n\x0btext_output\x18\x02 \x01(\x0b\x32\x14.StepTextOutputEntryH\x00\x12)\n\ncsv_output\x18\x03 \x01(\x0b\x32\x13.StepCsvOutputEntryH\x00\x12/\n\rbinary_output\x18\x04 \x01(\x0b\x32\x16.StepBinaryOutputEntryH\x00\x42\x08\n\x06outputB\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2sapiopycommons/ai/api/plan/proto/step_output.proto\"$\n\x13StepJsonOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\t\"$\n\x13StepTextOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\t\"#\n\x12StepCsvOutputEntry\x12\r\n\x05\x63\x65lls\x18\x01 \x03(\t\"&\n\x15StepBinaryOutputEntry\x12\r\n\x05\x65ntry\x18\x01 \x01(\x0c\"\xd1\x01\n\x0fStepOutputEntry\x12+\n\x0bjson_output\x18\x01 \x01(\x0b\x32\x14.StepJsonOutputEntryH\x00\x12+\n\x0btext_output\x18\x02 \x01(\x0b\x32\x14.StepTextOutputEntryH\x00\x12)\n\ncsv_output\x18\x03 \x01(\x0b\x32\x13.StepCsvOutputEntryH\x00\x12/\n\rbinary_output\x18\x04 \x01(\x0b\x32\x16.StepBinaryOutputEntryH\x00\x42\x08\n\x06outputB\x1c\n\x18\x63om.velox.api.plan.protoP\x01\x62\x06proto3')
28
28
 
29
29
  _globals = globals()
30
30
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -32,14 +32,14 @@ _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\030sapiopycommons.ai.api.plan.protoP\001'
35
- _globals['_STEPJSONOUTPUTENTRY']._serialized_start=46
36
- _globals['_STEPJSONOUTPUTENTRY']._serialized_end=82
37
- _globals['_STEPTEXTOUTPUTENTRY']._serialized_start=84
38
- _globals['_STEPTEXTOUTPUTENTRY']._serialized_end=120
39
- _globals['_STEPCSVOUTPUTENTRY']._serialized_start=122
40
- _globals['_STEPCSVOUTPUTENTRY']._serialized_end=157
41
- _globals['_STEPBINARYOUTPUTENTRY']._serialized_start=159
42
- _globals['_STEPBINARYOUTPUTENTRY']._serialized_end=197
43
- _globals['_STEPOUTPUTENTRY']._serialized_start=200
44
- _globals['_STEPOUTPUTENTRY']._serialized_end=409
35
+ _globals['_STEPJSONOUTPUTENTRY']._serialized_start=54
36
+ _globals['_STEPJSONOUTPUTENTRY']._serialized_end=90
37
+ _globals['_STEPTEXTOUTPUTENTRY']._serialized_start=92
38
+ _globals['_STEPTEXTOUTPUTENTRY']._serialized_end=128
39
+ _globals['_STEPCSVOUTPUTENTRY']._serialized_start=130
40
+ _globals['_STEPCSVOUTPUTENTRY']._serialized_end=165
41
+ _globals['_STEPBINARYOUTPUTENTRY']._serialized_start=167
42
+ _globals['_STEPBINARYOUTPUTENTRY']._serialized_end=205
43
+ _globals['_STEPOUTPUTENTRY']._serialized_start=208
44
+ _globals['_STEPOUTPUTENTRY']._serialized_end=417
45
45
  # @@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/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)
@@ -32,12 +32,12 @@ _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\030sapiopycommons.ai.api.plan.protoP\001'
35
- _globals['_STEPIOINFO']._serialized_start=39
36
- _globals['_STEPIOINFO']._serialized_end=114
37
- _globals['_STEPIODETAILS']._serialized_start=116
38
- _globals['_STEPIODETAILS']._serialized_end=224
39
- _globals['_STEPINPUTDETAILS']._serialized_start=226
40
- _globals['_STEPINPUTDETAILS']._serialized_end=332
41
- _globals['_STEPOUTPUTDETAILS']._serialized_start=334
42
- _globals['_STEPOUTPUTDETAILS']._serialized_end=394
35
+ _globals['_STEPIOINFO']._serialized_start=47
36
+ _globals['_STEPIOINFO']._serialized_end=122
37
+ _globals['_STEPIODETAILS']._serialized_start=124
38
+ _globals['_STEPIODETAILS']._serialized_end=232
39
+ _globals['_STEPINPUTDETAILS']._serialized_start=234
40
+ _globals['_STEPINPUTDETAILS']._serialized_end=340
41
+ _globals['_STEPOUTPUTDETAILS']._serialized_start=342
42
+ _globals['_STEPOUTPUTDETAILS']._serialized_end=402
43
43
  # @@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/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,22 +15,22 @@ _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
 
22
22
  _sym_db = _symbol_database.Default()
23
23
 
24
24
 
25
- 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
- from sapiopycommons.ai.api.plan.proto import step_pb2 as com_dot_velox_dot_api_dot_plan_dot_proto_dot_step__pb2
27
- 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
25
+ from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
26
+ from sapiopycommons.ai.api.plan.proto import step_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_proto_dot_step__pb2
27
+ 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
28
28
 
29
29
  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'\n4sapiopycommons/ai/api/plan/script/proto/script.proto\x1a\x31sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a+sapiopycommons/ai/api/plan/proto/step.proto\x1a\x39sapiopycommons/ai/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['_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
41
+ _globals['_JOBSTATUS']._serialized_start=799
42
+ _globals['_JOBSTATUS']._serialized_end=863
43
+ _globals['_CREATESCRIPTJOBREQUEST']._serialized_start=212
44
+ _globals['_CREATESCRIPTJOBREQUEST']._serialized_end=580
45
+ _globals['_CREATESCRIPTJOBRESPONSE']._serialized_start=582
46
+ _globals['_CREATESCRIPTJOBRESPONSE']._serialized_end=623
47
+ _globals['_GETJOBREQUEST']._serialized_start=625
48
+ _globals['_GETJOBREQUEST']._serialized_end=676
49
+ _globals['_GETJOBRESPONSE']._serialized_start=678
50
+ _globals['_GETJOBRESPONSE']._serialized_end=797
51
+ _globals['_SCRIPTSERVICE']._serialized_start=866
52
+ _globals['_SCRIPTSERVICE']._serialized_end=994
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: ...
@@ -3,9 +3,9 @@
3
3
  import grpc
4
4
  import warnings
5
5
 
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
6
+ from sapiopycommons.ai.api.plan.script.proto import script_pb2 as sapiopycommons_dot_ai_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}.'
@@ -40,13 +40,13 @@ class ScriptServiceStub(object):
40
40
  """
41
41
  self.CreateScriptJob = channel.unary_unary(
42
42
  '/ScriptService/CreateScriptJob',
43
- request_serializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.SerializeToString,
44
- response_deserializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.FromString,
43
+ request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.SerializeToString,
44
+ response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.FromString,
45
45
  _registered_method=True)
46
46
  self.GetJob = channel.unary_unary(
47
47
  '/ScriptService/GetJob',
48
- request_serializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.SerializeToString,
49
- response_deserializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.FromString,
48
+ request_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.SerializeToString,
49
+ response_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.FromString,
50
50
  _registered_method=True)
51
51
 
52
52
 
@@ -75,13 +75,13 @@ def add_ScriptServiceServicer_to_server(servicer, server):
75
75
  rpc_method_handlers = {
76
76
  'CreateScriptJob': grpc.unary_unary_rpc_method_handler(
77
77
  servicer.CreateScriptJob,
78
- request_deserializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.FromString,
79
- response_serializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.SerializeToString,
78
+ request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.FromString,
79
+ response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.SerializeToString,
80
80
  ),
81
81
  'GetJob': grpc.unary_unary_rpc_method_handler(
82
82
  servicer.GetJob,
83
- request_deserializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.FromString,
84
- response_serializer=com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.SerializeToString,
83
+ request_deserializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.FromString,
84
+ response_serializer=sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.SerializeToString,
85
85
  ),
86
86
  }
87
87
  generic_handler = grpc.method_handlers_generic_handler(
@@ -113,8 +113,8 @@ class ScriptService(object):
113
113
  request,
114
114
  target,
115
115
  '/ScriptService/CreateScriptJob',
116
- com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.SerializeToString,
117
- com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.FromString,
116
+ sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobRequest.SerializeToString,
117
+ sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.CreateScriptJobResponse.FromString,
118
118
  options,
119
119
  channel_credentials,
120
120
  insecure,
@@ -140,8 +140,8 @@ class ScriptService(object):
140
140
  request,
141
141
  target,
142
142
  '/ScriptService/GetJob',
143
- com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.SerializeToString,
144
- com_dot_velox_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.FromString,
143
+ sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobRequest.SerializeToString,
144
+ sapiopycommons_dot_ai_dot_api_dot_plan_dot_script_dot_proto_dot_script__pb2.GetJobResponse.FromString,
145
145
  options,
146
146
  channel_credentials,
147
147
  insecure,
@@ -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,26 +32,26 @@ _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
37
- _globals['_STEPCSVHEADERROW']._serialized_start=45
38
- _globals['_STEPCSVHEADERROW']._serialized_end=78
39
- _globals['_STEPCSVROW']._serialized_start=80
40
- _globals['_STEPCSVROW']._serialized_end=107
41
- _globals['_STEPCSVDATA']._serialized_start=109
42
- _globals['_STEPCSVDATA']._serialized_end=187
43
- _globals['_STEPJSONDATA']._serialized_start=189
44
- _globals['_STEPJSONDATA']._serialized_end=220
45
- _globals['_STEPTEXTDATA']._serialized_start=222
46
- _globals['_STEPTEXTDATA']._serialized_end=253
47
- _globals['_STEPBINARYDATA']._serialized_start=255
48
- _globals['_STEPBINARYDATA']._serialized_end=288
49
- _globals['_STEPIMAGEDATA']._serialized_start=290
50
- _globals['_STEPIMAGEDATA']._serialized_end=344
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
35
+ _globals['_DATATYPE']._serialized_start=735
36
+ _globals['_DATATYPE']._serialized_end=797
37
+ _globals['_STEPCSVHEADERROW']._serialized_start=53
38
+ _globals['_STEPCSVHEADERROW']._serialized_end=86
39
+ _globals['_STEPCSVROW']._serialized_start=88
40
+ _globals['_STEPCSVROW']._serialized_end=115
41
+ _globals['_STEPCSVDATA']._serialized_start=117
42
+ _globals['_STEPCSVDATA']._serialized_end=195
43
+ _globals['_STEPJSONDATA']._serialized_start=197
44
+ _globals['_STEPJSONDATA']._serialized_end=228
45
+ _globals['_STEPTEXTDATA']._serialized_start=230
46
+ _globals['_STEPTEXTDATA']._serialized_end=261
47
+ _globals['_STEPBINARYDATA']._serialized_start=263
48
+ _globals['_STEPBINARYDATA']._serialized_end=296
49
+ _globals['_STEPIMAGEDATA']._serialized_start=298
50
+ _globals['_STEPIMAGEDATA']._serialized_end=352
51
+ _globals['_STEPENTRYDATA']._serialized_start=355
52
+ _globals['_STEPENTRYDATA']._serialized_end=596
53
+ _globals['_STEPENTRYINPUTDATA']._serialized_start=598
54
+ _globals['_STEPENTRYINPUTDATA']._serialized_end=674
55
+ _globals['_STEPENTRYOUTPUTDATA']._serialized_start=676
56
+ _globals['_STEPENTRYOUTPUTDATA']._serialized_end=733
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.plan.tool.proto import entry_pb2 as com_dot_velox_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
26
- from sapiopycommons.ai.api.plan.proto import step_pb2 as com_dot_velox_dot_api_dot_plan_dot_proto_dot_step__pb2
27
- 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
25
+ from sapiopycommons.ai.api.fielddefinitions.proto import velox_field_def_pb2 as sapiopycommons_dot_ai_dot_api_dot_fielddefinitions_dot_proto_dot_velox__field__def__pb2
26
+ from sapiopycommons.ai.api.plan.tool.proto import entry_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_tool_dot_proto_dot_entry__pb2
27
+ from sapiopycommons.ai.api.plan.proto import step_pb2 as sapiopycommons_dot_ai_dot_api_dot_plan_dot_proto_dot_step__pb2
28
+ 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
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'\n0sapiopycommons/ai/api/plan/tool/proto/tool.proto\x1a\x42sapiopycommons/ai/api/fielddefinitions/proto/velox_field_def.proto\x1a\x31sapiopycommons/ai/api/plan/tool/proto/entry.proto\x1a+sapiopycommons/ai/api/plan/proto/step.proto\x1a\x39sapiopycommons/ai/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=275
48
+ _globals['_TOOLIOCONFIGBASE']._serialized_end=394
49
+ _globals['_TOOLINPUTDETAILS']._serialized_start=397
50
+ _globals['_TOOLINPUTDETAILS']._serialized_end=736
51
+ _globals['_TOOLOUTPUTDETAILS']._serialized_start=738
52
+ _globals['_TOOLOUTPUTDETAILS']._serialized_end=797
53
+ _globals['_PROCESSSTEPREQUEST']._serialized_start=800
54
+ _globals['_PROCESSSTEPREQUEST']._serialized_end=1225
55
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._serialized_start=1146
56
+ _globals['_PROCESSSTEPREQUEST_CONFIGFIELDVALUESENTRY']._serialized_end=1225
57
+ _globals['_PROCESSSTEPRESPONSE']._serialized_start=1227
58
+ _globals['_PROCESSSTEPRESPONSE']._serialized_end=1340
59
+ _globals['_TOOLDETAILSREQUEST']._serialized_start=1342
60
+ _globals['_TOOLDETAILSREQUEST']._serialized_end=1409
61
+ _globals['_STEPRECORDFIELDVALUE']._serialized_start=1411
62
+ _globals['_STEPRECORDFIELDVALUE']._serialized_end=1533
63
+ _globals['_STEPRECORD']._serialized_start=1535
64
+ _globals['_STEPRECORD']._serialized_end=1658
65
+ _globals['_STEPRECORD_FIELDSENTRY']._serialized_start=1590
66
+ _globals['_STEPRECORD_FIELDSENTRY']._serialized_end=1658
67
+ _globals['_TOOLDETAILS']._serialized_start=1661
68
+ _globals['_TOOLDETAILS']._serialized_end=1870
69
+ _globals['_TOOLDETAILSRESPONSE']._serialized_start=1872
70
+ _globals['_TOOLDETAILSRESPONSE']._serialized_end=1961
71
+ _globals['_TOOLSERVICE']._serialized_start=1964
72
+ _globals['_TOOLSERVICE']._serialized_end=2096
61
73
  # @@protoc_insertion_point(module_scope)