TypeError: init() takes from 1 to 3 positional arguments but 4 were given
说是需要传1到3个参数,我传了4个,第四个是啥?应该在哪里改参数呀
def __init__(self):
"""建立连接"""
link = Graph("http://localhost:7474", "neo4j", "123456")
self.graph = link
#self.graph = NodeMatcher(link)
# 定义label
self.bclass = 'class'
self.subcategory = 'subcategory'
self.graph.delete_all()
self.matcher = NodeMatcher(link)