modal-labs / modal-client

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

Refractor with LocalInput #1973

Closed cathyzbn closed 2 months ago

cathyzbn commented 3 months ago

Describe your changes

Refractor code to use LocalInputs to contain input_id, function_call_id, and args.

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