summaryrefslogtreecommitdiff
path: root/src-py
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2014-09-29 19:47:33 +0300
committerLV-426 <lv-426@taproot.org.il>2014-09-29 19:55:48 +0300
commit84a41242f0256db723842fec9521c0f8d2f79103 (patch)
treedea5cd172976cb2039a5bb8a6cb06c6ea23b25c9 /src-py
parent783aad986c91bf936fb128818b171439b160596c (diff)
deffer support for single object API operations
Diffstat (limited to 'src-py')
-rw-r--r--src-py/rhizi_api.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src-py/rhizi_api.py b/src-py/rhizi_api.py
index 5a1a4845..3a31ab11 100644
--- a/src-py/rhizi_api.py
+++ b/src-py/rhizi_api.py
@@ -52,6 +52,7 @@ def __common_resp_handle(data=None, error=None):
@webapp.route("/load/node-single", methods=['POST'])
def load_node_single_by_id_attr():
+ # pending decision regarding support for single object operations
assert False
@webapp.route("/load/node-set", methods=['POST'])
@@ -77,8 +78,9 @@ def __load_node_set_by_id_attr_common(id_set):
return __common_resp_handle(error='unable to load node with ids: {0}'.format(id_set))
@webapp.route("/add/node-single", methods=['POST'])
-def add_node(n):
- pass
+def add_node():
+ # pending decision regarding support for single object operations
+ assert False
@webapp.route("/add/node-set", methods=['POST'])
def add_node_set(n_set):