Skip to content

Commit 832200f

Browse files
committed
Add TODO for 6.0
1 parent 51d7d9e commit 832200f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/neo4j/_async/driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,9 +408,9 @@ def neo4j_driver(cls, *targets, routing_context=None, **config):
408408

409409
class _Direct:
410410

411+
# TODO: 6.0 - those attributes should be private
411412
default_host = "localhost"
412413
default_port = 7687
413-
414414
default_target = ":"
415415

416416
def __init__(self, address):
@@ -433,9 +433,9 @@ def parse_target(cls, target):
433433

434434
class _Routing:
435435

436+
# TODO: 6.0 - those attributes should be private
436437
default_host = "localhost"
437438
default_port = 7687
438-
439439
default_targets = ": :17601 :17687"
440440

441441
def __init__(self, initial_addresses):

src/neo4j/_sync/driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,9 @@ def neo4j_driver(cls, *targets, routing_context=None, **config):
407407

408408
class _Direct:
409409

410+
# TODO: 6.0 - those attributes should be private
410411
default_host = "localhost"
411412
default_port = 7687
412-
413413
default_target = ":"
414414

415415
def __init__(self, address):
@@ -432,9 +432,9 @@ def parse_target(cls, target):
432432

433433
class _Routing:
434434

435+
# TODO: 6.0 - those attributes should be private
435436
default_host = "localhost"
436437
default_port = 7687
437-
438438
default_targets = ": :17601 :17687"
439439

440440
def __init__(self, initial_addresses):

0 commit comments

Comments
 (0)