From 6289a11bb3541f413f31c7d39f883545181a6ec7 Mon Sep 17 00:00:00 2001 From: Oleg Ovcharuk Date: Wed, 11 Sep 2024 15:35:43 +0300 Subject: [PATCH] Add an ability to create async indexes --- ydb/table.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ydb/table.py b/ydb/table.py index ac9f9304..cfcffb17 100644 --- a/ydb/table.py +++ b/ydb/table.py @@ -297,6 +297,10 @@ def with_global_index(self): self._pb.global_index.SetInParent() return self + def with_global_async_index(self): + self._pb.global_async_index.SetInParent() + return self + def with_index_columns(self, *columns): for column in columns: self._pb.index_columns.append(column)