Home / Function/ prepare_paths() — fastapi Function Reference

prepare_paths() — fastapi Function Reference

Architecture documentation for the prepare_paths() function in conftest.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  7c3e4cf4_6910_4737_de2c_0497b467a205["prepare_paths()"]
  c3c69c60_8be1_6066_1beb_350569799fde["conftest.py"]
  7c3e4cf4_6910_4737_de2c_0497b467a205 -->|defined in| c3c69c60_8be1_6066_1beb_350569799fde
  style 7c3e4cf4_6910_4737_de2c_0497b467a205 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/tests/test_translation_fixer/conftest.py lines 26–32

def prepare_paths(runner):
    docs_dir = Path("docs")
    en_docs_dir = docs_dir / "en" / "docs"
    lang_docs_dir = docs_dir / "lang" / "docs"
    en_docs_dir.mkdir(parents=True, exist_ok=True)
    lang_docs_dir.mkdir(parents=True, exist_ok=True)
    yield Path.cwd()

Domain

Subdomains

Frequently Asked Questions

What does prepare_paths() do?
prepare_paths() is a function in the fastapi codebase, defined in scripts/tests/test_translation_fixer/conftest.py.
Where is prepare_paths() defined?
prepare_paths() is defined in scripts/tests/test_translation_fixer/conftest.py at line 26.

Analyze Your Own Codebase

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

Try Supermodel Free