MCPcopy Index your code
hub / github.com/fastapi/fastapi / complete_existing_lang

Function complete_existing_lang

scripts/docs.py:119–123  ·  view source on GitHub ↗
(incomplete: str)

Source from the content-addressed store, hash-verified

117
118
119def complete_existing_lang(incomplete: str):
120 lang_path: Path
121 for lang_path in get_lang_paths():
122 if lang_path.is_dir() and lang_path.name.startswith(incomplete):
123 yield lang_path.name
124
125
126@app.callback()

Callers

nothing calls this directly

Calls 1

get_lang_pathsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…