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 by Flask in debug mode if it detects a redirect caused by the routing system when the request method is not GET, HEAD or OPTIONS. Reasoning: form data will be dropped.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 ~click.Group
but it changes the behavior of the command
decorator so that it automatically wraps the functions in with_appcontext
.flask.cli.FlaskGroup
- No summaryclick.ParamType
flask.cli.CertParamType
- Click option type for the --cert option. Allows either an existing file, the string 'adhoc', or an import for a ~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 click.Path
type.click.testing.CliRunner
flask.testing.FlaskCliRunner
- A ~click.testing.CliRunner
for testing a Flask app's CLI commands. Typically created using ~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
- No summaryflask.cli.DispatchingApp
- No summaryflask.cli.ScriptInfo
- No summaryflask.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
- No summaryflask.ctx.RequestContext
- No summaryflask.json.tag.JSONTag
- Base class for defining type tags for 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 ~markupsafe.Markup
API by having a __html__ method to the result of that method. Always deserializes to an instance of ~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 itsdangerous.Serializer
.flask.scaffold.Scaffold
- Common behavior shared between ~flask.Flask
and ~flask.blueprints.Blueprint
.flask.app.Flask
- No summaryflask.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
- No summaryflask.sessions.SecureCookieSessionInterface
- The default session interface that stores sessions in signed cookies through the itsdangerous
module.flask.signals._FakeSignal
- No summaryflask.signals.Namespace
- Undocumentedflask.views.View
- No summaryflask.views.MethodView
- A class-based view that dispatches request methods to the corresponding class 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 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.type
flask.views.MethodViewType
- Metaclass for MethodView
that determines what methods the view defines.typing_extensions.Protocol[GenericException]
flask.typing.ErrorHandlerCallable
- UndocumentedUnicodeError
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
- No summarywerkzeug.test.EnvironBuilder
flask.testing.EnvironBuilder
- An ~werkzeug.test.EnvironBuilder
, that takes defaults from the application.werkzeug.utils.cached_property
flask.helpers.locked_cached_property
- A property
that is only evaluated once. Like 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
- No summary