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(rust_bridge): expect PartRow start_time and end_time as required LENS_CONTENT fields (#44719)
devin-ai-integration[bot]d7e7f4071d62
diff --git a/tests/unit/rust_bridge/trace/test_queries.py b/tests/unit/rust_bridge/trace/test_queries.pyindex 650f6bbafe9..3c0556b1d97 100644--- a/tests/unit/rust_bridge/trace/test_queries.py+++ b/tests/unit/rust_bridge/trace/test_queries.py@@ -46,7 +46,10 @@ def test_named_query_rejects_parameters_for_a_different_query() -> None:def test_named_query_rejects_rows_missing_required_result_fields() -> None:with pytest.raises(ValidationError) as error:LENS_CONTENT.response.validate_json('{"data":[{"span_id":"span","name":"name"}]}')- assert error.value.error_count() == 4+ assert {(entry["type"], entry["loc"]) for entry in error.value.errors()} == {+ ("missing", ("data", 0, field))+ for field in ("parent_span_id", "kind", "start_time", "end_time", "content", "truncated")+ }@pytest.mark.parametrize("count", (0, "9007199254740993", 2**64 - 1))