sapiopycommons 2025.9.23a765__py3-none-any.whl → 2025.9.26a769__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.

@@ -127,6 +127,13 @@ class SapioGrpcServer:
127
127
  print(f"Registering Tool service: {service.__class__.__name__}")
128
128
  add_ToolServiceServicer_to_server(service, server)
129
129
 
130
+ from grpc_health.v1 import health_pb2, health_pb2_grpc
131
+ from grpc_health.v1.health import HealthServicer
132
+ health_servicer = HealthServicer()
133
+ health_servicer.set("", health_pb2.HealthCheckResponse.ServingStatus.SERVING)
134
+ health_servicer.set("ScriptService", health_pb2.HealthCheckResponse.ServingStatus.SERVING)
135
+ health_pb2_grpc.add_HealthServicer_to_server(health_servicer, server)
136
+
130
137
  server.add_insecure_port(f"[::]:{self.port}")
131
138
  await server.start()
132
139
  print(f"Server started, listening on {self.port}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: sapiopycommons
3
- Version: 2025.9.23a765
3
+ Version: 2025.9.26a769
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,7 +2,7 @@ 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=HiUXmwqv1STgyQeF9_eTFXzjIFXp5-NJ7sEhMpV3aAU,6351
4
4
  sapiopycommons/ai/protobuf_utils.py,sha256=cBjbxoFAwU02kNUxEce95WnMU2CMuDD-qFaeWgvQJMQ,24599
5
- sapiopycommons/ai/server.py,sha256=GtkSKeHhahd40DXU6XIY3ZKpMl-MPMgPUYL8TakTj0w,5919
5
+ sapiopycommons/ai/server.py,sha256=1ksOax2cab9MH7ESXQ5dwVNZcBKiWpNVhkzO4KkFTSg,6370
6
6
  sapiopycommons/ai/test_client.py,sha256=Um93jXmIx0YaHf-YbV5NSamPTHveJ0kU_UaAfOApnZg,16342
7
7
  sapiopycommons/ai/tool_of_tools.py,sha256=zYmQ4rNX-qYQnc-vNDnYZjtv9JgmQAmVVuHfVOdBF3w,46984
8
8
  sapiopycommons/ai/tool_service_base.py,sha256=OmGUDsDj7sCNtjhJVohc1mUQ0PZsMhhgfG8BXAWujGs,53861
@@ -102,7 +102,7 @@ sapiopycommons/webhook/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3
102
102
  sapiopycommons/webhook/webhook_context.py,sha256=D793uLsb1691SalaPnBUk3rOSxn_hYLhdvkaIxjNXss,1909
103
103
  sapiopycommons/webhook/webhook_handlers.py,sha256=7o_wXOruhT9auNh8OfhJAh4WhhiPKij67FMBSpGPICc,39939
104
104
  sapiopycommons/webhook/webservice_handlers.py,sha256=cvW6Mk_110BzYqkbk63Kg7jWrltBCDALOlkJRu8h4VQ,14300
105
- sapiopycommons-2025.9.23a765.dist-info/METADATA,sha256=NsFlhIveyjRTKSP334EvowqVBhKdPthtddezEddtwIQ,3142
106
- sapiopycommons-2025.9.23a765.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
107
- sapiopycommons-2025.9.23a765.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
108
- sapiopycommons-2025.9.23a765.dist-info/RECORD,,
105
+ sapiopycommons-2025.9.26a769.dist-info/METADATA,sha256=cDYMXx-sBUR1wwz-ntiPUjtBJutj8RknIoZDK6kE9nA,3142
106
+ sapiopycommons-2025.9.26a769.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
107
+ sapiopycommons-2025.9.26a769.dist-info/licenses/LICENSE,sha256=HyVuytGSiAUQ6ErWBHTqt1iSGHhLmlC8fO7jTCuR8dU,16725
108
+ sapiopycommons-2025.9.26a769.dist-info/RECORD,,