diff options
| author | robot-piglet <[email protected]> | 2026-01-13 12:07:58 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-01-13 12:23:34 +0300 |
| commit | 97dfe1fb232b6ef20a39d7ef7208eb0501f17a3c (patch) | |
| tree | 75fe51bc038adea159aeafd3229a29b56d854957 /contrib/python | |
| parent | e13c73aa4eda3daaee344a1a4fc854c9a9dcca21 (diff) | |
Intermediate changes
commit_hash:18a3fa284fa6065ed855aa8d3351f5c0c782716a
Diffstat (limited to 'contrib/python')
| -rw-r--r-- | contrib/python/ydb/py3/.dist-info/METADATA | 2 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ya.make | 2 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ydb/scheme.py | 16 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ydb/ydb_version.py | 2 |
4 files changed, 19 insertions, 3 deletions
diff --git a/contrib/python/ydb/py3/.dist-info/METADATA b/contrib/python/ydb/py3/.dist-info/METADATA index 0af73b6aaaa..654bbbce93a 100644 --- a/contrib/python/ydb/py3/.dist-info/METADATA +++ b/contrib/python/ydb/py3/.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: ydb -Version: 3.23.0 +Version: 3.23.1 Summary: YDB Python SDK Home-page: http://github.com/ydb-platform/ydb-python-sdk Author: Yandex LLC diff --git a/contrib/python/ydb/py3/ya.make b/contrib/python/ydb/py3/ya.make index 10523373c4c..0755dccf484 100644 --- a/contrib/python/ydb/py3/ya.make +++ b/contrib/python/ydb/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(3.23.0) +VERSION(3.23.1) LICENSE(Apache-2.0) diff --git a/contrib/python/ydb/py3/ydb/scheme.py b/contrib/python/ydb/py3/ydb/scheme.py index c78b6ec01f9..ff37cfb4603 100644 --- a/contrib/python/ydb/py3/ydb/scheme.py +++ b/contrib/python/ydb/py3/ydb/scheme.py @@ -28,6 +28,8 @@ class SchemeEntryType(enum.IntEnum): EXTERNAL_DATA_SOURCE = 19 VIEW = 20 RESOURCE_POOL = 21 + TRANSFER = 23 + SYS_VIEW = 24 @classmethod def _missing_(cls, value): @@ -147,6 +149,14 @@ class SchemeEntryType(enum.IntEnum): """ return entry == SchemeEntryType.TOPIC + @staticmethod + def is_sysview(entry): + """ + :param entry: A scheme entry to check + :return: True if scheme entry is a system view and False otherwise + """ + return entry == SchemeEntryType.SYS_VIEW + class SchemeEntry(object): __slots__ = ( @@ -253,6 +263,12 @@ class SchemeEntry(object): """ return SchemeEntryType.is_resource_pool(self.type) + def is_sysview(self): + """ + :return: True if scheme entry is a system view and False otherwise + """ + return SchemeEntryType.is_sysview(self.type) + class Directory(SchemeEntry): __slots__ = ("children",) diff --git a/contrib/python/ydb/py3/ydb/ydb_version.py b/contrib/python/ydb/py3/ydb/ydb_version.py index 0ac1ed0865c..0849f862e7a 100644 --- a/contrib/python/ydb/py3/ydb/ydb_version.py +++ b/contrib/python/ydb/py3/ydb/ydb_version.py @@ -1 +1 @@ -VERSION = "3.23.0" +VERSION = "3.23.1" |
