Skip to content

Commit d68e965

Browse files
committed
Removed unnecessary argument
1 parent 696f4ef commit d68e965

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

neo4j/v1/session.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def driver(uri, **config):
110110
class SecurityPlan(object):
111111

112112
@classmethod
113-
def build(cls, address, **config):
113+
def build(cls, **config):
114114
encrypted = config.get("encrypted", None)
115115
if encrypted is None:
116116
encrypted = _encryption_default()
@@ -188,7 +188,7 @@ class DirectDriver(Driver):
188188

189189
def __init__(self, address, **config):
190190
self.address = address
191-
self.security_plan = security_plan = SecurityPlan.build(address, **config)
191+
self.security_plan = security_plan = SecurityPlan.build(**config)
192192
self.encrypted = security_plan.encrypted
193193
pool = ConnectionPool(lambda a: connect(a, security_plan.ssl_context, **config))
194194
Driver.__init__(self, pool)
@@ -202,7 +202,7 @@ class RoutingDriver(Driver):
202202
"""
203203

204204
def __init__(self, address, **config):
205-
self.security_plan = security_plan = SecurityPlan.build(address, **config)
205+
self.security_plan = security_plan = SecurityPlan.build(**config)
206206
self.encrypted = security_plan.encrypted
207207
if not security_plan.routing_compatible:
208208
# this error message is case-specific as there is only one incompatible

0 commit comments

Comments
 (0)