test_nested_include_simple() — fastapi Function Reference
Architecture documentation for the test_nested_include_simple() function in test_response_model_include_exclude.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 3f3e8d0d_c14b_8bb4_0a51_df5a2dcd08b1["test_nested_include_simple()"] e9d6e2c1_1fb5_3aa4_5028_7db5fa279f57["test_response_model_include_exclude.py"] 3f3e8d0d_c14b_8bb4_0a51_df5a2dcd08b1 -->|defined in| e9d6e2c1_1fb5_3aa4_5028_7db5fa279f57 style 3f3e8d0d_c14b_8bb4_0a51_df5a2dcd08b1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_response_model_include_exclude.py lines 116–124
def test_nested_include_simple():
response = client.get("/simple_include")
assert response.status_code == 200, response.text
assert response.json() == {
"baz": "simple_include model2 baz",
"ref": {"foo": "simple_include model foo"},
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_nested_include_simple() do?
test_nested_include_simple() is a function in the fastapi codebase, defined in tests/test_response_model_include_exclude.py.
Where is test_nested_include_simple() defined?
test_nested_include_simple() is defined in tests/test_response_model_include_exclude.py at line 116.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free