Skip to content

Commit e2abbda

Browse files
authored
Merge pull request #67 from DLR-SC/pyup-update-neo4j-driver-1.5.3-to-1.6.0
Update neo4j-driver to 1.6.2
2 parents e420da3 + 60a1472 commit e2abbda

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

README.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ Introduction
1616
.. image:: https://pyup.io/repos/github/dlr-sc/prov-db-connector/shield.svg
1717
:target: https://pyup.io/repos/github/dlr-sc/prov-db-connector/
1818
:alt: Updates
19-
.. image:: https://www.quantifiedcode.com/api/v1/project/3ee099c99b0340728ca4d54392caae83/badge.svg
20-
:target: https://www.quantifiedcode.com/app/project/3ee099c99b0340728ca4d54392caae83
21-
:alt: Code Issues
2219

2320

2421
This python module provides a general interface to save `W3C-PROV <https://www.w3.org/TR/prov-overview/>`_ documents into databases.

provdbconnector/db_adapters/neo4j/neo4jadapter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,9 +326,9 @@ def _split_attributes_metadata_from_node(db_node):
326326
"""
327327
record = namedtuple('Record', 'attributes, metadata')
328328
# split data
329-
metadata = {k.replace(NEO4J_META_PREFIX, ""): v for k, v in db_node.properties.items() if
329+
metadata = {k.replace(NEO4J_META_PREFIX, ""): v for k, v in db_node._properties.items() if
330330
k.startswith(NEO4J_META_PREFIX, 0, len(NEO4J_META_PREFIX))}
331-
attributes = {k: v for k, v in db_node.properties.items() if
331+
attributes = {k: v for k, v in db_node._properties.items() if
332332
not k.startswith(NEO4J_META_PREFIX, 0, len(NEO4J_META_PREFIX))}
333333

334334
# convert a list of namespace into a string if it is only one item

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
prov==1.5.2
2-
neo4j-driver==1.5.3
2+
neo4j-driver==1.6.2

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
setup(
2222
name='prov-db-connector',
23-
version='0.3',
23+
version='0.3.1',
2424
description='PROV Database Connector',
2525
keywords=[
2626
'provenance', 'graph', 'model', 'PROV', 'PROV-DM', 'PROV-JSON', 'JSON',
@@ -46,7 +46,7 @@
4646
zip_safe=False,
4747
install_requires=[
4848
"prov==1.5.2",
49-
"neo4j-driver==1.5.3"
49+
"neo4j-driver==1.6.2"
5050
],
5151
extras_require={
5252
'test': tests_require,

0 commit comments

Comments
 (0)