Home / Function/ test_nested_include_simple_dict() — fastapi Function Reference

test_nested_include_simple_dict() — fastapi Function Reference

Architecture documentation for the test_nested_include_simple_dict() function in test_response_model_include_exclude.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  96874afa_bf38_2766_3799_40069e324240["test_nested_include_simple_dict()"]
  e9d6e2c1_1fb5_3aa4_5028_7db5fa279f57["test_response_model_include_exclude.py"]
  96874afa_bf38_2766_3799_40069e324240 -->|defined in| e9d6e2c1_1fb5_3aa4_5028_7db5fa279f57
  style 96874afa_bf38_2766_3799_40069e324240 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_response_model_include_exclude.py lines 127–135

def test_nested_include_simple_dict():
    response = client.get("/simple_include_dict")

    assert response.status_code == 200, response.text

    assert response.json() == {
        "baz": "simple_include_dict model2 baz",
        "ref": {"foo": "simple_include_dict model foo"},
    }

Domain

Subdomains

Frequently Asked Questions

What does test_nested_include_simple_dict() do?
test_nested_include_simple_dict() is a function in the fastapi codebase, defined in tests/test_response_model_include_exclude.py.
Where is test_nested_include_simple_dict() defined?
test_nested_include_simple_dict() is defined in tests/test_response_model_include_exclude.py at line 127.

Analyze Your Own Codebase

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

Try Supermodel Free