models
module wittgenstein_sql_runner.models
Result models for SQL execution.
Classes
-
ExecutionResult — Result envelope returned by SQLRunner.execute().
wittgenstein_sql_runner.models.ExecutionResult
class ExecutionResult()
Result envelope returned by SQLRunner.execute().
dataframe contains the full result; data is a preview of the first 10 rows
as a list of dicts (for serialization-friendly consumption by agents).
Methods
wittgenstein_sql_runner.models.ExecutionResult.success
classmethod ExecutionResult.success(df: pd.DataFrame) → ExecutionResult
wittgenstein_sql_runner.models.ExecutionResult.empty
classmethod ExecutionResult.empty() → ExecutionResult
wittgenstein_sql_runner.models.ExecutionResult.failure
classmethod ExecutionResult.failure(error: str) → ExecutionResult