canvas 0.57.0__py3-none-any.whl → 0.57.1__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 canvas might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: canvas
3
- Version: 0.57.0
3
+ Version: 0.57.1
4
4
  Summary: SDK to customize event-driven actions in your Canvas instance
5
5
  Author-email: Canvas Team <engineering@canvasmedical.com>
6
6
  License-Expression: MIT
@@ -309,7 +309,7 @@ plugin_runner/exceptions.py,sha256=ltqn56SMTg-T5miSh5hux4ojwx0hZGSWaB7BxyAmcAo,5
309
309
  plugin_runner/generate_allowed_imports.py,sha256=LQuVxL_j5n0Sj-KgR4Q8D9mj0xfuDqzO69kBfZUqwGE,2565
310
310
  plugin_runner/installation.py,sha256=2KTDWWsQ97WIN2k9tC4d50zN77WWK_1D5obXlhLfWw8,8536
311
311
  plugin_runner/load_all_plugins.py,sha256=4T2gW2YljhIx4xfwf1c0F_8oIbE1ubsLj0ShkHRtlVY,5847
312
- plugin_runner/plugin_runner.py,sha256=oGYaYox_yG45N0IQ2DjgMMCpNEP_aGCwClIeadVFJ8Q,26402
312
+ plugin_runner/plugin_runner.py,sha256=RpcZoXXzGEflJGuHJaAOCP24mWb4fG1bLw3ryA6n88k,26623
313
313
  plugin_runner/sandbox.py,sha256=A5iaxQePwA5FERK232MArq2VzZzHKM5ydrfTDFeXcLg,30232
314
314
  protobufs/canvas_generated/messages/effects.proto,sha256=wQBRk0_XN8ssIjDtRttxsEG6pZJbYS8czGzdvpx3g6M,9756
315
315
  protobufs/canvas_generated/messages/events.proto,sha256=21qM3Ct9-iIG_T7O-XoFPWpnVafocYJ1KGiZ2nn1CFM,52047
@@ -317,7 +317,7 @@ protobufs/canvas_generated/messages/plugins.proto,sha256=xJyEeTwM6wWja3vGECLsIzf
317
317
  protobufs/canvas_generated/services/plugin_runner.proto,sha256=PZ0Ts11b9tdA5Gkg2M05JVEKAm0R4LFEwrGRS-TQ16E,466
318
318
  pubsub/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
319
319
  pubsub/pubsub.py,sha256=PHIvJ5SD3M-jQSYeGGSj1FuG6CvP6BQffAoGax9Uudk,1423
320
- canvas-0.57.0.dist-info/METADATA,sha256=KZkuAbo0NwR-D6ZfZZgukyJDe00ornxC-Ep8RDkz0gQ,4645
321
- canvas-0.57.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
322
- canvas-0.57.0.dist-info/entry_points.txt,sha256=0Vs_9GmTVUNniH6eDBlRPgofmADMV4BES6Ao26M4AbM,47
323
- canvas-0.57.0.dist-info/RECORD,,
320
+ canvas-0.57.1.dist-info/METADATA,sha256=MPYJjyR4mKewN9sbDrqzm3N0WSDY1ZY47gIRtCpqUbE,4645
321
+ canvas-0.57.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
322
+ canvas-0.57.1.dist-info/entry_points.txt,sha256=0Vs_9GmTVUNniH6eDBlRPgofmADMV4BES6Ao26M4AbM,47
323
+ canvas-0.57.1.dist-info/RECORD,,
@@ -731,7 +731,14 @@ def main(specified_plugin_paths: list[str] | None = None) -> None:
731
731
  port = "50051"
732
732
 
733
733
  executor = ThreadPoolExecutor(max_workers=settings.PLUGIN_RUNNER_MAX_WORKERS)
734
- server = grpc.server(thread_pool=executor)
734
+ server = grpc.server(
735
+ thread_pool=executor,
736
+ options=(
737
+ # set max message lengths to 64mb
738
+ ("grpc.max_receive_message_length", 64 * 1024 * 1024),
739
+ ("grpc.max_send_message_length", 64 * 1024 * 1024),
740
+ ),
741
+ )
735
742
  server.add_insecure_port("127.0.0.1:" + port)
736
743
 
737
744
  add_PluginRunnerServicer_to_server(PluginRunner(), server)