Home / Function/ fix_all() — fastapi Function Reference

fix_all() — fastapi Function Reference

Architecture documentation for the fix_all() function in translation_fixer.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  88c99a39_762e_5baa_a001_836a4fd4f946["fix_all()"]
  99e3c039_dae8_2ebf_8149_637bcc119c08["translation_fixer.py"]
  88c99a39_762e_5baa_a001_836a4fd4f946 -->|defined in| 99e3c039_dae8_2ebf_8149_637bcc119c08
  6904af51_7d5c_0095_f5b2_cf3496b75b03["get_all_paths()"]
  88c99a39_762e_5baa_a001_836a4fd4f946 -->|calls| 6904af51_7d5c_0095_f5b2_cf3496b75b03
  8d7940c5_2d94_d372_3fa9_09a0650bdd5c["process_one_page()"]
  88c99a39_762e_5baa_a001_836a4fd4f946 -->|calls| 8d7940c5_2d94_d372_3fa9_09a0650bdd5c
  style 88c99a39_762e_5baa_a001_836a4fd4f946 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/translation_fixer.py lines 102–112

def fix_all(ctx: typer.Context, language: str):
    docs = get_all_paths(language)

    all_good = True
    for page in docs:
        doc_path = Path("docs") / language / "docs" / page
        res = process_one_page(doc_path)
        all_good = all_good and res

    if not all_good:
        raise typer.Exit(code=1)

Domain

Subdomains

Frequently Asked Questions

What does fix_all() do?
fix_all() is a function in the fastapi codebase, defined in scripts/translation_fixer.py.
Where is fix_all() defined?
fix_all() is defined in scripts/translation_fixer.py at line 102.
What does fix_all() call?
fix_all() calls 2 function(s): get_all_paths, process_one_page.

Analyze Your Own Codebase

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

Try Supermodel Free