The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience
You can no longer tell from the function signature that it is returning a string, and static type checkers won't catch it if something different is returned. A possible solution could be to make Serverside generic such that the following would be possible:
The recent update to the way ServersideOutput works is restricting the use of type hinting. Previously it was possible to do something like this:
The new way to make this callback would be something like this:
You can no longer tell from the function signature that it is returning a string, and static type checkers won't catch it if something different is returned. A possible solution could be to make Serverside generic such that the following would be possible: