Skip to content

Commit 8f33846

Browse files
committed
replace modules code to ydb namespace
ref:8867832 sync: https://proxy.sandbox.yandex-team.ru/2581894888
1 parent eaaf3f6 commit 8f33846

File tree

6 files changed

+15
-5
lines changed

6 files changed

+15
-5
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
try:
2-
from .tornado_helpers import * # noqa
2+
from ydb.tornado import * # noqa
3+
import sys
4+
5+
sys.modules['kikimr.public.sdk.python.client.frameworks.tornado_helpers'] = sys.modules['ydb.tornado.tornado_helpers']
36
except ImportError:
47
pass
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
# -*- coding: utf-8 -*-
2-
from .auth import ServiceAccountCredentials # noqa
3-
from .auth import MetadataUrlCredentials # noqa
1+
from ydb.iam import * # noqa
2+
import sys
3+
4+
sys.modules['kikimr.public.sdk.python.iam.auth'] = sys.modules['ydb.iam.auth']

ydb/iam/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
from kikimr.public.sdk.python.iam import * # noqa
1+
# -*- coding: utf-8 -*-
2+
from .auth import ServiceAccountCredentials # noqa
3+
from .auth import MetadataUrlCredentials # noqa

ydb/tornado/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
try:
2+
from .tornado_helpers import * # noqa
3+
except ImportError:
4+
pass

kikimr/public/sdk/python/client/frameworks/tornado_helpers.py renamed to ydb/tornado/tornado_helpers.py

File renamed without changes.

0 commit comments

Comments
 (0)