MCPcopy
hub / github.com/pallets/flask / pull_lang_code

Function pull_lang_code

tests/test_blueprints.py:159–160  ·  tests/test_blueprints.py::pull_lang_code
(endpoint, values)

Source from the content-addressed store, hash-verified

157
158 @bp.url_value_preprocessor
159 def pull_lang_code(endpoint, values):
160 flask.g.lang_code = values.pop(class="st">"lang_code")
161
162 @bp.route(class="st">"/")
163 def index():

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected