本文整理汇总了Python中neo.core.baseneo.BaseNeo.create_many_to_many_relationship方法的典型用法代码示例。如果您正苦于以下问题:Python BaseNeo.create_many_to_many_relationship方法的具体用法?Python BaseNeo.create_many_to_many_relationship怎么用?Python BaseNeo.create_many_to_many_relationship使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类neo.core.baseneo.BaseNeo
的用法示例。
在下文中一共展示了BaseNeo.create_many_to_many_relationship方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: test__children
# 需要导入模块: from neo.core.baseneo import BaseNeo [as 别名]
# 或者: from neo.core.baseneo.BaseNeo import create_many_to_many_relationship [as 别名]
def test__children(self):
base = BaseNeo()
self.assertEqual(base._container_child_objects, ())
self.assertEqual(base._data_child_objects, ())
self.assertEqual(base._single_parent_objects, ())
self.assertEqual(base._multi_child_objects, ())
self.assertEqual(base._multi_parent_objects, ())
self.assertEqual(base._child_properties, ())
self.assertEqual(base._single_child_objects, ())
self.assertEqual(base._container_child_containers, ())
self.assertEqual(base._data_child_containers, ())
self.assertEqual(base._single_child_containers, ())
self.assertEqual(base._single_parent_containers, ())
self.assertEqual(base._multi_child_containers, ())
self.assertEqual(base._multi_parent_containers, ())
self.assertEqual(base._child_objects, ())
self.assertEqual(base._child_containers, ())
self.assertEqual(base._parent_objects, ())
self.assertEqual(base._parent_containers, ())
self.assertEqual(base.children, ())
self.assertEqual(base.parents, ())
base.create_many_to_one_relationship()
base.create_many_to_many_relationship()
base.create_relationship()