|
1 | | -from typing import Union, Literal, Callable, Iterable, Optional |
| 1 | +from typing import Union, Literal, Callable, Optional |
2 | 2 | from typing_extensions import TypedDict |
3 | 3 |
|
4 | 4 | from ..types import ( |
|
42 | 42 | from ..types.devboxes import DiskSnapshotListParams, DiskSnapshotUpdateParams |
43 | 43 | from ..types.scenarios import ScorerListParams, ScorerCreateParams, ScorerUpdateParams |
44 | 44 | from ..types.devbox_create_params import DevboxBaseCreateParams |
| 45 | +from ..types.axons.sql_batch_params import SqlBatchParams |
| 46 | +from ..types.axons.sql_query_params import SqlQueryParams |
45 | 47 | from ..types.scenario_start_run_params import ScenarioStartRunBaseParams |
46 | | -from ..types.axons.sql_statement_params import SqlStatementParams |
47 | 48 | from ..types.benchmark_start_run_params import BenchmarkSelfStartRunParams |
48 | 49 | from ..types.devbox_execute_async_params import DevboxNiceExecuteAsyncParams |
49 | 50 |
|
@@ -197,17 +198,12 @@ class SDKAxonPublishParams(AxonPublishParams, LongRequestOptions): |
197 | 198 | pass |
198 | 199 |
|
199 | 200 |
|
200 | | -class SDKAxonSqlQueryParams(LongRequestOptions, total=False): |
201 | | - sql: str |
202 | | - """SQL query with ?-style positional placeholders.""" |
203 | | - |
204 | | - params: list[object] |
205 | | - """Positional parameter bindings for ? placeholders.""" |
| 201 | +class SDKAxonSqlQueryParams(SqlQueryParams, LongRequestOptions): |
| 202 | + pass |
206 | 203 |
|
207 | 204 |
|
208 | | -class SDKAxonSqlBatchParams(LongRequestOptions, total=False): |
209 | | - statements: Iterable[SqlStatementParams] |
210 | | - """The SQL statements to execute atomically within a transaction.""" |
| 205 | +class SDKAxonSqlBatchParams(SqlBatchParams, LongRequestOptions): |
| 206 | + pass |
211 | 207 |
|
212 | 208 |
|
213 | 209 | class SDKScenarioListParams(ScenarioListParams, BaseRequestOptions): |
|
0 commit comments