MCPcopy Create free account

hub / github.com/pallets/flask / functions

Functions1,195 in github.com/pallets/flask

Function_validate_key
The ``--key`` option must be specified when ``--cert`` is a file. Modifies the ``cert`` param to be a ``(cert, key)`` pair if needed.
src/flask/cli.py:834
Functiona
()
tests/test_blueprints.py:907
Functionabout
()
tests/test_blueprints.py:167
Functionabout
()
tests/test_basic.py:1626
Functionaction
()
tests/test_testing.py:253
Functionadd
()
tests/test_json.py:198
Functionadd
()
examples/javascript/js_example/views.py:15
Functionadd
(a: int, b: int)
examples/celery/src/task_app/tasks.py:8
Functionadd
()
examples/celery/src/task_app/views.py:22
Functionadd_language_code
(endpoint, values)
tests/test_blueprints.py:155
Functionadd_language_code
(endpoint, values)
tests/test_basic.py:1611
Methodadd_url_rule
A helper method to register a rule (and optionally a view function) to the application. The endpoint is automatically prefixed with the
src/flask/sansio/blueprints.py:87
Functionadd_x_parachute
(f)
tests/test_views.py:81
Functionafter
(response)
tests/test_async.py:115
Functionafter1
(response)
tests/test_basic.py:834
Functionafter2
(response)
tests/test_basic.py:839
Functionafter_app
(response)
tests/test_blueprints.py:736
Methodafter_app_request
Like :meth:`after_request`, but after every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.after_request`.
src/flask/sansio/blueprints.py:564
Functionafter_async
(response: Response)
tests/type_check/typing_app_decorators.py:15
Functionafter_bp
(response)
tests/test_blueprints.py:705
Functionafter_request
(response)
tests/test_basic.py:689
Methodafter_request
Register a function to run after each request to this object. The function is called with the response object, and must return a resp
src/flask/sansio/scaffold.py:487
Functionafter_request_handler
(response)
tests/test_signals.py:66
Functionafter_request_signal
(sender, response)
tests/test_signals.py:57
Functionafter_sync
(response: Response)
tests/type_check/typing_app_decorators.py:10
Functionafter_this_request
Executes a function after this request. This is useful to modify response objects. The function is passed the response object and has to ret
src/flask/ctx.py:117
Functionallow_abort
()
tests/test_basic.py:1038
Functionanswer_context_processor
()
tests/test_blueprints.py:650
Functionapp
( environ: WSGIEnvironment, start_response: StartResponse )
src/flask/cli.py:969
Functionapp
()
tests/conftest.py:46
Functionapp
Create and configure a new app instance for each test.
examples/tutorial/tests/conftest.py:16
Methodapp
(self, app)
tests/test_user_error_handler.py:224
Functionapp_before1
()
tests/test_blueprints.py:847
Functionapp_before2
()
tests/test_blueprints.py:855
Methodapp_context_processor
Like :meth:`context_processor`, but for templates rendered by every view, not only by the blueprint. Equivalent to :meth:`.Flask.context_proce
src/flask/sansio/blueprints.py:584
Functionapp_ctx
()
tests/test_blueprints.py:863
Functionapp_ctx
(app)
tests/conftest.py:56
Methodapp_errorhandler
Like :meth:`errorhandler`, but for every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.errorhandler`.
src/flask/sansio/blueprints.py:596
Functionapp_exception_handler
(e)
tests/test_user_error_handler.py:148
Functionapp_forbidden
(e)
tests/test_blueprints.py:38
Functionapp_index
()
tests/test_blueprints.py:268
Functionapp_page
()
tests/test_blueprints.py:659
Functionapp_teardown1
(e=None)
tests/test_blueprints.py:851
Functionapp_teardown2
(e=None)
tests/test_blueprints.py:859
Methodapp_template_filter
Register a template filter, available in any template rendered by the application. Equivalent to :meth:`.Flask.template_filter`. :par
src/flask/sansio/blueprints.py:444
Methodapp_template_global
Register a template global, available in any template rendered by the application. Equivalent to :meth:`.Flask.template_global`. .. v
src/flask/sansio/blueprints.py:516
Methodapp_template_test
Register a template test, available in any template rendered by the application. Equivalent to :meth:`.Flask.template_test`. .. versi
src/flask/sansio/blueprints.py:478
Functionapp_test
()
tests/test_user_error_handler.py:152
Methodapp_url_defaults
Like :meth:`url_defaults`, but for every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.url_defaults`.
src/flask/sansio/blueprints.py:625
Methodapp_url_value_preprocessor
Like :meth:`url_value_preprocessor`, but for every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.url_value_pre
src/flask/sansio/blueprints.py:613
Functionasync_route
()
tests/type_check/typing_route.py:97
Functionattach_something
()
tests/test_basic.py:932
Functionauth
(client)
examples/tutorial/tests/conftest.py:61
Functionb
()
tests/test_blueprints.py:911
Functionbackend_forbidden
(e)
tests/test_blueprints.py:22
Functionbackend_no
()
tests/test_blueprints.py:26
Functionbar
(bar)
tests/test_blueprints.py:139
Functionbar
()
tests/test_basic.py:201
Functionbar_foo
()
tests/test_blueprints.py:311
Functionbefore
()
tests/test_async.py:110
Functionbefore1
()
tests/test_basic.py:826
Functionbefore2
()
tests/test_basic.py:830
Functionbefore_app
()
tests/test_blueprints.py:732
Methodbefore_app_request
Like :meth:`before_request`, but before every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.before_request`.
src/flask/sansio/blueprints.py:554
Functionbefore_async
()
tests/type_check/typing_app_decorators.py:24
Functionbefore_bp
()
tests/test_blueprints.py:701
Functionbefore_request
()
tests/test_basic.py:685
Methodbefore_request
Register a function to run before each request. For example, this can be used to open a database connection, or to load the logged in
src/flask/sansio/scaffold.py:460
Functionbefore_request1
()
tests/test_basic.py:710
Functionbefore_request2
()
tests/test_basic.py:714
Functionbefore_request3
()
tests/test_basic.py:719
Functionbefore_request_handler
()
tests/test_signals.py:62
Functionbefore_request_signal
(sender)
tests/test_signals.py:54
Functionbefore_sync
()
tests/type_check/typing_app_decorators.py:20
Functionblock
()
examples/celery/src/task_app/tasks.py:13
Functionblock
()
examples/celery/src/task_app/views.py:30
Functionblue_deco_test
()
tests/test_blueprints.py:67
Functionblue_func_test
()
tests/test_blueprints.py:71
Methodblueprint
The registered name of the current blueprint. This will be ``None`` if the endpoint is not part of a blueprint, or if URL matching fa
src/flask/wrappers.py:162
Methodblueprints
The registered names of the current blueprint upwards through parent blueprints. This will be an empty list if there is no current bl
src/flask/wrappers.py:181
Functionboolean
(value)
tests/test_blueprints.py:554
Functionboolean
(value)
tests/test_templating.py:219
Functionbp_after
(response)
tests/test_async.py:132
Functionbp_before
()
tests/test_async.py:127
Functionbp_defaults
(endpoint, values)
tests/test_basic.py:1642
Functionbp_endpoint
()
tests/test_blueprints.py:716
Functionbp_error
()
tests/test_async.py:70
Functionbp_exception_handler
(e)
tests/test_user_error_handler.py:140
Functionbp_forbidden
()
tests/test_blueprints.py:94
Functionbp_forbidden_handler
(e)
tests/test_user_error_handler.py:173
Functionbp_forbidden_test
()
tests/test_user_error_handler.py:182
Functionbp_handle
(_)
tests/test_async.py:66
Functionbp_index
()
tests/test_async.py:61
Functionbp_page
()
tests/test_blueprints.py:655
Functionbp_registered_test
()
tests/test_user_error_handler.py:178
Functionbp_test
()
tests/test_user_error_handler.py:144
Functionbroken_func
()
tests/test_basic.py:906
Functionbump
()
tests/test_basic.py:476
Functioncatch_all
(path)
tests/test_basic.py:1454
Functioncatchall_exception_handler
(e)
tests/test_user_error_handler.py:188
← previousnext →301–400 of 1,195, ranked by callers