Commit 10c68905 authored by delanoe's avatar delanoe

[DOC] This function should be a method.

parent 2c46da67
......@@ -230,7 +230,10 @@ class bulk_insert:
readline = read
def get_or_create(nodetype=None,parent_id=None,user_id=None):
def get_or_create_node(nodetype=None,parent_id=None,user_id=None):
'''
Should be a method of the object. __get_or_create__ ?
'''
if nodetype is None:
print("Need to precise a type node")
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment