AssertionError
flask.debughelpers.DebugFilesKeyError
- Raised from request.files during debugging. The idea is that it can provide a better error message than just a generic KeyError/BadRequest.flask.debughelpers.FormDataRoutingRedirect
- This exception is raised in debug mode if a routing redirect would cause the browser to drop the method or body. This happens when method is not GET, HEAD or OPTIONS and the status code is not 307 or 308.flask.debughelpers.UnexpectedUnicodeError
- Raised in places where we want some better error reporting for unexpected unicode or binary data.click.Group
flask.cli.AppGroup
- This works similar to a regular click :class:`~click.Group` but it changes the behavior of the :meth:`command` decorator so that it automatically wraps the functions in :func:`with_appcontext`.flask.cli.FlaskGroup
- Special subclass of the :class:`AppGroup` group that supports loading more commands from the configured Flask app. Normally a developer does not have to interface with this class but there are some very advanced use cases for which it makes sense to create an instance of this...click.ParamType
flask.cli.CertParamType
- Click option type for the ``--cert`` option. Allows either an existing file, the string ``'adhoc'``, or an import for a :class:`~ssl.SSLContext` object.click.Path
flask.cli.SeparatedPathType
- Click option type that accepts a list of values separated by the OS's path separator (``:``, ``;`` on Windows). Each value is validated as a :class:`click.Path` type.click.testing.CliRunner
flask.testing.FlaskCliRunner
- A :class:`~click.testing.CliRunner` for testing a Flask app's CLI commands. Typically created using :meth:`~flask.Flask.test_cli_runner`. See :ref:`testing-cli`.click.UsageError
flask.cli.NoAppException
- Raised if an application cannot be found or loaded.collections.abc.MutableMapping
flask.sessions.SessionMixin
- Expands a basic dictionary with session attributes.flask.sessions.SecureCookieSession
- Base class for sessions based on signed cookies.flask.sessions.NullSession
- Class used to generate nicer error messages if sessions are not available. Will still allow read-only access to the empty session but fail on setting.dict
flask.config.Config
- Works exactly like a dict but provides ways to fill it from files or special dictionaries. There are two common patterns to populate the config.flask.blueprints.BlueprintSetupState
- Temporary holder object for registering a blueprint with the application. An instance of this class is created by the :meth:`~flask.Blueprint.make_setup_state` method and later passed to all register callback functions.flask.cli.ScriptInfo
- Helper object to deal with Flask applications. This is usually not necessary to interface with as it's used internally in the dispatching to click. In future versions of Flask this object will most likely play a bigger role...flask.config.ConfigAttribute
- Makes an attribute forward to the configflask.ctx._AppCtxGlobals
- A plain object. Used as a namespace for storing data during an application context.flask.ctx.AppContext
- The app context contains application-specific information. An app context is created and pushed at the beginning of each request if one is not already active. An app context is also pushed when running CLI commands.flask.ctx.RequestContext
- The request context contains per-request information. The Flask app creates and pushes it at the beginning of the request, then pops it at the end of the request. It will create the URL adapter and request object for the WSGI environment provided.flask.globals._FakeStack
- Undocumentedflask.json.provider.JSONProvider
- A standard set of JSON operations for an application. Subclasses of this can be used to customize JSON behavior or use different JSON libraries.flask.json.provider.DefaultJSONProvider
- Provide JSON operations using Python's built-in :mod:`json` library. Serializes the following additional data types:flask.json.tag.JSONTag
- Base class for defining type tags for :class:`TaggedJSONSerializer`.flask.json.tag.PassDict
- Undocumentedflask.json.tag.PassList
- Undocumentedflask.json.tag.TagBytes
- Undocumentedflask.json.tag.TagDateTime
- Undocumentedflask.json.tag.TagDict
- Tag for 1-item dicts whose only key matches a registered tag.flask.json.tag.TagMarkup
- Serialize anything matching the :class:`~markupsafe.Markup` API by having a ``__html__`` method to the result of that method. Always deserializes to an instance of :class:`~markupsafe.Markup`.flask.json.tag.TagTuple
- Undocumentedflask.json.tag.TagUUID
- Undocumentedflask.json.tag.TaggedJSONSerializer
- Serializer that uses a tag system to compactly represent objects that are not JSON types. Passed as the intermediate serializer to :class:`itsdangerous.Serializer`.flask.scaffold.Scaffold
- Common behavior shared between :class:`~flask.Flask` and :class:`~flask.blueprints.Blueprint`.flask.app.Flask
- The flask object implements a WSGI application and acts as the central object. It is passed the name of the module or package of the application. Once it is created it will act as a central registry for the view functions, the URL rules, template configuration and much more.flask.blueprints.Blueprint
- Represents a blueprint, a collection of routes and other app-related functions that can be registered on a real application later.flask.sessions.SessionInterface
- The basic interface you have to implement in order to replace the default session interface which uses werkzeug's securecookie implementation. The only methods you have to implement are :meth:`open_session` and :meth:`save_session`, the others have useful defaults which you don't need to change.flask.sessions.SecureCookieSessionInterface
- The default session interface that stores sessions in signed cookies through the :mod:`itsdangerous` module.flask.views.View
- Subclass this class and override :meth:`dispatch_request` to create a generic class-based view. Call :meth:`as_view` to create a view function that creates an instance of the class with the given arguments and calls its ``dispatch_request`` method with any URL variables.flask.views.MethodView
- Dispatches request methods to the corresponding instance methods. For example, if you implement a ``get`` method, it will be used to handle ``GET`` requests.jinja2.BaseLoader
flask.templating.DispatchingJinjaLoader
- A loader that looks for templates in the application and all the blueprint folders.jinja2.Environment
flask.templating.Environment
- Works like a regular Jinja2 environment but has some additional knowledge of how Flask's blueprint works so that it can prepend the name of the blueprint to referenced templates if necessary.json.JSONDecoder
flask.json.JSONDecoder
- The default JSON decoder.json.JSONEncoder
flask.json.JSONEncoder
- The default JSON encoder. Handles extra types compared to the built-in :class:`json.JSONEncoder`.KeyError
flask.debughelpers.DebugFilesKeyError
- Raised from request.files during debugging. The idea is that it can provide a better error message than just a generic KeyError/BadRequest.UnicodeError
flask.debughelpers.UnexpectedUnicodeError
- Raised in places where we want some better error reporting for unexpected unicode or binary data.werkzeug.datastructures.CallbackDict
flask.sessions.SecureCookieSession
- Base class for sessions based on signed cookies.flask.sessions.NullSession
- Class used to generate nicer error messages if sessions are not available. Will still allow read-only access to the empty session but fail on setting.werkzeug.test.Client
flask.testing.FlaskClient
- Works like a regular Werkzeug test client but has knowledge about Flask's contexts to defer the cleanup of the request context until the end of a ``with`` block. For general information about how to use this class refer to :class:`werkzeug...werkzeug.test.EnvironBuilder
flask.testing.EnvironBuilder
- An :class:`~werkzeug.test.EnvironBuilder`, that takes defaults from the application.werkzeug.utils.cached_property
flask.helpers.locked_cached_property
- A :func:`property` that is only evaluated once. Like :class:`werkzeug.utils.cached_property` except access uses a lock for thread safety.werkzeug.wrappers.Request
flask.wrappers.Request
- The request object used by default in Flask. Remembers the matched endpoint and view arguments.werkzeug.wrappers.Response
flask.wrappers.Response
- The response object that is used by default in Flask. Works like the response object from Werkzeug but is set to have an HTML mimetype by default. Quite often you don't have to create this object yourself because :meth:`~flask...