Home / Function/ say_hi() — fastapi Function Reference

say_hi() — fastapi Function Reference

Architecture documentation for the say_hi() function in tutorial009_py310.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  41e46c45_4299_af9c_89f2_811295c64cc0["say_hi()"]
  05683afc_ed8b_15d1_fbaf_02e73b0c99df["tutorial009_py310.py"]
  41e46c45_4299_af9c_89f2_811295c64cc0 -->|defined in| 05683afc_ed8b_15d1_fbaf_02e73b0c99df
  style 41e46c45_4299_af9c_89f2_811295c64cc0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

docs_src/python_types/tutorial009_py310.py lines 1–5

def say_hi(name: str | None = None):
    if name is not None:
        print(f"Hey {name}!")
    else:
        print("Hello World")

Domain

Subdomains

Frequently Asked Questions

What does say_hi() do?
say_hi() is a function in the fastapi codebase, defined in docs_src/python_types/tutorial009_py310.py.
Where is say_hi() defined?
say_hi() is defined in docs_src/python_types/tutorial009_py310.py at line 1.

Analyze Your Own Codebase

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

Try Supermodel Free