Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ types & classes
Types & classes
136 in github.com/pallets/flask
⨍
Functions
1,195
◇
Types & classes
136
↳
Endpoints
183
↓ 28 callers
Class
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 applicat
src/flask/app.py:81
↓ 9 callers
Class
Blueprint
src/flask/blueprints.py:18
↓ 9 callers
Class
FlaskGroup
Special subclass of the :class:`AppGroup` group that supports loading more commands from the configured Flask app. Normally a developer does
src/flask/cli.py:531
↓ 7 callers
Class
EnvironBuilder
An :class:`~werkzeug.test.EnvironBuilder`, that takes defaults from the application. :param app: The Flask application to configure the envir
src/flask/testing.py:26
↓ 6 callers
Class
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
src/flask/cli.py:293
↓ 5 callers
Class
TaggedJSONSerializer
Serializer that uses a tag system to compactly represent objects that are not JSON types. Passed as the intermediate serializer to :class:`its
src/flask/json/tag.py:219
↓ 4 callers
Class
NoAppException
Raised if an application cannot be found or loaded.
src/flask/cli.py:37
↓ 2 callers
Class
CustomException
tests/test_user_error_handler.py:11
↓ 2 callers
Class
CustomFlask
tests/test_reqctx.py:213
↓ 2 callers
Class
Foo
tests/test_json_tag.py:44
↓ 2 callers
Class
Namespace
tests/test_testing.py:287
↓ 2 callers
Class
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 def
src/flask/wrappers.py:222
↓ 1 callers
Class
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
src/flask/ctx.py:238
↓ 1 callers
Class
AppError
tests/test_async.py:14
↓ 1 callers
Class
AppGroup
This works similar to a regular click :class:`~click.Group` but it changes the behavior of the :meth:`command` decorator so that it automatica
src/flask/cli.py:405
↓ 1 callers
Class
AuthActions
examples/tutorial/tests/conftest.py:47
↓ 1 callers
Class
BlueprintError
tests/test_async.py:18
↓ 1 callers
Class
BlueprintSetupState
Temporary holder object for registering a blueprint with the application. An instance of this class is created by the :meth:`~flask.Blueprint
src/flask/sansio/blueprints.py:34
↓ 1 callers
Class
ChildExceptionRegistered
tests/test_user_error_handler.py:68
↓ 1 callers
Class
ChildExceptionUnregistered
tests/test_user_error_handler.py:65
↓ 1 callers
Class
CustomFlask
tests/test_templating.py:447
↓ 1 callers
Class
CustomProvider
tests/test_json.py:234
↓ 1 callers
Class
DebugFilesKeyError
Raised from request.files during debugging. The idea is that it can provide a better error message than just a generic KeyError/BadRequest.
src/flask/debughelpers.py:23
↓ 1 callers
Class
DispatchingJinjaLoader
A loader that looks for templates in the application and all the blueprint folders.
src/flask/templating.py:52
↓ 1 callers
Class
FailingSessionInterface
tests/test_reqctx.py:209
↓ 1 callers
Class
FakePath
Fake object to represent a ``PathLike object``. This represents a ``pathlib.Path`` object in python 3. See: https://www.python.org/dev/peps/p
tests/test_helpers.py:11
↓ 1 callers
Class
FixedOffset
Fixed offset in hours east from UTC. This is a slight adaptation of the ``FixedOffset`` example found in https://docs.python.org/2.7/library/
tests/test_json.py:145
↓ 1 callers
Class
Flask
tests/test_config.py:202
↓ 1 callers
Class
Foo
tests/test_regression.py:5
↓ 1 callers
Class
ForbiddenSubclass
tests/test_basic.py:961
↓ 1 callers
Class
ForbiddenSubclassRegistered
tests/test_user_error_handler.py:101
↓ 1 callers
Class
ForbiddenSubclassUnregistered
tests/test_user_error_handler.py:104
↓ 1 callers
Class
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 n
src/flask/debughelpers.py:50
↓ 1 callers
Class
JSONTag
Base class for defining type tags for :class:`TaggedJSONSerializer`.
src/flask/json/tag.py:60
↓ 1 callers
Class
LimitedLoader
tests/conftest.py:113
↓ 1 callers
Class
MockCtx
tests/test_cli.py:232
↓ 1 callers
Class
Module
tests/test_cli.py:49
↓ 1 callers
Class
MyBlueprint
tests/test_blueprints.py:224
↓ 1 callers
Class
MyDecoratorException
tests/test_blueprints.py:47
↓ 1 callers
Class
MyException
tests/test_basic.py:945
↓ 1 callers
Class
MyFlask
tests/test_templating.py:325
↓ 1 callers
Class
MyFlask
tests/test_helpers.py:200
↓ 1 callers
Class
MyFunctionException
tests/test_blueprints.py:50
↓ 1 callers
Class
MySessionInterface
tests/test_session_interface.py:12
↓ 1 callers
Class
ObjectWithHTML
tests/test_json.py:341
↓ 1 callers
Class
ParentException
tests/test_user_error_handler.py:62
↓ 1 callers
Class
PathAwareSessionInterface
tests/test_reqctx.py:232
↓ 1 callers
Class
PrefixPathMiddleware
tests/test_basic.py:270
↓ 1 callers
Class
Request
The request object used by default in Flask. Remembers the matched endpoint and view arguments. It is what ends up as :class:`~flask.request
src/flask/wrappers.py:18
↓ 1 callers
Class
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
src/flask/ctx.py:287
↓ 1 callers
Class
SecureCookieSessionInterface
The default session interface that stores sessions in signed cookies through the :mod:`itsdangerous` module.
src/flask/sessions.py:298
↓ 1 callers
Class
SessionError
tests/test_reqctx.py:206
↓ 1 callers
Class
StaticFileApp
tests/test_helpers.py:75
↓ 1 callers
Class
SuppressedFlask
tests/test_subclassing.py:7
↓ 1 callers
Class
View
tests/test_basic.py:1830
↓ 1 callers
Class
Wrapper
tests/test_helpers.py:267
↓ 1 callers
Class
X
tests/test_json.py:224
↓ 1 callers
Class
_TestHandler
tests/test_templating.py:412
Class
App
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 applicat
src/flask/sansio/app.py:59
Class
AsyncMethodView
tests/test_async.py:30
Class
AsyncView
tests/test_async.py:22
Class
Base
tests/test_config.py:133
Class
BaseView
tests/test_views.py:190
Class
BetterIndex
tests/test_views.py:70
Class
Blueprint
Represents a blueprint, a collection of routes and other app-related functions that can be registered on a real application later. A blue
src/flask/sansio/blueprints.py:119
Class
CertParamType
Click option type for the ``--cert`` option. Allows either an existing file, the string ``'adhoc'``, or an import for a :class:`~ssl.SSLContex
src/flask/cli.py:786
Class
ChildView
tests/test_views.py:193
Class
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 conf
src/flask/config.py:50
Class
Config
tests/test_config.py:199
Class
ConfigAttribute
Makes an attribute forward to the config
src/flask/config.py:20
Class
ContextConverter
tests/test_converters.py:30
Class
CountInit
tests/test_views.py:248
Class
Custom
tests/test_user_error_handler.py:220
Class
CustomEnvironment
tests/test_templating.py:444
Class
CustomRequestGlobals
tests/test_appctx.py:158
Class
DefaultJSONProvider
Provide JSON operations using Python's built-in :mod:`json` library. Serializes the following additional data types: - :class:`datetime.dat
src/flask/json/provider.py:124
Class
DeleteView
tests/test_views.py:212
Class
E1
tests/test_basic.py:993
Class
E2
tests/test_basic.py:996
Class
E3
tests/test_basic.py:999
Class
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 th
src/flask/templating.py:39
Class
FlaskCliRunner
A :class:`~click.testing.CliRunner` for testing a Flask app's CLI commands. Typically created using :meth:`~flask.Flask.test_cli_runner`. See
src/flask/testing.py:264
Class
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 o
src/flask/testing.py:108
Class
FlaskTask
examples/celery/src/task_app/__init__.py:30
Class
GetDeleteView
tests/test_views.py:216
Class
GetView
tests/test_views.py:208
Class
Index
tests/test_views.py:18
Class
Index1
tests/test_views.py:104
Class
Index2
tests/test_views.py:117
Class
Index3
tests/test_views.py:131
Class
JSONProvider
A standard set of JSON operations for an application. Subclasses of this can be used to customize JSON behavior or use different JSON librarie
src/flask/json/provider.py:19
Class
ListConverter
tests/test_converters.py:9
Class
MethodView
Dispatches request methods to the corresponding instance methods. For example, if you implement a ``get`` method, it will be used to handle ``
src/flask/views.py:138
Class
My900Error
tests/test_helpers.py:208
Class
MyAborter
tests/test_helpers.py:197
Class
MyView
tests/test_helpers.py:146
Class
NS
tests/test_testing.py:365
Class
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
src/flask/sessions.py:97
Class
Other
tests/test_views.py:49
Class
OtherView
tests/test_views.py:231
next →
1–100 of 136, ranked by callers