modal-labs / modal-client

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

Add fields to FunctionExtended to make for unambiguous .. #2256

Closed irfansharif closed 2 weeks ago

irfansharif commented 2 weeks ago

.. ser/de. We're using this union proto message to transition from Function to FunctionData and want to keep existing serialized state (in the Function form) as is, for now.

https://github.com/modal-labs/modal/pull/15645 has more details - but this additional fields helps resolve deserialization ambiguity.

irfansharif commented 2 weeks ago

@prbot approve