Home / Function/ simple_include_dict() — fastapi Function Reference

simple_include_dict() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_response_model_include_exclude.py lines 42–49

def simple_include_dict():
    return {
        "ref": {
            "foo": "simple_include_dict model foo",
            "bar": "simple_include_dict model bar",
        },
        "baz": "simple_include_dict model2 baz",
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free