MCPcopy Create free account

hub / github.com/pallets/flask / types & classes

Types & classes136 in github.com/pallets/flask

↓ 28 callersClassFlask
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 callersClassBlueprint
src/flask/blueprints.py:18
↓ 9 callersClassFlaskGroup
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 callersClassEnvironBuilder
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 callersClassScriptInfo
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 callersClassTaggedJSONSerializer
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 callersClassNoAppException
Raised if an application cannot be found or loaded.
src/flask/cli.py:37
↓ 2 callersClassCustomException
tests/test_user_error_handler.py:11
↓ 2 callersClassCustomFlask
tests/test_reqctx.py:213
↓ 2 callersClassFoo
tests/test_json_tag.py:44
↓ 2 callersClassNamespace
tests/test_testing.py:287
↓ 2 callersClassResponse
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 callersClassAppContext
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 callersClassAppError
tests/test_async.py:14
↓ 1 callersClassAppGroup
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 callersClassAuthActions
examples/tutorial/tests/conftest.py:47
↓ 1 callersClassBlueprintError
tests/test_async.py:18
↓ 1 callersClassBlueprintSetupState
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 callersClassChildExceptionRegistered
tests/test_user_error_handler.py:68
↓ 1 callersClassChildExceptionUnregistered
tests/test_user_error_handler.py:65
↓ 1 callersClassCustomFlask
tests/test_templating.py:447
↓ 1 callersClassCustomProvider
tests/test_json.py:234
↓ 1 callersClassDebugFilesKeyError
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 callersClassDispatchingJinjaLoader
A loader that looks for templates in the application and all the blueprint folders.
src/flask/templating.py:52
↓ 1 callersClassFailingSessionInterface
tests/test_reqctx.py:209
↓ 1 callersClassFakePath
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 callersClassFixedOffset
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 callersClassFlask
tests/test_config.py:202
↓ 1 callersClassFoo
tests/test_regression.py:5
↓ 1 callersClassForbiddenSubclass
tests/test_basic.py:961
↓ 1 callersClassForbiddenSubclassRegistered
tests/test_user_error_handler.py:101
↓ 1 callersClassForbiddenSubclassUnregistered
tests/test_user_error_handler.py:104
↓ 1 callersClassFormDataRoutingRedirect
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 callersClassJSONTag
Base class for defining type tags for :class:`TaggedJSONSerializer`.
src/flask/json/tag.py:60
↓ 1 callersClassLimitedLoader
tests/conftest.py:113
↓ 1 callersClassMockCtx
tests/test_cli.py:232
↓ 1 callersClassModule
tests/test_cli.py:49
↓ 1 callersClassMyBlueprint
tests/test_blueprints.py:224
↓ 1 callersClassMyDecoratorException
tests/test_blueprints.py:47
↓ 1 callersClassMyException
tests/test_basic.py:945
↓ 1 callersClassMyFlask
tests/test_templating.py:325
↓ 1 callersClassMyFlask
tests/test_helpers.py:200
↓ 1 callersClassMyFunctionException
tests/test_blueprints.py:50
↓ 1 callersClassMySessionInterface
tests/test_session_interface.py:12
↓ 1 callersClassObjectWithHTML
tests/test_json.py:341
↓ 1 callersClassParentException
tests/test_user_error_handler.py:62
↓ 1 callersClassPathAwareSessionInterface
tests/test_reqctx.py:232
↓ 1 callersClassPrefixPathMiddleware
tests/test_basic.py:270
↓ 1 callersClassRequest
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 callersClassRequestContext
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 callersClassSecureCookieSessionInterface
The default session interface that stores sessions in signed cookies through the :mod:`itsdangerous` module.
src/flask/sessions.py:298
↓ 1 callersClassSessionError
tests/test_reqctx.py:206
↓ 1 callersClassStaticFileApp
tests/test_helpers.py:75
↓ 1 callersClassSuppressedFlask
tests/test_subclassing.py:7
↓ 1 callersClassView
tests/test_basic.py:1830
↓ 1 callersClassWrapper
tests/test_helpers.py:267
↓ 1 callersClassX
tests/test_json.py:224
↓ 1 callersClass_TestHandler
tests/test_templating.py:412
ClassApp
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
ClassAsyncMethodView
tests/test_async.py:30
ClassAsyncView
tests/test_async.py:22
ClassBase
tests/test_config.py:133
ClassBaseView
tests/test_views.py:190
ClassBetterIndex
tests/test_views.py:70
ClassBlueprint
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
ClassCertParamType
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
ClassChildView
tests/test_views.py:193
ClassConfig
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
ClassConfig
tests/test_config.py:199
ClassConfigAttribute
Makes an attribute forward to the config
src/flask/config.py:20
ClassContextConverter
tests/test_converters.py:30
ClassCountInit
tests/test_views.py:248
ClassCustom
tests/test_user_error_handler.py:220
ClassCustomEnvironment
tests/test_templating.py:444
ClassCustomRequestGlobals
tests/test_appctx.py:158
ClassDefaultJSONProvider
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
ClassDeleteView
tests/test_views.py:212
ClassE1
tests/test_basic.py:993
ClassE2
tests/test_basic.py:996
ClassE3
tests/test_basic.py:999
ClassEnvironment
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
ClassFlaskCliRunner
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
ClassFlaskClient
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
ClassFlaskTask
examples/celery/src/task_app/__init__.py:30
ClassGetDeleteView
tests/test_views.py:216
ClassGetView
tests/test_views.py:208
ClassIndex
tests/test_views.py:18
ClassIndex1
tests/test_views.py:104
ClassIndex2
tests/test_views.py:117
ClassIndex3
tests/test_views.py:131
ClassJSONProvider
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
ClassListConverter
tests/test_converters.py:9
ClassMethodView
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
ClassMy900Error
tests/test_helpers.py:208
ClassMyAborter
tests/test_helpers.py:197
ClassMyView
tests/test_helpers.py:146
ClassNS
tests/test_testing.py:365
ClassNullSession
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
ClassOther
tests/test_views.py:49
ClassOtherView
tests/test_views.py:231
next →1–100 of 136, ranked by callers