Skip to content

Commit 6b24d9a

Browse files
committed
Merge branch '6.x' into remove-deprecated-modules
2 parents ef21a5f + cb4cf6d commit 6b24d9a

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/neo4j/_async/work/session.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -543,8 +543,11 @@ async def _run_transaction(
543543
transaction_function: t.Callable[
544544
te.Concatenate[AsyncManagedTransaction, _P], t.Awaitable[_R]
545545
],
546-
args: _P.args,
547-
kwargs: _P.kwargs,
546+
# *args: _P.args, **kwargs: _P.kwargs
547+
# gives more type safety, but is less performant and makes for harder
548+
# to read call sites
549+
args: t.Any,
550+
kwargs: t.Any,
548551
) -> _R:
549552
self._check_state()
550553
if not callable(transaction_function):

src/neo4j/_sync/work/session.py

+5-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/unit/common/test_import_neo4j.py

-5
Original file line numberDiff line numberDiff line change
@@ -171,13 +171,8 @@ def test_import_star():
171171
("addressing", None),
172172
("api", None),
173173
("auth_management", None),
174-
("conf", DeprecationWarning),
175-
("data", DeprecationWarning),
176174
("debug", None),
177175
("exceptions", None),
178-
("meta", DeprecationWarning),
179-
("packstream", DeprecationWarning),
180-
("routing", DeprecationWarning),
181176
("warnings", None),
182177
)
183178

0 commit comments

Comments
 (0)