Skip to content

Commit 4f8190d

Browse files
committed
Move Deadline module
1 parent 56b7b53 commit 4f8190d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

neo4j/_async/io/_pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
AsyncRLock,
3232
)
3333
from ..._async_compat.network import AsyncNetworkUtil
34-
from ..._exceptions import BoltError
35-
from ..._io.deadline import (
34+
from ..._common._deadline import (
3635
connection_deadline,
3736
Deadline,
3837
merge_deadlines,
3938
merge_deadlines_and_timeouts,
4039
)
40+
from ..._exceptions import BoltError
4141
from ...api import (
4242
READ_ACCESS,
4343
WRITE_ACCESS,

neo4j/_async/work/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import asyncio
2020

21-
from ..._io.deadline import Deadline
21+
from ..._deadline import Deadline
2222
from ...conf import WorkspaceConfig
2323
from ...exceptions import (
2424
ServiceUnavailable,

neo4j/_async_compat/network/_bolt_socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@
3838
from time import perf_counter
3939

4040
from ... import addressing
41+
from ..._deadline import Deadline
4142
from ..._exceptions import (
4243
BoltError,
4344
BoltProtocolError,
4445
BoltSecurityError,
4546
SocketDeadlineExceeded,
4647
)
47-
from ..._io.deadline import Deadline
4848
from ...exceptions import (
4949
DriverError,
5050
ServiceUnavailable,
File renamed without changes.

neo4j/_io/__init__.py

Whitespace-only changes.

neo4j/_sync/io/_pool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
RLock,
3232
)
3333
from ..._async_compat.network import NetworkUtil
34-
from ..._exceptions import BoltError
35-
from ..._io.deadline import (
34+
from ..._common._deadline import (
3635
connection_deadline,
3736
Deadline,
3837
merge_deadlines,
3938
merge_deadlines_and_timeouts,
4039
)
40+
from ..._exceptions import BoltError
4141
from ...api import (
4242
READ_ACCESS,
4343
WRITE_ACCESS,

neo4j/_sync/work/workspace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import asyncio
2020

21-
from ..._io.deadline import Deadline
21+
from ..._deadline import Deadline
2222
from ...conf import WorkspaceConfig
2323
from ...exceptions import (
2424
ServiceUnavailable,

0 commit comments

Comments
 (0)