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]

ci(e2e): give string_leaves a single trailing return

mateo-berric8e42c2ac3e2
diff --git a/.github/e2e-stack/redact_output.py b/.github/e2e-stack/redact_output.py
index 0dfea8aec7f..233a8be3e2d 100644
--- a/.github/e2e-stack/redact_output.py
+++ b/.github/e2e-stack/redact_output.py
@@ -21,8 +21,7 @@ def string_leaves(node: JsonValue) -> tuple[str, ...]:
return tuple(leaf for child in node for leaf in string_leaves(child))
case dict():
return tuple(leaf for child in node.values() for leaf in string_leaves(child))
- case _:
- return ()
+ return ()
def field_lines(value: str) -> tuple[str, ...]: