test_async_receiving_validated_pydantic_model() — fastapi Function Reference
Architecture documentation for the test_async_receiving_validated_pydantic_model() function in test_general_performance.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 5dd3fa71_8c70_341c_2671_c5bb164f59c1["test_async_receiving_validated_pydantic_model()"] f301437d_898d_b160_f85f_b6788c3d5890["test_general_performance.py"] 5dd3fa71_8c70_341c_2671_c5bb164f59c1 -->|defined in| f301437d_898d_b160_f85f_b6788c3d5890 20ad6e00_fec4_f547_9606_3f5d2fe52dbd["_bench_post_json()"] 5dd3fa71_8c70_341c_2671_c5bb164f59c1 -->|calls| 20ad6e00_fec4_f547_9606_3f5d2fe52dbd style 5dd3fa71_8c70_341c_2671_c5bb164f59c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/benchmarks/test_general_performance.py lines 251–258
def test_async_receiving_validated_pydantic_model(
benchmark, client: TestClient
) -> None:
status_code, body = _bench_post_json(
benchmark, client, "/async/validated", json={"name": "foo", "value": 123}
)
assert status_code == 200
assert body == b'{"name":"foo","value":123,"dep":42}'
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_async_receiving_validated_pydantic_model() do?
test_async_receiving_validated_pydantic_model() is a function in the fastapi codebase, defined in tests/benchmarks/test_general_performance.py.
Where is test_async_receiving_validated_pydantic_model() defined?
test_async_receiving_validated_pydantic_model() is defined in tests/benchmarks/test_general_performance.py at line 251.
What does test_async_receiving_validated_pydantic_model() call?
test_async_receiving_validated_pydantic_model() calls 1 function(s): _bench_post_json.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free