Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pallets/flask
/ functions
Functions
1,195 in github.com/pallets/flask
⨍
Functions
1,195
◇
Types & classes
136
↳
Endpoints
183
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
Function
a
()
tests/test_blueprints.py:907
Function
about
()
tests/test_blueprints.py:167
Function
about
()
tests/test_basic.py:1626
Function
action
()
tests/test_testing.py:253
Function
add
()
tests/test_json.py:198
Function
add
()
examples/javascript/js_example/views.py:15
Function
add
(a: int, b: int)
examples/celery/src/task_app/tasks.py:8
Function
add
()
examples/celery/src/task_app/views.py:22
Function
add_language_code
(endpoint, values)
tests/test_blueprints.py:155
Function
add_language_code
(endpoint, values)
tests/test_basic.py:1611
Method
add_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
Function
add_x_parachute
(f)
tests/test_views.py:81
Function
after
(response)
tests/test_async.py:115
Function
after1
(response)
tests/test_basic.py:834
Function
after2
(response)
tests/test_basic.py:839
Function
after_app
(response)
tests/test_blueprints.py:736
Method
after_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
Function
after_async
(response: Response)
tests/type_check/typing_app_decorators.py:15
Function
after_bp
(response)
tests/test_blueprints.py:705
Function
after_request
(response)
tests/test_basic.py:689
Method
after_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
Function
after_request_handler
(response)
tests/test_signals.py:66
Function
after_request_signal
(sender, response)
tests/test_signals.py:57
Function
after_sync
(response: Response)
tests/type_check/typing_app_decorators.py:10
Function
after_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
Function
allow_abort
()
tests/test_basic.py:1038
Function
answer_context_processor
()
tests/test_blueprints.py:650
Function
app
( environ: WSGIEnvironment, start_response: StartResponse )
src/flask/cli.py:969
Function
app
()
tests/conftest.py:46
Function
app
Create and configure a new app instance for each test.
examples/tutorial/tests/conftest.py:16
Method
app
(self, app)
tests/test_user_error_handler.py:224
Function
app_before1
()
tests/test_blueprints.py:847
Function
app_before2
()
tests/test_blueprints.py:855
Method
app_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
Function
app_ctx
()
tests/test_blueprints.py:863
Function
app_ctx
(app)
tests/conftest.py:56
Method
app_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
Function
app_exception_handler
(e)
tests/test_user_error_handler.py:148
Function
app_forbidden
(e)
tests/test_blueprints.py:38
Function
app_index
()
tests/test_blueprints.py:268
Function
app_page
()
tests/test_blueprints.py:659
Function
app_teardown1
(e=None)
tests/test_blueprints.py:851
Function
app_teardown2
(e=None)
tests/test_blueprints.py:859
Method
app_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
Method
app_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
Method
app_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
Function
app_test
()
tests/test_user_error_handler.py:152
Method
app_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
Method
app_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
Function
async_route
()
tests/type_check/typing_route.py:97
Function
attach_something
()
tests/test_basic.py:932
Function
auth
(client)
examples/tutorial/tests/conftest.py:61
Function
b
()
tests/test_blueprints.py:911
Function
backend_forbidden
(e)
tests/test_blueprints.py:22
Function
backend_no
()
tests/test_blueprints.py:26
Function
bar
(bar)
tests/test_blueprints.py:139
Function
bar
()
tests/test_basic.py:201
Function
bar_foo
()
tests/test_blueprints.py:311
Function
before
()
tests/test_async.py:110
Function
before1
()
tests/test_basic.py:826
Function
before2
()
tests/test_basic.py:830
Function
before_app
()
tests/test_blueprints.py:732
Method
before_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
Function
before_async
()
tests/type_check/typing_app_decorators.py:24
Function
before_bp
()
tests/test_blueprints.py:701
Function
before_request
()
tests/test_basic.py:685
Method
before_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
Function
before_request1
()
tests/test_basic.py:710
Function
before_request2
()
tests/test_basic.py:714
Function
before_request3
()
tests/test_basic.py:719
Function
before_request_handler
()
tests/test_signals.py:62
Function
before_request_signal
(sender)
tests/test_signals.py:54
Function
before_sync
()
tests/type_check/typing_app_decorators.py:20
Function
block
()
examples/celery/src/task_app/tasks.py:13
Function
block
()
examples/celery/src/task_app/views.py:30
Function
blue_deco_test
()
tests/test_blueprints.py:67
Function
blue_func_test
()
tests/test_blueprints.py:71
Method
blueprint
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
Method
blueprints
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
Function
boolean
(value)
tests/test_blueprints.py:554
Function
boolean
(value)
tests/test_templating.py:219
Function
bp_after
(response)
tests/test_async.py:132
Function
bp_before
()
tests/test_async.py:127
Function
bp_defaults
(endpoint, values)
tests/test_basic.py:1642
Function
bp_endpoint
()
tests/test_blueprints.py:716
Function
bp_error
()
tests/test_async.py:70
Function
bp_exception_handler
(e)
tests/test_user_error_handler.py:140
Function
bp_forbidden
()
tests/test_blueprints.py:94
Function
bp_forbidden_handler
(e)
tests/test_user_error_handler.py:173
Function
bp_forbidden_test
()
tests/test_user_error_handler.py:182
Function
bp_handle
(_)
tests/test_async.py:66
Function
bp_index
()
tests/test_async.py:61
Function
bp_page
()
tests/test_blueprints.py:655
Function
bp_registered_test
()
tests/test_user_error_handler.py:178
Function
bp_test
()
tests/test_user_error_handler.py:144
Function
broken_func
()
tests/test_basic.py:906
Function
bump
()
tests/test_basic.py:476
Function
catch_all
(path)
tests/test_basic.py:1454
Function
catchall_exception_handler
(e)
tests/test_user_error_handler.py:188
← previous
next →
301–400 of 1,195, ranked by callers