Skip to content

Commit 31acaff

Browse files
committed
import kikimr.public.sdk.python.client -> import ydb (part 4) KIKIMR-13478
ref:9045120 sync: https://proxy.sandbox.yandex-team.ru/2710443898
1 parent aadd8b5 commit 31acaff

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

ydb/tornado/tornado_helpers.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# -*- coding: utf-8 -*-
2-
import tornado.concurrent
3-
import tornado.ioloop
4-
import tornado.gen
5-
from tornado.concurrent import TracebackFuture
2+
try:
3+
import tornado.concurrent
4+
import tornado.ioloop
5+
import tornado.gen
6+
from tornado.concurrent import TracebackFuture
7+
except ImportError:
8+
tornado = None
9+
610
from ydb.table import retry_operation_impl, YdbRetryOperationSleepOpt
711

812

0 commit comments

Comments
 (0)