@@ -33,7 +33,6 @@ def __init__(self, driver: common_utils.SupportedDriverType, size: int = 100):
3333 :param size: Max size of Session Pool.
3434 """
3535
36- logger .warning ("QuerySessionPool is an experimental API, which could be changed." )
3736 self ._driver = driver
3837 self ._queue = queue .Queue ()
3938 self ._current_size = 0
@@ -48,9 +47,7 @@ def _create_new_session(self, timeout: Optional[float]):
4847 return session
4948
5049 def acquire (self , timeout : Optional [float ] = None ) -> QuerySession :
51- """WARNING: This API is experimental and could be changed.
52-
53- Acquire a session from Session Pool.
50+ """Acquire a session from Session Pool.
5451
5552 :param timeout: A timeout to wait in seconds.
5653
@@ -102,28 +99,22 @@ def acquire(self, timeout: Optional[float] = None) -> QuerySession:
10299 self ._lock .release ()
103100
104101 def release (self , session : QuerySession ) -> None :
105- """WARNING: This API is experimental and could be changed.
106-
107- Release a session back to Session Pool.
102+ """Release a session back to Session Pool.
108103 """
109104
110105 self ._queue .put_nowait (session )
111106 logger .debug ("Session returned to queue: %s" , session ._state .session_id )
112107
113108 def checkout (self , timeout : Optional [float ] = None ) -> "SimpleQuerySessionCheckout" :
114- """WARNING: This API is experimental and could be changed.
115-
116- Return a Session context manager, that acquires session on enter and releases session on exit.
109+ """Return a Session context manager, that acquires session on enter and releases session on exit.
117110
118111 :param timeout: A timeout to wait in seconds.
119112 """
120113
121114 return SimpleQuerySessionCheckout (self , timeout )
122115
123116 def retry_operation_sync (self , callee : Callable , retry_settings : Optional [RetrySettings ] = None , * args , ** kwargs ):
124- """WARNING: This API is experimental and could be changed.
125-
126- Special interface to execute a bunch of commands with session in a safe, retriable way.
117+ """Special interface to execute a bunch of commands with session in a safe, retriable way.
127118
128119 :param callee: A function, that works with session.
129120 :param retry_settings: RetrySettings object.
@@ -147,9 +138,7 @@ def execute_with_retries(
147138 * args ,
148139 ** kwargs ,
149140 ) -> List [convert .ResultSet ]:
150- """WARNING: This API is experimental and could be changed.
151-
152- Special interface to execute a one-shot queries in a safe, retriable way.
141+ """Special interface to execute a one-shot queries in a safe, retriable way.
153142 Note: this method loads all data from stream before return, do not use this
154143 method with huge read queries.
155144
0 commit comments