summaryrefslogtreecommitdiff
path: root/src/server/neo4j_util.py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-12-23 13:33:43 +0200
committerLV-426 <lv-426@taproot.org.il>2014-12-23 13:33:43 +0200
commitd421bf898ec5504494c9b5e0c43580479b99cfe9 (patch)
tree659394979a76aca9227aeafd85b577f866feb9a8 /src/server/neo4j_util.py
parent8d4da1023e47270d1867bb9ef8f0645ff39fe59b (diff)
moving incoming link validations, using x.get('x') convention
Diffstat (limited to 'src/server/neo4j_util.py')
-rw-r--r--src/server/neo4j_util.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/server/neo4j_util.py b/src/server/neo4j_util.py
index 9fb982b2..8b48875a 100644
--- a/src/server/neo4j_util.py
+++ b/src/server/neo4j_util.py
@@ -219,14 +219,6 @@ def gen_query_create_from_link_map(link_map, input_to_DB_property_map=lambda _:
del prop_dict['__dst_id']
del prop_dict['__src_id']
- # TODO - somewhere else?
- if '__type' in prop_dict:
- log.warn('client is sending us __type link property, it should not')
- if 'name' in prop_dict:
- log.warn('client is sending us name link property, it should not')
- del prop_dict['__type']
- del prop_dict['name']
-
q_params = {'src': { 'id': src_id} ,
'dst': { 'id': dst_id} ,
'link_attr' : input_to_DB_property_map(prop_dict)}