File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
api/src/backend/api/attack_paths Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 66from uuid import UUID
77
88import neo4j
9+ import neo4j .exceptions
910
1011from django .conf import settings
1112
12- import neo4j .exceptions
13-
1413from api .attack_paths .retryable_session import RetryableSession
1514
1615# Without this Celery goes crazy with Neo4j logging
Original file line number Diff line number Diff line change 11import logging
2+
23from collections .abc import Callable
34from typing import Any
45
@@ -18,7 +19,6 @@ def __init__(
1819 session_factory : Callable [[], neo4j .Session ],
1920 close_driver : Callable [[], None ], # Just to avoid circular imports
2021 max_retries : int ,
21- logger : logging .Logger | None = None ,
2222 ) -> None :
2323 self ._session_factory = session_factory
2424 self ._close_driver = close_driver
You can’t perform that action at this time.
0 commit comments