File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 7
7
"QueryClientSync" ,
8
8
]
9
9
10
+ import logging
11
+
10
12
from .base import (
11
13
IQueryClient ,
12
14
SupportedDriverType ,
24
26
25
27
from .pool import QuerySessionPool
26
28
29
+ logger = logging .getLogger (__name__ )
30
+
27
31
28
32
class QueryClientSync (IQueryClient ):
29
33
def __init__ (self , driver : SupportedDriverType , query_client_settings : QueryClientSettings = None ):
34
+ logger .warning ("QueryClientSync is an experimental API, which could be changed." )
30
35
self ._driver = driver
31
36
self ._settings = query_client_settings
32
37
Original file line number Diff line number Diff line change
1
+ import logging
1
2
from typing import Callable
2
3
3
4
from . import base
9
10
retry_operation_sync ,
10
11
)
11
12
13
+ logger = logging .getLogger (__name__ )
14
+
12
15
13
16
class QuerySessionPool :
14
17
"""QuerySessionPool is an object to simplify operations with sessions of Query Service."""
@@ -18,6 +21,7 @@ def __init__(self, driver: base.SupportedDriverType):
18
21
:param driver: A driver instance
19
22
"""
20
23
24
+ logger .warning ("QuerySessionPool is an experimental API, which could be changed." )
21
25
self ._driver = driver
22
26
23
27
def checkout (self ):
You can’t perform that action at this time.
0 commit comments