Skip to content

Return Structured Data from Chalicelib Files #6

@mark-meyer

Description

@mark-meyer

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions