Skip to content

Commit 1f910d2

Browse files
Fix coroutinefunction deprecation warning Python 3.14
1 parent c6b9212 commit 1f910d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

neomodel/async_/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"""
44

55
import warnings
6-
from asyncio import iscoroutinefunction
76
from functools import wraps
7+
from inspect import iscoroutinefunction
88
from typing import Any, Callable
99

1010
from neo4j.api import Bookmarks

neomodel/sync_/transaction.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"""
44

55
import warnings
6-
from asyncio import iscoroutinefunction
76
from functools import wraps
7+
from inspect import iscoroutinefunction
88
from typing import Any, Callable
99

1010
from neo4j.api import Bookmarks

0 commit comments

Comments
 (0)