fix(core): preserve adapter command contracts
This commit is contained in:
@@ -19,6 +19,12 @@ class DwhCapabilities:
|
||||
class DwhHealth:
|
||||
ok: bool
|
||||
detail: str | None = None
|
||||
database: str | None = None
|
||||
schema: str | None = None
|
||||
endpoint: str | None = None
|
||||
read_only: bool | None = None
|
||||
writable_tables: tuple[str, ...] = ()
|
||||
can_create: bool = False
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@@ -46,4 +52,4 @@ class DwhAdapter(Protocol):
|
||||
|
||||
def sample_column(self, table: str, column: str, *, limit: int) -> list[object]: ...
|
||||
|
||||
def distinct_values(self, table: str, column: str) -> DistinctValues: ...
|
||||
def distinct_values(self, table: str, column: str, *, limit: int) -> DistinctValues: ...
|
||||
|
||||
Reference in New Issue
Block a user