Home / Function/ test_nested_exclude_simple() — fastapi Function Reference

test_nested_exclude_simple() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_response_model_include_exclude.py lines 138–144

def test_nested_exclude_simple():
    response = client.get("/simple_exclude")
    assert response.status_code == 200, response.text
    assert response.json() == {
        "baz": "simple_exclude model2 baz",
        "ref": {"foo": "simple_exclude model foo"},
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free