@@ -103,7 +103,8 @@ def __init__(self, driver: SupportedDriverType, settings: Optional[QueryClientSe
103103
104104 @abc .abstractmethod
105105 def create (self ) -> "IQuerySession" :
106- """
106+ """WARNING: This API is experimental and could be changed.
107+
107108 Creates a Session of Query Service on server side and attaches it.
108109
109110 :return: Session object.
@@ -112,7 +113,8 @@ def create(self) -> "IQuerySession":
112113
113114 @abc .abstractmethod
114115 def delete (self ) -> None :
115- """
116+ """WARNING: This API is experimental and could be changed.
117+
116118 Deletes a Session of Query Service on server side and releases resources.
117119
118120 :return: None
@@ -121,7 +123,8 @@ def delete(self) -> None:
121123
122124 @abc .abstractmethod
123125 def transaction (self , tx_mode : Optional [BaseQueryTxMode ] = None ) -> "IQueryTxContext" :
124- """
126+ """WARNING: This API is experimental and could be changed.
127+
125128 Creates a transaction context manager with specified transaction mode.
126129
127130 :param tx_mode: Transaction mode, which is a one from the following choises:
@@ -143,7 +146,8 @@ def execute(
143146 parameters : Optional [dict ] = None ,
144147 concurrent_result_sets : Optional [bool ] = False ,
145148 ) -> Iterator :
146- """
149+ """WARNING: This API is experimental and could be changed.
150+
147151 Sends a query to Query Service
148152 :param query: (YQL or SQL text) to be executed.
149153 :param syntax: Syntax of the query, which is a one from the following choises:
@@ -235,7 +239,8 @@ def tx_id(self) -> Optional[str]:
235239
236240 @abc .abstractmethod
237241 def begin (self , settings : Optional [QueryClientSettings ] = None ) -> None :
238- """
242+ """WARNING: This API is experimental and could be changed.
243+
239244 Explicitly begins a transaction
240245
241246 :param settings: A request settings
@@ -246,7 +251,8 @@ def begin(self, settings: Optional[QueryClientSettings] = None) -> None:
246251
247252 @abc .abstractmethod
248253 def commit (self , settings : Optional [QueryClientSettings ] = None ) -> None :
249- """
254+ """WARNING: This API is experimental and could be changed.
255+
250256 Calls commit on a transaction if it is open. If transaction execution
251257 failed then this method raises PreconditionFailed.
252258
@@ -258,7 +264,8 @@ def commit(self, settings: Optional[QueryClientSettings] = None) -> None:
258264
259265 @abc .abstractmethod
260266 def rollback (self , settings : Optional [QueryClientSettings ] = None ) -> None :
261- """
267+ """WARNING: This API is experimental and could be changed.
268+
262269 Calls rollback on a transaction if it is open. If transaction execution
263270 failed then this method raises PreconditionFailed.
264271
@@ -278,7 +285,8 @@ def execute(
278285 parameters : Optional [dict ] = None ,
279286 concurrent_result_sets : Optional [bool ] = False ,
280287 ) -> Iterator :
281- """
288+ """WARNING: This API is experimental and could be changed.
289+
282290 Sends a query to Query Service
283291 :param query: (YQL or SQL text) to be executed.
284292 :param commit_tx: A special flag that allows transaction commit.
0 commit comments