Skip to content

Commit 6848bb1

Browse files
committed
Removed temp server_version
1 parent 9bdcd4d commit 6848bb1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

neo4j/v1/bolt.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,6 @@ class Connection(object):
242242

243243
defunct = False
244244

245-
server_version = None # TODO: remove this when PR#108 is merged
246-
247245
#: The pool of which this connection is a member
248246
pool = None
249247

test/test_session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
def get_server_version():
3838
driver = GraphDatabase.driver(BOLT_URI, auth=AUTH_TOKEN, encrypted=False)
3939
with driver.session() as session:
40-
full_version = session.connection.server_version
40+
full_version = session.connection.server.version
4141
if full_version is None:
4242
return "Neo4j", (3, 0), ()
4343
product, _, tagged_version = full_version.partition("/")

0 commit comments

Comments
 (0)