Home / Function/ test_sync_return_dict_with_response_model() — fastapi Function Reference

test_sync_return_dict_with_response_model() — fastapi Function Reference

Architecture documentation for the test_sync_return_dict_with_response_model() function in test_general_performance.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  d8c2cd88_eee1_f972_e08e_576144044d14["test_sync_return_dict_with_response_model()"]
  f301437d_898d_b160_f85f_b6788c3d5890["test_general_performance.py"]
  d8c2cd88_eee1_f972_e08e_576144044d14 -->|defined in| f301437d_898d_b160_f85f_b6788c3d5890
  6246747a_9002_5bb2_3a54_6c92b888919f["_bench_get()"]
  d8c2cd88_eee1_f972_e08e_576144044d14 -->|calls| 6246747a_9002_5bb2_3a54_6c92b888919f
  style d8c2cd88_eee1_f972_e08e_576144044d14 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/benchmarks/test_general_performance.py lines 231–234

def test_sync_return_dict_with_response_model(benchmark, client: TestClient) -> None:
    status_code, body = _bench_get(benchmark, client, "/sync/dict-with-response-model")
    assert status_code == 200
    assert body == b'{"name":"foo","value":123,"dep":42}'

Domain

Subdomains

Calls

Frequently Asked Questions

What does test_sync_return_dict_with_response_model() do?
test_sync_return_dict_with_response_model() is a function in the fastapi codebase, defined in tests/benchmarks/test_general_performance.py.
Where is test_sync_return_dict_with_response_model() defined?
test_sync_return_dict_with_response_model() is defined in tests/benchmarks/test_general_performance.py at line 231.
What does test_sync_return_dict_with_response_model() call?
test_sync_return_dict_with_response_model() calls 1 function(s): _bench_get.

Analyze Your Own Codebase

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

Try Supermodel Free