Skip to content

Commit 2d04876

Browse files
committed
style fixes
1 parent 6cea141 commit 2d04876

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ydb/query/pool.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ def acquire(self, timeout: float) -> QuerySessionSync:
5858
pass
5959

6060
if self._current_size < self._size:
61-
logger.debug(f"Session pool is not large enough: {self._current_size} < {self._size}, will create new one.")
61+
logger.debug(
62+
f"Session pool is not large enough: {self._current_size} < {self._size}, will create new one."
63+
)
6264
session = self._create_new_session()
6365
self._current_size += 1
6466
return session
@@ -140,7 +142,6 @@ def stop(self, timeout=None):
140142

141143
logger.debug("All session were deleted.")
142144

143-
144145
def __enter__(self):
145146
return self
146147

0 commit comments

Comments
 (0)