diff options
| author | robot-piglet <[email protected]> | 2026-05-05 01:42:35 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2026-05-05 02:16:37 +0300 |
| commit | 8a7c18a783d9beb68af442616e2e55e2e5951b60 (patch) | |
| tree | 4a72e1a9a3e1ca5543ee26ca70522ec91e9452a6 /contrib/python | |
| parent | 19b1e2658d7f4a4c0e366b5cccef78d05c6d1eb4 (diff) | |
Intermediate changes
commit_hash:91ae6f522780ffdb97aa58d035d03193bdb2da8e
Diffstat (limited to 'contrib/python')
| -rw-r--r-- | contrib/python/ydb/py3/.dist-info/METADATA | 2 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/patches/02-old-behavior-compatible.patch | 9 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ya.make | 2 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ydb/__init__.py | 18 | ||||
| -rw-r--r-- | contrib/python/ydb/py3/ydb/ydb_version.py | 2 |
5 files changed, 26 insertions, 7 deletions
diff --git a/contrib/python/ydb/py3/.dist-info/METADATA b/contrib/python/ydb/py3/.dist-info/METADATA index 1a96485283a..3c0337ed5e0 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.28.3 +Version: 3.28.4 Summary: YDB Python SDK Home-page: http://github.com/ydb-platform/ydb-python-sdk Author: Yandex LLC diff --git a/contrib/python/ydb/py3/patches/02-old-behavior-compatible.patch b/contrib/python/ydb/py3/patches/02-old-behavior-compatible.patch index ef00525b167..6fb5357b719 100644 --- a/contrib/python/ydb/py3/patches/02-old-behavior-compatible.patch +++ b/contrib/python/ydb/py3/patches/02-old-behavior-compatible.patch @@ -1,9 +1,10 @@ --- contrib/python/ydb/py3/ydb/__init__.py (index) +++ contrib/python/ydb/py3/ydb/__init__.py (working tree) -@@ -23,3 +23,60 @@ try: - import ydb.aio as aio # noqa - except Exception: - pass +@@ -47,3 +47,61 @@ def __getattr__(name): + + def __dir__(): + return sorted(set(globals()) | _LAZY_MODULES) ++ + +# THIS AND BELOW IS AUTOGENERATED for arcadia only +try: diff --git a/contrib/python/ydb/py3/ya.make b/contrib/python/ydb/py3/ya.make index 9977d7bc6fc..b75adf12a55 100644 --- a/contrib/python/ydb/py3/ya.make +++ b/contrib/python/ydb/py3/ya.make @@ -2,7 +2,7 @@ PY3_LIBRARY() -VERSION(3.28.3) +VERSION(3.28.4) LICENSE(Apache-2.0) diff --git a/contrib/python/ydb/py3/ydb/__init__.py b/contrib/python/ydb/py3/ydb/__init__.py index db4f6e607fd..297e79690d5 100644 --- a/contrib/python/ydb/py3/ydb/__init__.py +++ b/contrib/python/ydb/py3/ydb/__init__.py @@ -31,6 +31,24 @@ try: except Exception: pass + +_LAZY_MODULES = {"iam"} + + +def __getattr__(name): + if name in _LAZY_MODULES: + import importlib + + module = importlib.import_module("." + name, __name__) + globals()[name] = module + return module + raise AttributeError("module {!r} has no attribute {!r}".format(__name__, name)) + + +def __dir__(): + return sorted(set(globals()) | _LAZY_MODULES) + + # THIS AND BELOW IS AUTOGENERATED for arcadia only try: import kikimr.public.sdk.python.ydb_v3_new_behavior # noqa diff --git a/contrib/python/ydb/py3/ydb/ydb_version.py b/contrib/python/ydb/py3/ydb/ydb_version.py index a01510bfcb2..d7d1d1869be 100644 --- a/contrib/python/ydb/py3/ydb/ydb_version.py +++ b/contrib/python/ydb/py3/ydb/ydb_version.py @@ -1 +1 @@ -VERSION = "3.28.3" +VERSION = "3.28.4" |
