Home / Function/ iter_en_paths_to_translate() — fastapi Function Reference

iter_en_paths_to_translate() — fastapi Function Reference

Architecture documentation for the iter_en_paths_to_translate() function in translate.py from the fastapi codebase.

Function python FastAPI Routing calls 1 called by 3

Entity Profile

Dependency Diagram

graph TD
  bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a["iter_en_paths_to_translate()"]
  6dda5e35_b655_8af3_cd89_8c1584a092c4["translate.py"]
  bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a -->|defined in| 6dda5e35_b655_8af3_cd89_8c1584a092c4
  a668556d_47cb_523f_1e1d_60be6b0d8519["translate_lang()"]
  a668556d_47cb_523f_1e1d_60be6b0d8519 -->|calls| bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a
  352a3f05_1774_2335_4f6a_d2183182663e["list_missing()"]
  352a3f05_1774_2335_4f6a_d2183182663e -->|calls| bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a
  eb35a9a2_2f96_3d51_2678_3143960195b2["list_outdated()"]
  eb35a9a2_2f96_3d51_2678_3143960195b2 -->|calls| bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a
  b0eae767_88dd_ba23_b36d_fc62457265bb["iter_all_en_paths()"]
  bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a -->|calls| b0eae767_88dd_ba23_b36d_fc62457265bb
  style bc2c2b41_a3df_bfc0_e27e_63cb9f8d8f0a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/translate.py lines 175–180

def iter_en_paths_to_translate() -> Iterable[Path]:
    en_docs_root = Path("docs/en/docs/")
    for path in iter_all_en_paths():
        relpath = path.relative_to(en_docs_root)
        if not str(relpath).startswith(non_translated_sections):
            yield path

Domain

Subdomains

Frequently Asked Questions

What does iter_en_paths_to_translate() do?
iter_en_paths_to_translate() is a function in the fastapi codebase, defined in scripts/translate.py.
Where is iter_en_paths_to_translate() defined?
iter_en_paths_to_translate() is defined in scripts/translate.py at line 175.
What does iter_en_paths_to_translate() call?
iter_en_paths_to_translate() calls 1 function(s): iter_all_en_paths.
What calls iter_en_paths_to_translate()?
iter_en_paths_to_translate() is called by 3 function(s): list_missing, list_outdated, translate_lang.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free