MCPcopy Create free account

hub / github.com/pallets/flask / functions

Functions1,195 in github.com/pallets/flask

Functionreturn_dict
()
tests/test_json.py:96
Functionreturn_json
()
tests/test_json.py:32
Functionreturn_kwargs
()
tests/test_json.py:92
Functionreturn_something
(error)
tests/test_basic.py:936
Functionreturn_template
(name: str | None = None)
tests/type_check/typing_route.py:87
Functionreturn_template_stream
()
tests/type_check/typing_route.py:92
Functionroot
()
tests/test_basic.py:757
Functionroutes_command
Show all registered routes with endpoints and methods.
src/flask/cli.py:1067
Functionrun_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
Functionrun_simple_mock
(*args, **kwargs)
tests/test_basic.py:1601
Functionrun_simple_mock
(*args, **kwargs)
tests/test_templating.py:395
Functionrunner
()
tests/test_cli.py:37
Functionrunner
A test runner for the app's Click commands.
examples/tutorial/tests/conftest.py:42
Methodsave_session
( self, app: Flask, session: SessionMixin, response: Response )
src/flask/sessions.py:350
Methodsave_session
(self, app, session, response)
tests/test_session_interface.py:13
Methodselect_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
Functionsend_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
Methodsend_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
Functionset
()
tests/test_reqctx.py:246
Functionset_dynamic_cookie
()
tests/test_reqctx.py:256
Functionset_session
()
tests/test_basic.py:376
Functionsetdefault
()
tests/test_basic.py:528
Methodsetdefault
(self, key: str, default: t.Any = None)
src/flask/sessions.py:92
Functionsetup
(app)
docs/conf.py:96
Functionsetupmethod
(f: F)
src/flask/sansio/scaffold.py:42
Functionshell_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
Methodshell_context_processor
Registers a shell context processor function. .. versionadded:: 0.11
src/flask/sansio/app.py:813
Functionshow
()
tests/test_cli.py:391
Functionsideend_no
()
tests/test_blueprints.py:30
Functionsite_packages
Create a fake site-packages.
tests/conftest.py:146
Functionslash
()
tests/test_user_error_handler.py:203
Functionsomething
(page)
tests/test_blueprints.py:286
Functionsomething_else
()
tests/test_basic.py:1630
Methodstatic_folder
The absolute path to the configured static folder. ``None`` if no static folder is set.
src/flask/sansio/scaffold.py:224
Methodstatic_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
Functionstream_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
Functionsub
()
tests/test_reqctx.py:71
Functionsubclass_exception_handler
(e)
tests/test_user_error_handler.py:113
Functionsubdomain
()
tests/test_basic.py:1538
Functionsubgroup
()
tests/test_cli.py:330
Functionsuper_reverse
(s)
tests/test_blueprints.py:418
Functionsuper_reverse
(s)
tests/test_templating.py:165
Functionteardown_app
(exc)
tests/test_blueprints.py:742
Functionteardown_app
(error=None)
tests/test_appctx.py:175
Methodteardown_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
Functionteardown_async
(exc: BaseException | None)
tests/type_check/typing_app_decorators.py:32
Functionteardown_bp
(exc)
tests/test_blueprints.py:711
Functionteardown_req
(error=None)
tests/test_appctx.py:171
Functionteardown_request
(exc)
tests/test_basic.py:752
Methodteardown_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
Functionteardown_request1
(exc)
tests/test_basic.py:789
Functionteardown_request2
(exc)
tests/test_basic.py:801
Functionteardown_sync
(exc: BaseException | None)
tests/type_check/typing_app_decorators.py:28
Methodtemplate_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
Methodtemplate_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
Methodtemplate_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
Functiontest
()
tests/test_basic.py:405
Functiontest
()
tests/test_regression.py:17
Functiontest
()
tests/test_cli.py:326
Functiontest2
()
tests/test_cli.py:334
Functiontest_abort_no_app
()
tests/test_helpers.py:188
Functiontest_abort_with_app
(app)
tests/test_helpers.py:207
Functiontest_aborting
(app)
tests/test_regression.py:4
Functiontest_add
(client, a, b, result)
examples/javascript/tests/test_js_example.py:25
Functiontest_add_template_filter
(app)
tests/test_blueprints.py:375
Functiontest_add_template_filter
(app)
tests/test_templating.py:133
Functiontest_add_template_filter_with_name
(app)
tests/test_blueprints.py:401
Functiontest_add_template_filter_with_name
(app)
tests/test_templating.py:153
Functiontest_add_template_filter_with_name_and_template
(app, client)
tests/test_blueprints.py:481
Functiontest_add_template_filter_with_name_and_template
(app, client)
tests/test_templating.py:203
Functiontest_add_template_filter_with_template
(app, client)
tests/test_blueprints.py:447
Functiontest_add_template_filter_with_template
(app, client)
tests/test_templating.py:176
Functiontest_add_template_global
(app, app_ctx)
tests/test_templating.py:311
Functiontest_add_template_test
(app)
tests/test_blueprints.py:511
Functiontest_add_template_test
(app)
tests/test_templating.py:227
Functiontest_add_template_test_with_name
(app)
tests/test_blueprints.py:537
Functiontest_add_template_test_with_name
(app)
tests/test_templating.py:247
Functiontest_add_template_test_with_name_and_template
(app, client)
tests/test_blueprints.py:617
Functiontest_add_template_test_with_name_and_template
(app, client)
tests/test_templating.py:297
Functiontest_add_template_test_with_template
(app, client)
tests/test_blueprints.py:583
Functiontest_add_template_test_with_template
(app, client)
tests/test_templating.py:270
Functiontest_after_request_processing
(app, client)
tests/test_basic.py:733
Methodtest_all_methods
(self, invoke)
tests/test_cli.py:489
Functiontest_app_aborter_class
()
tests/test_helpers.py:196
Functiontest_app_cli_has_app_context
(app, runner)
tests/test_cli.py:289
Functiontest_app_context_provides_current_app
(app)
tests/test_appctx.py:38
Functiontest_app_ctx_globals_methods
(app, app_ctx)
tests/test_appctx.py:134
Functiontest_app_freed_on_zero_refcount
()
tests/test_basic.py:1925
Functiontest_app_request_processing
(app, client)
tests/test_blueprints.py:727
Functiontest_app_tearing_down
(app)
tests/test_appctx.py:44
Functiontest_app_tearing_down_with_handled_exception_by_app_handler
(app, client)
tests/test_appctx.py:91
Functiontest_app_tearing_down_with_handled_exception_by_except_block
(app)
tests/test_appctx.py:75
Functiontest_app_tearing_down_with_previous_exception
(app)
tests/test_appctx.py:57
Functiontest_app_tearing_down_with_unhandled_exception
(app, client)
tests/test_appctx.py:113
Functiontest_app_url_processors
(app, client)
tests/test_blueprints.py:766
Functiontest_appcontext_signals
(app, client)
tests/test_signals.py:115
Functiontest_appcontext_tearing_down_signal
(app, client)
tests/test_signals.py:163
Functiontest_appgroup_app_context
(runner)
tests/test_cli.py:320
Functiontest_apps
(monkeypatch)
tests/conftest.py:73
Functiontest_async_before_after_request
()
tests/test_async.py:97
← previousnext →701–800 of 1,195, ranked by callers