emilhe / dash-extensions

The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience
https://www.dash-extensions.com/
MIT License
409 stars 58 forks source link

Serverside (v1.0.0) no longer works in the same way as previous ServersideOutput (v0.1.13) #264

Closed matt-sd-watson closed 1 year ago

matt-sd-watson commented 1 year ago

I have recently upgraded the package from 0.1.13 to 1.0.0, and now the Serverside objects that are returned are throwing an error when previously, the ServersideOutput objects as dictionaries would function within the session.

The error thrown is returned a dictionary which is not JSON serializable. Is there a way to upgrade to v1.0.0 but still retain the ability to return complex dictionaries as in v0.1.13?

emilhe commented 1 year ago

Have you tried version 1.0.1? Could you provide an small example demonstrating the issue?

matt-sd-watson commented 1 year ago

version 1.0.1 appears to work properly with the appropriate FileSystemBackend. Thanks!

emilhe commented 1 year ago

Great! Thanks for the feedback 👍