Skip to content

Commit

Permalink
Merge pull request #67 from DLR-SC/pyup-update-neo4j-driver-1.5.3-to-…
Browse files Browse the repository at this point in the history
…1.6.0

Update neo4j-driver to 1.6.2
  • Loading branch information
B-Stefan authored Sep 17, 2018
2 parents e420da3 + 60a1472 commit e2abbda
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ Introduction
.. image:: https://pyup.io/repos/github/dlr-sc/prov-db-connector/shield.svg
:target: https://pyup.io/repos/github/dlr-sc/prov-db-connector/
:alt: Updates
.. image:: https://www.quantifiedcode.com/api/v1/project/3ee099c99b0340728ca4d54392caae83/badge.svg
:target: https://www.quantifiedcode.com/app/project/3ee099c99b0340728ca4d54392caae83
:alt: Code Issues


This python module provides a general interface to save `W3C-PROV <https://www.w3.org/TR/prov-overview/>`_ documents into databases.
Expand Down
4 changes: 2 additions & 2 deletions provdbconnector/db_adapters/neo4j/neo4jadapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ def _split_attributes_metadata_from_node(db_node):
"""
record = namedtuple('Record', 'attributes, metadata')
# split data
metadata = {k.replace(NEO4J_META_PREFIX, ""): v for k, v in db_node.properties.items() if
metadata = {k.replace(NEO4J_META_PREFIX, ""): v for k, v in db_node._properties.items() if
k.startswith(NEO4J_META_PREFIX, 0, len(NEO4J_META_PREFIX))}
attributes = {k: v for k, v in db_node.properties.items() if
attributes = {k: v for k, v in db_node._properties.items() if
not k.startswith(NEO4J_META_PREFIX, 0, len(NEO4J_META_PREFIX))}

# convert a list of namespace into a string if it is only one item
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
prov==1.5.2
neo4j-driver==1.5.3
neo4j-driver==1.6.2
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setup(
name='prov-db-connector',
version='0.3',
version='0.3.1',
description='PROV Database Connector',
keywords=[
'provenance', 'graph', 'model', 'PROV', 'PROV-DM', 'PROV-JSON', 'JSON',
Expand All @@ -46,7 +46,7 @@
zip_safe=False,
install_requires=[
"prov==1.5.2",
"neo4j-driver==1.5.3"
"neo4j-driver==1.6.2"
],
extras_require={
'test': tests_require,
Expand Down

0 comments on commit e2abbda

Please sign in to comment.