flask.app ImmutableDict Example Code

ImmutableDict is a class within the flask.app module of the Flask framework that is actually imported from the Werkzeug datastructures module. The ImmutableDict class wraps a standard Python dictionary so that values cannot be modified after initially being set.

BadRequest, Flask, and Headers are several other callables with code examples from the same flask.app package.

You should read up on these subjects along with these ImmutableDict examples:

Example 1 from indico

indico (project website, documentation and sandbox demo) is a Flask-based web app for event management. The code is open sourced under the MIT license.

indico / indico / core / config.py