posit-dev / py-shinywidgets

Render ipywidgets inside a PyShiny app
MIT License
47 stars 5 forks source link

Handle binary data (buffers) transfer from client -> server #153

Open cpsievert opened 4 months ago

cpsievert commented 4 months ago

This is a follow up to #152, where we discovered a bug in transferring binary data sent from server to client.

While investigating that issue, we also discovered that binary data in buffers is currently getting dropped (since JSON.stringify() them).

This change (currently) will make it so they won't get dropped anymore, but some more investigation is needed to confirm how to handle buffers server-side.