aboutsummaryrefslogtreecommitdiffstats
path: root/py_bindings/log_db.pyi
diff options
context:
space:
mode:
Diffstat (limited to 'py_bindings/log_db.pyi')
-rw-r--r--py_bindings/log_db.pyi16
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": ...