File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ def main():
18
18
# session = client.session().create()
19
19
pool = ydb .QuerySessionPool (driver )
20
20
# with pool.checkout() as session:
21
+
21
22
def callee (session ):
22
23
print ("=" * 50 )
23
24
print ("BEFORE ACTION" )
Original file line number Diff line number Diff line change 7
7
from .session import QuerySessionSync
8
8
9
9
from .._grpc .grpcwrapper .ydb_query_public_types import (
10
- QueryOnlineReadOnly ,
11
- QuerySerializableReadWrite ,
12
- QuerySnapshotReadOnly ,
13
- QueryStaleReadOnly ,
10
+ QueryOnlineReadOnly , # noqa
11
+ QuerySerializableReadWrite , # noqa
12
+ QuerySnapshotReadOnly , # noqa
13
+ QueryStaleReadOnly , # noqa
14
14
)
15
15
16
- from .pool import QuerySessionPool
16
+ from .pool import QuerySessionPool # noqa
17
17
18
18
19
19
class QueryClientSync (IQueryClient ):
Original file line number Diff line number Diff line change 1
- import abc
2
1
import time
3
2
from typing import Callable
4
3
5
4
from . import base
6
5
from .session import (
7
6
QuerySessionSync ,
8
- BaseQuerySession ,
9
7
)
10
8
from .. import issues
11
9
from .._errors import check_retriable_error
You can’t perform that action at this time.
0 commit comments