MCPcopy
hub / github.com/fastapi/fastapi / langs_json

Function langs_json

scripts/docs.py:591–596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

589
590@app.command()
591def langs_json():
592 langs = []
593 for lang_path in get_lang_paths():
594 if lang_path.is_dir() and lang_path.name in SUPPORTED_LANGS:
595 langs.append(lang_path.name)
596 print(json.dumps(langs))
597
598
599@app.command()

Callers

nothing calls this directly

Calls 2

get_lang_pathsFunction · 0.85
dumpsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…