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

Function pull_lang_code

tests/test_blueprints.py:159–160  ·  view source on GitHub ↗
(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("lang_code")
161
162 @bp.route("/")
163 def index():

Callers

nothing calls this directly

Calls 1

popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…