diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-02-10 21:48:19 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-02-10 21:55:45 +0200 |
| commit | 5020bc4204cb470146e4c934018b965f1cf9eba2 (patch) | |
| tree | c73353c0e34a155d038cb72eaaabad1bef2de270 /py_bindings/log_db.pyi | |
| parent | 591053c55753e00341bd739c00f9ff09ae6e8141 (diff) | |
Add missing bindings and update existing
Diffstat (limited to 'py_bindings/log_db.pyi')
| -rw-r--r-- | py_bindings/log_db.pyi | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/py_bindings/log_db.pyi b/py_bindings/log_db.pyi index 49c10f2..53aa118 100644 --- a/py_bindings/log_db.pyi +++ b/py_bindings/log_db.pyi @@ -16,7 +16,7 @@ class Config: def segment_size(self, segment_size: int) -> "Config": ... def write_durability(self, write_durability: int) -> "Config": ... def read_consistency(self, read_consistency: int) -> "Config": ... - def schema(self, schema: list[tuple[str, "Type"]]) -> "Config": ... + def fields(self, fields: list[str]) -> "Config": ... def primary_key(self, primary_key: str) -> "Config": ... def secondary_keys(self, secondary_keys: list[str]) -> "Config": ... def initialize(self) -> "DB": ... @@ -34,6 +34,8 @@ class DB: def tx_begin(self) -> None: ... def tx_commit(self) -> None: ... def tx_rollback(self) -> None: ... + def do_maintenance_tasks(self) -> None: ... + def refresh_indexes(self) -> None: ... class Value: @staticmethod @@ -55,18 +57,6 @@ class Value: def as_bytes(self) -> bytes: ... def as_null(self) -> None: ... -class Type: - @staticmethod - def int() -> "Type": ... - @staticmethod - def decimal() -> "Type": ... - @staticmethod - def string() -> "Type": ... - @staticmethod - def bytes() -> "Type": ... - - def nullable(self) -> "Type": ... - class Bound: @staticmethod def unbounded() -> "Bound": ... |
