ds_fetch_py_sdk.models

Response models.

Module Contents

class ds_fetch_py_sdk.models.QueryResult[source]

Result of one SELECT. Values are JSON-encoded per DuckDB type (see the API docs).

truncated: bool

The 100,000-row or 8 MiB inline limit cut the result.

cache: str | None = None

HIT, MISS or SHARED.

to_pandas() → pandas.DataFrame[source]

Requires the pandas extra.

class ds_fetch_py_sdk.models.Validation[source]

SQL that would run, checked through binding without reading data.

sql: str

The canonical SQL.

datasets: list[str]

The datasets the SQL reads.

columns: list[Column]

The result columns a query would return.