File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 22
33import asyncio
44import contextlib
5+ import math
56from typing import Any
67
78from dqliteclient import DqliteConnection
@@ -30,8 +31,6 @@ def __init__(
3031 frames. Forwarded to the underlying DqliteConnection;
3132 ``None`` disables the cap.
3233 """
33- import math
34-
3534 if not math .isfinite (timeout ) or timeout <= 0 :
3635 raise ValueError (f"timeout must be a positive finite number, got { timeout } " )
3736 self ._address = address
Original file line number Diff line number Diff line change 22
33import asyncio
44import contextlib
5+ import math
56import threading
67import warnings
78import weakref
@@ -75,8 +76,6 @@ def __init__(
7576 frames for a single query. Forwarded to the underlying
7677 :class:`DqliteConnection`. ``None`` disables the cap.
7778 """
78- import math
79-
8079 if not math .isfinite (timeout ) or timeout <= 0 :
8180 raise ValueError (f"timeout must be a positive finite number, got { timeout } " )
8281 self ._address = address
You can’t perform that action at this time.
0 commit comments