Home / Function/ get_authors() — fastapi Function Reference

get_authors() — fastapi Function Reference

Architecture documentation for the get_authors() function in tutorial003_py39.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  f5beaee8_f9d4_9666_d8e8_50134b1ec0d6["get_authors()"]
  3734bafa_43cf_440d_a6ca_1b8941b24432["tutorial003_py39.py"]
  f5beaee8_f9d4_9666_d8e8_50134b1ec0d6 -->|defined in| 3734bafa_43cf_440d_a6ca_1b8941b24432
  style f5beaee8_f9d4_9666_d8e8_50134b1ec0d6 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

docs_src/dataclasses_/tutorial003_py39.py lines 29–55

def get_authors():  # (8)
    return [  # (9)
        {
            "name": "Breaters",
            "items": [
                {
                    "name": "Island In The Moon",
                    "description": "A place to be playin' and havin' fun",
                },
                {"name": "Holy Buddies"},
            ],
        },
        {
            "name": "System of an Up",
            "items": [
                {
                    "name": "Salt",
                    "description": "The kombucha mushroom people's favorite",
                },
                {"name": "Pad Thai"},
                {
                    "name": "Lonely Night",
                    "description": "The mostests lonliest nightiest of allest",
                },
            ],
        },
    ]

Domain

Subdomains

Frequently Asked Questions

What does get_authors() do?
get_authors() is a function in the fastapi codebase, defined in docs_src/dataclasses_/tutorial003_py39.py.
Where is get_authors() defined?
get_authors() is defined in docs_src/dataclasses_/tutorial003_py39.py at line 29.

Analyze Your Own Codebase

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

Try Supermodel Free