The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(model_management): drop docstring that restates the serialization path
mateo-berri739f61df7dff
diff --git a/tests/test_litellm/proxy/management_endpoints/test_model_management_endpoints.py b/tests/test_litellm/proxy/management_endpoints/test_model_management_endpoints.pyindex 13c8a26377c..393953ccf68 100644--- a/tests/test_litellm/proxy/management_endpoints/test_model_management_endpoints.py+++ b/tests/test_litellm/proxy/management_endpoints/test_model_management_endpoints.py@@ -4469,12 +4469,6 @@ class TestEnforceRpmTpmOnModelAdd:class TestBlockModelResponseSerialization:- """POST /model/block and /model/unblock return the raw prisma row through this- route's `LiteLLM_ProxyModelTable | None` response validation. The row is not a- dict, so the dict-assuming before-validator used to raise AttributeError inside- FastAPI's serialization layer: a 500 for the caller after the DB write already- landed. The routes must serialize the row to a 200 with the updated blocked flag."""-@pytest.mark.parametrize(("route", "blocked"), [("/model/block", True), ("/model/unblock", False)])