Home / Function/ get_no_response_model_objectlist() — fastapi Function Reference

get_no_response_model_objectlist() — fastapi Function Reference

Architecture documentation for the get_no_response_model_objectlist() function in test_serialize_response_dataclass.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  fc2e8ab2_d631_3225_b4c9_09fc2ab399ea["get_no_response_model_objectlist()"]
  cc2e05a7_3368_3936_0f86_18c75f23ff0c["test_serialize_response_dataclass.py"]
  fc2e8ab2_d631_3225_b4c9_09fc2ab399ea -->|defined in| cc2e05a7_3368_3936_0f86_18c75f23ff0c
  style fc2e8ab2_d631_3225_b4c9_09fc2ab399ea fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_serialize_response_dataclass.py lines 67–72

def get_no_response_model_objectlist():
    return [
        Item(name="foo", date=datetime(2021, 7, 26)),
        Item(name="bar", date=datetime(2021, 7, 26), price=1.0),
        Item(name="baz", date=datetime(2021, 7, 26), price=2.0, owner_ids=[1, 2, 3]),
    ]

Domain

Subdomains

Frequently Asked Questions

What does get_no_response_model_objectlist() do?
get_no_response_model_objectlist() is a function in the fastapi codebase, defined in tests/test_serialize_response_dataclass.py.
Where is get_no_response_model_objectlist() defined?
get_no_response_model_objectlist() is defined in tests/test_serialize_response_dataclass.py at line 67.

Analyze Your Own Codebase

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

Try Supermodel Free