MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / get_language_names

Function get_language_names

main.py:357–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

355 return sorted(tutorial_data[get_host()].keys())
356
357def get_language_names():
358 arr = []
359 langs = get_languages()
360 for lang in langs:
361 arr.append(LANGUAGES.get(lang))
362 return arr
363
364def get_host():
365 if is_development_mode() or "ondigitalocean.app" in request.host:

Callers 2

error404Function · 0.85
indexFunction · 0.85

Calls 3

get_languagesFunction · 0.85
appendMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected