Home / Function/ list_removable() — fastapi Function Reference

list_removable() — fastapi Function Reference

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

Function python FastAPI Applications calls 1 called by 2

Entity Profile

Dependency Diagram

graph TD
  1029873d_24b6_13bb_abff_e1b1e042ff39["list_removable()"]
  6dda5e35_b655_8af3_cd89_8c1584a092c4["translate.py"]
  1029873d_24b6_13bb_abff_e1b1e042ff39 -->|defined in| 6dda5e35_b655_8af3_cd89_8c1584a092c4
  675ccbcc_eae2_1ff6_9bc0_6015347694a3["list_all_removable()"]
  675ccbcc_eae2_1ff6_9bc0_6015347694a3 -->|calls| 1029873d_24b6_13bb_abff_e1b1e042ff39
  b90258d0_489e_7977_26fc_5ddfa6d9abdd["remove_removable()"]
  b90258d0_489e_7977_26fc_5ddfa6d9abdd -->|calls| 1029873d_24b6_13bb_abff_e1b1e042ff39
  92770808_54ce_f72b_7227_d481001db885["generate_en_path()"]
  1029873d_24b6_13bb_abff_e1b1e042ff39 -->|calls| 92770808_54ce_f72b_7227_d481001db885
  style 1029873d_24b6_13bb_abff_e1b1e042ff39 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/translate.py lines 272–280

def list_removable(language: str) -> list[Path]:
    removable_paths: list[Path] = []
    lang_paths = Path(f"docs/{language}").rglob("*.md")
    for path in lang_paths:
        en_path = generate_en_path(lang=language, path=path)
        if not en_path.exists():
            removable_paths.append(path)
    print(removable_paths)
    return removable_paths

Domain

Subdomains

Frequently Asked Questions

What does list_removable() do?
list_removable() is a function in the fastapi codebase, defined in scripts/translate.py.
Where is list_removable() defined?
list_removable() is defined in scripts/translate.py at line 272.
What does list_removable() call?
list_removable() calls 1 function(s): generate_en_path.
What calls list_removable()?
list_removable() is called by 2 function(s): list_all_removable, remove_removable.

Analyze Your Own Codebase

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

Try Supermodel Free