diff options
| author | LV-426 <lv-426@taproot.org.il> | 2014-11-09 12:18:47 +0200 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2014-11-09 12:18:47 +0200 |
| commit | 2f460418e342c378e575a5693b38ae4b3c8ff254 (patch) | |
| tree | d02a886ba178645fc3f445a08eb312f1562f44bb | |
| parent | 8e6eeb0db8616b79211f0c03472074bc36885658 (diff) | |
match_node_set_by_attr_filter_map
| -rw-r--r-- | src-py/rhizi_api.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src-py/rhizi_api.py b/src-py/rhizi_api.py index 53edf8f5..b88a1ff2 100644 --- a/src-py/rhizi_api.py +++ b/src-py/rhizi_api.py @@ -93,6 +93,16 @@ def __load_node_set_by_id_attr_common(id_set): log.exception(e) return __common_resp_handle(error='unable to load node with ids: {0}'.format(id_set)) +@webapp.route("/match/node-set", methods=['POST']) +def match_node_set_by_attr_filter_map(attr_filter_map): + """ + @param attr_filter_map + + @return: a set of node DB id's + """ + op = dbc.DBO_match_node_id_set(attr_filter_map) + return __common_exec(op) + @webapp.route("/load/link-set/by_link_ptr_set", methods=['POST']) def load_link_set_by_link_ptr_set(): |
