We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aadd8b5 commit 31acaffCopy full SHA for 31acaff
ydb/tornado/tornado_helpers.py
@@ -1,8 +1,12 @@
1
# -*- coding: utf-8 -*-
2
-import tornado.concurrent
3
-import tornado.ioloop
4
-import tornado.gen
5
-from tornado.concurrent import TracebackFuture
+try:
+ import tornado.concurrent
+ import tornado.ioloop
+ import tornado.gen
6
+ from tornado.concurrent import TracebackFuture
7
+except ImportError:
8
+ tornado = None
9
+
10
from ydb.table import retry_operation_impl, YdbRetryOperationSleepOpt
11
12
0 commit comments