Skip to content

Commit bf79ab0

Browse files
committed
style fixes
1 parent d0675cf commit bf79ab0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ydb/aio/query/pool.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ def checkout(self) -> "SimpleQuerySessionCheckoutAsync":
3636

3737
return SimpleQuerySessionCheckoutAsync(self)
3838

39-
async def retry_operation_async(self, callee: Callable, retry_settings: Optional[RetrySettings] = None, *args, **kwargs):
39+
async def retry_operation_async(
40+
self, callee: Callable, retry_settings: Optional[RetrySettings] = None, *args, **kwargs
41+
):
4042
"""WARNING: This API is experimental and could be changed.
4143
Special interface to execute a bunch of commands with session in a safe, retriable way.
4244

ydb/retries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,4 +158,4 @@ async def retry_operation_async(callee, retry_settings=None, *args, **kwargs):
158158
try:
159159
return await next_opt.result
160160
except BaseException as e: # pylint: disable=W0703
161-
next_opt.set_exception(e)
161+
next_opt.set_exception(e)

0 commit comments

Comments
 (0)