Skip to content

Commit 651a001

Browse files
intermediate changes
ref:9003252 sync: https://proxy.sandbox.yandex-team.ru/2690348971
1 parent e5195be commit 651a001

File tree

21 files changed

+2926
-63
lines changed

21 files changed

+2926
-63
lines changed

.pylintrc

Lines changed: 0 additions & 63 deletions
This file was deleted.

client/__init__.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
from ydb import * # noqa
3+
import sys
4+
import six
5+
6+
7+
for name, module in six.iteritems(sys.modules.copy()):
8+
if not name.startswith('ydb'):
9+
continue
10+
11+
module_import_path = name.split('.')
12+
if len(module_import_path) < 2:
13+
continue
14+
15+
sys.modules['kikimr.public.sdk.python.client.' + '.'.join(module_import_path[1:])] = module

client/frameworks/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
try:
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']
6+
except ImportError:
7+
pass

iam/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from ydb.iam import * # noqa
2+
import sys
3+
4+
sys.modules['kikimr.public.sdk.python.iam.auth'] = sys.modules['ydb.iam.auth']

persqueue/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env python
2+
# -*- coding: utf-8 -*-

0 commit comments

Comments
 (0)