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