test_sync_receiving_validated_pydantic_model() — fastapi Function Reference
Architecture documentation for the test_sync_receiving_validated_pydantic_model() function in test_general_performance.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD f40ed4e1_b13b_3b88_a3e9_ba5ad4749ae6["test_sync_receiving_validated_pydantic_model()"] f301437d_898d_b160_f85f_b6788c3d5890["test_general_performance.py"] f40ed4e1_b13b_3b88_a3e9_ba5ad4749ae6 -->|defined in| f301437d_898d_b160_f85f_b6788c3d5890 20ad6e00_fec4_f547_9606_3f5d2fe52dbd["_bench_post_json()"] f40ed4e1_b13b_3b88_a3e9_ba5ad4749ae6 -->|calls| 20ad6e00_fec4_f547_9606_3f5d2fe52dbd style f40ed4e1_b13b_3b88_a3e9_ba5ad4749ae6 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/benchmarks/test_general_performance.py lines 214–222
def test_sync_receiving_validated_pydantic_model(benchmark, client: TestClient) -> None:
status_code, body = _bench_post_json(
benchmark,
client,
"/sync/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_sync_receiving_validated_pydantic_model() do?
test_sync_receiving_validated_pydantic_model() is a function in the fastapi codebase, defined in tests/benchmarks/test_general_performance.py.
Where is test_sync_receiving_validated_pydantic_model() defined?
test_sync_receiving_validated_pydantic_model() is defined in tests/benchmarks/test_general_performance.py at line 214.
What does test_sync_receiving_validated_pydantic_model() call?
test_sync_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