Skip to content

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]

test: QueryParams

Ishaan Jaffer04b3ac89b8d9
diff --git a/tests/pass_through_unit_tests/test_pass_through_unit_tests.py b/tests/pass_through_unit_tests/test_pass_through_unit_tests.py
index 0c62e776e9c..501fe24e65e 100644
--- a/tests/pass_through_unit_tests/test_pass_through_unit_tests.py
+++ b/tests/pass_through_unit_tests/test_pass_through_unit_tests.py
@@ -45,6 +45,18 @@ def mock_request():
class QueryParams:
def __init__(self):
self._dict = {}
+
+ def __iter__(self):
+ return iter(self._dict.items())
+
+ def items(self):
+ return self._dict.items()
+
+ def keys(self):
+ return self._dict.keys()
+
+ def values(self):
+ return self._dict.values()
class MockRequest:
def __init__(