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
catchall_forbidden_handler
(e)
tests/test_user_error_handler.py:194
Function
catcher
(error)
tests/test_request.py:18
Function
check
(value)
tests/test_cli.py:296
Function
check
(sender, template, context)
examples/javascript/tests/test_js_example.py:15
Method
check
(self, value: t.Any)
src/flask/json/tag.py:103
Method
check
(self, value: t.Any)
src/flask/json/tag.py:122
Method
check
(self, value: t.Any)
src/flask/json/tag.py:137
Method
check
(self, value: t.Any)
src/flask/json/tag.py:150
Method
check
(self, value: t.Any)
src/flask/json/tag.py:163
Method
check
(self, value: t.Any)
src/flask/json/tag.py:181
Method
check
(self, value: t.Any)
src/flask/json/tag.py:195
Method
check
(self, value: t.Any)
src/flask/json/tag.py:209
Method
check
(self, value)
tests/test_json_tag.py:52
Function
child_before1
()
tests/test_blueprints.py:887
Function
child_before2
()
tests/test_blueprints.py:895
Function
child_ctx
()
tests/test_blueprints.py:903
Function
child_exception_handler
(e)
tests/test_user_error_handler.py:77
Function
child_index
()
tests/test_blueprints.py:811
Function
child_no
()
tests/test_blueprints.py:815
Function
child_teardown1
(e=None)
tests/test_blueprints.py:891
Function
child_teardown2
(e=None)
tests/test_blueprints.py:899
Function
cleanup
(exception)
tests/test_appctx.py:48
Function
clear
()
tests/test_basic.py:309
Function
cli
()
tests/test_cli.py:322
Function
client
(app)
tests/conftest.py:68
Function
client
A test client for the app.
examples/tutorial/tests/conftest.py:36
Function
client
(app)
examples/javascript/tests/conftest.py:14
Function
close_db
If this request connected to the database, close the connection.
examples/tutorial/flaskr/db.py:23
Function
code_exception_handler
(e)
tests/test_user_error_handler.py:108
Function
context_processor
()
tests/test_templating.py:13
Method
context_processor
Registers a template context processor function. These functions run before rendering a template. The keys of the returned dict are added as v
src/flask/sansio/scaffold.py:542
Method
convert
( self, value: t.Any, param: click.Parameter | None, ctx: click.Context | None )
src/flask/cli.py:797
Method
convert
( self, value: t.Any, param: click.Parameter | None, ctx: click.Context | None )
src/flask/cli.py:879
Function
copy_current_request_context
A helper function that decorates a function to retain the current request context. This is useful when working with greenlets. The moment th
src/flask/ctx.py:155
Function
create
Create a new post for the current user.
examples/tutorial/flaskr/blog.py:62
Function
create_app
()
tests/test_cli.py:265
Function
create_app
()
tests/test_testing.py:368
Function
create_app
()
tests/test_apps/cliapp/factory.py:4
Function
create_app2
(foo, bar)
tests/test_apps/cliapp/factory.py:8
Method
create_global_jinja_loader
(self)
tests/test_templating.py:326
Method
create_jinja_environment
Create the Jinja environment based on :attr:`jinja_options` and the various Jinja-related methods of the app. Changing :attr:`jinja_op
src/flask/app.py:385
Function
custom_command
()
tests/test_cli.py:656
Function
custom_exception_handler
(e)
tests/test_user_error_handler.py:15
Function
custom_test
()
tests/test_user_error_handler.py:44
Method
debug
Whether debug mode is enabled. When using ``flask run`` to start the development server, an interactive debugger will be shown for unhandled
src/flask/sansio/app.py:550
Function
decorator
(*args: t.Any, **kwargs: t.Any)
src/flask/helpers.py:102
Method
decorator
(f: t.Callable[..., t.Any])
src/flask/cli.py:422
Method
decorator
(f: T_route)
src/flask/sansio/scaffold.py:360
Method
decorator
(f: T_template_filter)
src/flask/sansio/app.py:679
Method
decorator
(f: T_template_filter)
src/flask/sansio/blueprints.py:454
Function
default
(o)
tests/test_json.py:228
Function
delete
Delete a post. Ensures that the post exists and that the logged in user is the author of the post.
examples/tutorial/flaskr/blog.py:115
Method
delete
Shortcut for :meth:`route` with ``methods=["DELETE"]``. .. versionadded:: 2.0
src/flask/sansio/scaffold.py:320
Method
delete
(self)
tests/test_views.py:71
Method
dispatch_request
The actual view function behavior. Subclasses must override this and return a valid response. Any variables from the URL rule are pass
src/flask/views.py:78
Method
dispatch_request
(self, **kwargs: t.Any)
src/flask/views.py:182
Method
dispatch_request
(self)
tests/test_async.py:25
Method
dispatch_request
(self)
tests/test_views.py:21
Method
dispatch_request
(self)
tests/test_views.py:107
Method
dispatch_request
(self)
tests/test_views.py:121
Method
dispatch_request
(self)
tests/test_views.py:132
Method
dispatch_request
(self)
tests/test_views.py:255
Method
dispatch_request
(self: RenderTemplateView)
tests/type_check/typing_route.py:105
Function
do_abort
()
tests/test_user_error_handler.py:52
Method
do_abort
()
tests/test_user_error_handler.py:234
Method
do_custom
()
tests/test_user_error_handler.py:226
Method
do_error
()
tests/test_user_error_handler.py:230
Method
do_raise
()
tests/test_user_error_handler.py:238
Method
dst
(self, dt)
tests/test_json.py:162
Function
dump
Serialize data as JSON and write to a file. If :data:`~flask.current_app` is available, it will use its :meth:`app.json.dump() <flask.json.pr
src/flask/json/__init__.py:47
Function
dump_session_contents
()
tests/test_basic.py:434
Function
echo
()
tests/test_testing.py:265
Function
end_of_request
(exception)
tests/test_reqctx.py:20
Method
endpoint
The endpoint that matched the request URL. This will be ``None`` if matching failed or has not been performed yet. This in c
src/flask/wrappers.py:147
Method
endpoint
Decorate a view function to register it for the given endpoint. Used if a rule is added without a ``view_func`` with :meth:`add_url_ru
src/flask/sansio/scaffold.py:436
Function
error
()
tests/test_blueprints.py:1026
Function
error
()
tests/test_basic.py:880
Function
error
()
tests/test_async.py:55
Function
error2
()
tests/test_basic.py:884
Function
fail
()
tests/test_basic.py:1034
Function
fails
()
tests/test_basic.py:813
Function
fake_init_db
()
examples/tutorial/tests/test_db.py:23
Function
finish1
(exc)
tests/test_basic.py:844
Function
finish2
(exc)
tests/test_basic.py:848
Function
fixture_app
()
examples/javascript/tests/conftest.py:7
Function
foo
(bar, baz)
tests/test_blueprints.py:135
Function
foo
(response)
tests/test_basic.py:737
Function
foo_bar
()
tests/test_blueprints.py:303
Function
foo_bar_foo
()
tests/test_blueprints.py:307
Function
foobar
()
tests/test_blueprints.py:353
Function
for_bar
()
tests/test_basic.py:1714
Function
for_bar_foo
()
tests/test_basic.py:1718
Function
forbidden
(e)
tests/test_blueprints.py:799
Function
forbidden
(e)
tests/test_basic.py:872
Function
forbidden
()
tests/test_user_error_handler.py:199
Function
forbidden_handler
(e)
tests/test_blueprints.py:84
Function
forbidden_test
()
tests/test_user_error_handler.py:118
Function
from_bad_type
()
tests/test_basic.py:1226
Function
from_bad_wsgi
()
tests/test_basic.py:1230
Method
from_blueprint
(state: BlueprintSetupState)
src/flask/sansio/blueprints.py:604
← previous
next →
401–500 of 1,195, ranked by callers