MCPcopy
hub / github.com/pallets/click / set_language

Function set_language

tests/test_context.py:146–147  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

144 LANG_KEY = f"{__name__}.lang"
145
146 def set_language(value):
147 click.get_current_context().meta[LANG_KEY] = value
148
149 def get_language():
150 return click.get_current_context().meta.get(LANG_KEY, "en_US")

Callers 1

cliFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected