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
return_dict
()
tests/test_json.py:96
Function
return_json
()
tests/test_json.py:32
Function
return_kwargs
()
tests/test_json.py:92
Function
return_something
(error)
tests/test_basic.py:936
Function
return_template
(name: str | None = None)
tests/type_check/typing_route.py:87
Function
return_template_stream
()
tests/type_check/typing_route.py:92
Function
root
()
tests/test_basic.py:757
Function
routes_command
Show all registered routes with endpoints and methods.
src/flask/cli.py:1067
Function
run_command
Run a local development server. This server is for development purposes only. It does not provide the stability, security, or performance of
src/flask/cli.py:941
Function
run_simple_mock
(*args, **kwargs)
tests/test_basic.py:1601
Function
run_simple_mock
(*args, **kwargs)
tests/test_templating.py:395
Function
runner
()
tests/test_cli.py:37
Function
runner
A test runner for the app's Click commands.
examples/tutorial/tests/conftest.py:42
Method
save_session
( self, app: Flask, session: SessionMixin, response: Response )
src/flask/sessions.py:350
Method
save_session
(self, app, session, response)
tests/test_session_interface.py:13
Method
select_jinja_autoescape
Returns ``True`` if autoescaping should be active for the given template name. If no template name is given, returns `True`. .. versi
src/flask/sansio/app.py:536
Function
send_file
Send the contents of a file to the client. The first argument can be a file path or a file-like object. Paths are preferred in most cases bec
src/flask/helpers.py:400
Method
send_static_file
The view function used to serve files from :attr:`static_folder`. A route is automatically registered for this view at :attr:`static_u
src/flask/blueprints.py:82
Function
set
()
tests/test_reqctx.py:246
Function
set_dynamic_cookie
()
tests/test_reqctx.py:256
Function
set_session
()
tests/test_basic.py:376
Function
setdefault
()
tests/test_basic.py:528
Method
setdefault
(self, key: str, default: t.Any = None)
src/flask/sessions.py:92
Function
setup
(app)
docs/conf.py:96
Function
setupmethod
(f: F)
src/flask/sansio/scaffold.py:42
Function
shell_command
Run an interactive Python shell in the context of a given Flask application. The application will populate the default namespace of this shel
src/flask/cli.py:1007
Method
shell_context_processor
Registers a shell context processor function. .. versionadded:: 0.11
src/flask/sansio/app.py:813
Function
show
()
tests/test_cli.py:391
Function
sideend_no
()
tests/test_blueprints.py:30
Function
site_packages
Create a fake site-packages.
tests/conftest.py:146
Function
slash
()
tests/test_user_error_handler.py:203
Function
something
(page)
tests/test_blueprints.py:286
Function
something_else
()
tests/test_basic.py:1630
Method
static_folder
The absolute path to the configured static folder. ``None`` if no static folder is set.
src/flask/sansio/scaffold.py:224
Method
static_url_path
The URL prefix that the static route will be accessible from. If it was not configured during init, it is derived from :attr:`static_
src/flask/sansio/scaffold.py:249
Function
stream_template_string
Render a template from the given source string with the given context as a stream. This returns an iterator of strings, which can be used as a
src/flask/templating.py:207
Function
sub
()
tests/test_reqctx.py:71
Function
subclass_exception_handler
(e)
tests/test_user_error_handler.py:113
Function
subdomain
()
tests/test_basic.py:1538
Function
subgroup
()
tests/test_cli.py:330
Function
super_reverse
(s)
tests/test_blueprints.py:418
Function
super_reverse
(s)
tests/test_templating.py:165
Function
teardown_app
(exc)
tests/test_blueprints.py:742
Function
teardown_app
(error=None)
tests/test_appctx.py:175
Method
teardown_app_request
Like :meth:`teardown_request`, but after every request, not only those handled by the blueprint. Equivalent to :meth:`.Flask.teardown_request`
src/flask/sansio/blueprints.py:574
Function
teardown_async
(exc: BaseException | None)
tests/type_check/typing_app_decorators.py:32
Function
teardown_bp
(exc)
tests/test_blueprints.py:711
Function
teardown_req
(error=None)
tests/test_appctx.py:171
Function
teardown_request
(exc)
tests/test_basic.py:752
Method
teardown_request
Register a function to be called when the request context is popped. Typically this happens at the end of each request, but contexts m
src/flask/sansio/scaffold.py:508
Function
teardown_request1
(exc)
tests/test_basic.py:789
Function
teardown_request2
(exc)
tests/test_basic.py:801
Function
teardown_sync
(exc: BaseException | None)
tests/type_check/typing_app_decorators.py:28
Method
template_filter
A decorator that is used to register custom template filter. You can specify a name for the filter, otherwise the function name will b
src/flask/sansio/app.py:664
Method
template_global
A decorator that is used to register a custom template global function. You can specify a name for the global function, otherwise the function
src/flask/sansio/app.py:741
Method
template_test
A decorator that is used to register custom template test. You can specify a name for the test, otherwise the function name will be us
src/flask/sansio/app.py:698
Function
test
()
tests/test_basic.py:405
Function
test
()
tests/test_regression.py:17
Function
test
()
tests/test_cli.py:326
Function
test2
()
tests/test_cli.py:334
Function
test_abort_no_app
()
tests/test_helpers.py:188
Function
test_abort_with_app
(app)
tests/test_helpers.py:207
Function
test_aborting
(app)
tests/test_regression.py:4
Function
test_add
(client, a, b, result)
examples/javascript/tests/test_js_example.py:25
Function
test_add_template_filter
(app)
tests/test_blueprints.py:375
Function
test_add_template_filter
(app)
tests/test_templating.py:133
Function
test_add_template_filter_with_name
(app)
tests/test_blueprints.py:401
Function
test_add_template_filter_with_name
(app)
tests/test_templating.py:153
Function
test_add_template_filter_with_name_and_template
(app, client)
tests/test_blueprints.py:481
Function
test_add_template_filter_with_name_and_template
(app, client)
tests/test_templating.py:203
Function
test_add_template_filter_with_template
(app, client)
tests/test_blueprints.py:447
Function
test_add_template_filter_with_template
(app, client)
tests/test_templating.py:176
Function
test_add_template_global
(app, app_ctx)
tests/test_templating.py:311
Function
test_add_template_test
(app)
tests/test_blueprints.py:511
Function
test_add_template_test
(app)
tests/test_templating.py:227
Function
test_add_template_test_with_name
(app)
tests/test_blueprints.py:537
Function
test_add_template_test_with_name
(app)
tests/test_templating.py:247
Function
test_add_template_test_with_name_and_template
(app, client)
tests/test_blueprints.py:617
Function
test_add_template_test_with_name_and_template
(app, client)
tests/test_templating.py:297
Function
test_add_template_test_with_template
(app, client)
tests/test_blueprints.py:583
Function
test_add_template_test_with_template
(app, client)
tests/test_templating.py:270
Function
test_after_request_processing
(app, client)
tests/test_basic.py:733
Method
test_all_methods
(self, invoke)
tests/test_cli.py:489
Function
test_app_aborter_class
()
tests/test_helpers.py:196
Function
test_app_cli_has_app_context
(app, runner)
tests/test_cli.py:289
Function
test_app_context_provides_current_app
(app)
tests/test_appctx.py:38
Function
test_app_ctx_globals_methods
(app, app_ctx)
tests/test_appctx.py:134
Function
test_app_freed_on_zero_refcount
()
tests/test_basic.py:1925
Function
test_app_request_processing
(app, client)
tests/test_blueprints.py:727
Function
test_app_tearing_down
(app)
tests/test_appctx.py:44
Function
test_app_tearing_down_with_handled_exception_by_app_handler
(app, client)
tests/test_appctx.py:91
Function
test_app_tearing_down_with_handled_exception_by_except_block
(app)
tests/test_appctx.py:75
Function
test_app_tearing_down_with_previous_exception
(app)
tests/test_appctx.py:57
Function
test_app_tearing_down_with_unhandled_exception
(app, client)
tests/test_appctx.py:113
Function
test_app_url_processors
(app, client)
tests/test_blueprints.py:766
Function
test_appcontext_signals
(app, client)
tests/test_signals.py:115
Function
test_appcontext_tearing_down_signal
(app, client)
tests/test_signals.py:163
Function
test_appgroup_app_context
(runner)
tests/test_cli.py:320
Function
test_apps
(monkeypatch)
tests/conftest.py:73
Function
test_async_before_after_request
()
tests/test_async.py:97
← previous
next →
701–800 of 1,195, ranked by callers