list_missing() — fastapi Function Reference
Architecture documentation for the list_missing() function in translate.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 352a3f05_1774_2335_4f6a_d2183182663e["list_missing()"] 6dda5e35_b655_8af3_cd89_8c1584a092c4["translate.py"] 352a3f05_1774_2335_4f6a_d2183182663e -->|defined in| 6dda5e35_b655_8af3_cd89_8c1584a092c4 1197b802_6f25_2a74_88df_75858855484e["add_missing()"] 1197b802_6f25_2a74_88df_75858855484e -->|calls| 352a3f05_1774_2335_4f6a_d2183182663e bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a["iter_en_paths_to_translate()"] 352a3f05_1774_2335_4f6a_d2183182663e -->|calls| bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a 08ab58ed_fb84_c0ad_0e2e_b521607ca3c9["generate_lang_path()"] 352a3f05_1774_2335_4f6a_d2183182663e -->|calls| 08ab58ed_fb84_c0ad_0e2e_b521607ca3c9 style 352a3f05_1774_2335_4f6a_d2183182663e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
scripts/translate.py lines 315–323
def list_missing(language: str) -> list[Path]:
missing_paths: list[Path] = []
en_lang_paths = list(iter_en_paths_to_translate())
for path in en_lang_paths:
lang_path = generate_lang_path(lang=language, path=path)
if not lang_path.exists():
missing_paths.append(path)
print(missing_paths)
return missing_paths
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does list_missing() do?
list_missing() is a function in the fastapi codebase, defined in scripts/translate.py.
Where is list_missing() defined?
list_missing() is defined in scripts/translate.py at line 315.
What does list_missing() call?
list_missing() calls 2 function(s): generate_lang_path, iter_en_paths_to_translate.
What calls list_missing()?
list_missing() is called by 1 function(s): add_missing.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free