MCPcopy Create free account
hub / github.com/pallets/flask / attach_something

Function attach_something

tests/test_basic.py:932–933  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

930def test_before_request_and_routing_errors(app, client):
931 @app.before_request
932 def attach_something():
933 flask.g.something = "value"
934
935 @app.errorhandler(404)
936 def return_something(error):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected