Type Error: The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a list
Type Error: The return type must be a string, dict, tuple, Response instance, or WSGI callable, but it was a list flask
flask
The views in Flask require a hashable return type. You can always convert your return values to hashable types viz string, dict, tuple etc and then transform from the result.