sapiopycommons 2025.8.14a702__py3-none-any.whl → 2025.8.15a704__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.

@@ -6,7 +6,6 @@ from typing import Any
6
6
  import grpc
7
7
  from sapiopylib.rest.User import SapioUser
8
8
 
9
- from sapiopycommons.ai.api.fielddefinitions.proto.fields_pb2 import FieldValuePbo
10
9
  from sapiopycommons.ai.api.plan.converter.proto.converter_pb2 import ConverterDetailsRequestPbo, \
11
10
  ConverterDetailsResponsePbo, ConvertResponsePbo, ConvertRequestPbo
12
11
  from sapiopycommons.ai.api.plan.converter.proto.converter_pb2_grpc import ConverterServiceStub
@@ -308,9 +308,7 @@ class ToolServiceBase(ToolServiceServicer, ABC):
308
308
  # Setup the tool with details from the request.
309
309
  tool.setup(user, request, context)
310
310
  # Validate that the provided inputs match the tool's expected inputs.
311
- if not request.input:
312
- msg: str = "No inputs provided to this tool!"
313
- elif len(request.input) != len(tool.input_configs):
311
+ if len(request.input) != len(tool.input_configs):
314
312
  msg: str = f"Expected {len(tool.input_configs)} inputs for this tool, but got {len(request.input)} instead."
315
313
  else:
316
314
  msg: str = tool.validate_input()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sapiopycommons
3
- Version: 2025.8.14a702
3
+ Version: 2025.8.15a704
4
4
  Summary: Official Sapio Python API Utilities Package
5
5
  Project-URL: Homepage, https://github.com/sapiosciences
6
6
  Author-email: Jonathan Steck <jsteck@sapiosciences.com>, Yechen Qiao <yqiao@sapiosciences.com>
@@ -2,8 +2,8 @@ sapiopycommons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  sapiopycommons/ai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  sapiopycommons/ai/converter_service_base.py,sha256=w4_PXjlk7_F5AUMlPUhKJ9gZlxY9RNG6yH9cDDFROuo,4620
4
4
  sapiopycommons/ai/protobuf_utils.py,sha256=QdYcelIvOIKBV5u_KR_Fh06kZ0eJDIb5ZVnfqV01FeE,24601
5
- sapiopycommons/ai/test_client.py,sha256=eSroM3DAi3vZc5FKpg_ybr_IxW8tWSXCJH24FF-W2os,14292
6
- sapiopycommons/ai/tool_service_base.py,sha256=LkmX_kQyHAQtR02S8x6hKc0DnR7mmNNcykBrn87sVVw,43473
5
+ sapiopycommons/ai/test_client.py,sha256=fo8j_1SjkR6eWAdO3_NU6CsCclOqQGBW9woSUjuOSnM,14210
6
+ sapiopycommons/ai/tool_service_base.py,sha256=kfMWU0OndYl0XnKwztHGTT-L20Mpq7VUI-vhwyfJkkI,43375
7
7
  sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.py,sha256=YcZjb_YM-XeLErM8hEC_S7vGMVGvcXAMGs2b-u5zvOE,2377
8
8
  sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2.pyi,sha256=FwtXmNAf7iYGEFm4kbqb04v77jNHbZg18ZmEDhle_bU,1444
9
9
  sapiopycommons/ai/api/fielddefinitions/proto/fields_pb2_grpc.py,sha256=wPImJPdCUZNVEVoUWzsba9kGIXjEKPdUkawP5SnVyiU,932
@@ -97,7 +97,7 @@ sapiopycommons/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
97
97
  sapiopycommons/webhook/webhook_context.py,sha256=D793uLsb1691SalaPnBUk3rOSxn_hYLhdvkaIxjNXss,1909
98
98
  sapiopycommons/webhook/webhook_handlers.py,sha256=7o_wXOruhT9auNh8OfhJAh4WhhiPKij67FMBSpGPICc,39939
99
99
  sapiopycommons/webhook/webservice_handlers.py,sha256=cvW6Mk_110BzYqkbk63Kg7jWrltBCDALOlkJRu8h4VQ,14300
100
- sapiopycommons-2025.8.14a702.dist-info/METADATA,sha256=PimqQ_Jq_JL9k_0BjhBRm0Y9fulCw9GjHbE5rmQpdfU,3143
101
- sapiopycommons-2025.8.14a702.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
102
- sapiopycommons-2025.8.14a702.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
103
- sapiopycommons-2025.8.14a702.dist-info/RECORD,,
100
+ sapiopycommons-2025.8.15a704.dist-info/METADATA,sha256=gRXt65SiBgfQjkbYDqEgSaoVxLfxe7G7tFlc2dzoero,3143
101
+ sapiopycommons-2025.8.15a704.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
102
+ sapiopycommons-2025.8.15a704.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
103
+ sapiopycommons-2025.8.15a704.dist-info/RECORD,,