Home / Function/ test_async_return_large_dict_with_response_model() — fastapi Function Reference

test_async_return_large_dict_with_response_model() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/benchmarks/test_general_performance.py lines 372–379

def test_async_return_large_dict_with_response_model(
    benchmark, client: TestClient
) -> None:
    status_code, body = _bench_get(
        benchmark, client, "/async/large-dict-with-response-model"
    )
    assert status_code == 200
    assert body == _expected_large_payload_json_bytes()

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free