modal-labs / modal-client

Python client library for Modal
https://modal.com/docs
Apache License 2.0
271 stars 35 forks source link

Add max_batch_inputs and block_duration to message Function #1978

Closed cathyzbn closed 3 months ago

cathyzbn commented 3 months ago

Describe your changes

Protoc changes for adding batching support

Backward/forward compatibility checks --- Check these boxes or delete any item (or this section) if not relevant for this PR. - [x] Client+Server: this change is compatible with old servers - [x] Client forward compatibility: this change ensures client can accept data intended for later versions of itself Note on protobuf: protobuf message changes in one place may have impact to multiple entities (client, server, worker, database). See points above. ---

Changelog