Home / Function/ say_hi() — fastapi Function Reference

say_hi() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  1ae75cc3_22bd_bd8d_4649_7d89ac28d459["say_hi()"]
  78efab31_7f81_3219_2bcd_16d4a799a860["tutorial009b_py39.py"]
  1ae75cc3_22bd_bd8d_4649_7d89ac28d459 -->|defined in| 78efab31_7f81_3219_2bcd_16d4a799a860
  style 1ae75cc3_22bd_bd8d_4649_7d89ac28d459 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

docs_src/python_types/tutorial009b_py39.py lines 4–8

def say_hi(name: Union[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/tutorial009b_py39.py.
Where is say_hi() defined?
say_hi() is defined in docs_src/python_types/tutorial009b_py39.py at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free