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