You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The lower-level libraries like chalicelib/responses.py return strings intended for end users. This make it difficult to customize the outgoing message for different routes.
Consider instead:
returning structured data (a class instance, dict, etc)
refactoring routes in app.py to assemble strings for particular uses.
The text was updated successfully, but these errors were encountered:
The lower-level libraries like
chalicelib/responses.py
return strings intended for end users. This make it difficult to customize the outgoing message for different routes.Consider instead:
app.py
to assemble strings for particular uses.The text was updated successfully, but these errors were encountered: