From 9738840e3f450adc98ebe9c67caf276950a24432 Mon Sep 17 00:00:00 2001 From: jibanez-staticduo Date: Thu, 1 Oct 2026 04:27:49 +0200 Subject: [PATCH] fix(rust_bridge): name NativeTraceStorage.query stub parameter as the native binding stubtest reports the stub parameter "sql" inconsistent with the pyo3 runtime parameter "query" (python-bridge routes/traces.rs), failing the rust-wheel job. Python callers pass the argument positionally, so only the stub name changes; upstream main still carries the stale name. --- litellm/rust_bridge/_native.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/rust_bridge/_native.pyi b/litellm/rust_bridge/_native.pyi index ff8bc198f27..206c0f78ed8 100644 --- a/litellm/rust_bridge/_native.pyi +++ b/litellm/rust_bridge/_native.pyi @@ -31,7 +31,7 @@ class NativeTraceStorage: def ensure_schema(self, trace_retention_days: int, spend_log_retention_days: int) -> Future[None]: ... def insert_rows(self, table: str, rows: Sequence[Mapping[str, JsonValue]]) -> Future[None]: ... def lens_query(self, name: str, parameters: Mapping[str, str | int | Sequence[str]]) -> Future[str]: ... - def query(self, sql: str, parameters: Mapping[str, str | int | Sequence[str]]) -> Future[str]: ... + def query(self, query: str, parameters: Mapping[str, str | int | Sequence[str]]) -> Future[str]: ... @final class NativeDiagnosticProcessor: