Home / Function/ mixed_dict() — fastapi Function Reference

mixed_dict() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_response_model_include_exclude.py lines 102–110

def mixed_dict():
    return {
        "name": "mixed_dict model3 name",
        "age": 3,
        "ref2": {
            "ref": {"foo": "mixed_dict model foo", "bar": "mixed_dict model bar"},
            "baz": "mixed_dict model2 baz",
        },
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free