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.
This commit is contained in:
jibanez-staticduo 2026-10-01 04:27:49 +02:00
parent 0b630f4885
commit 9738840e3f
No known key found for this signature in database

View file

@ -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: