Skip to content

Commit 15ca30e

Browse files
committed
[nixio] Create relationships using general function
'create_relationship()' method takes care of both many-to-one and many-to-many relationship creation.
1 parent cd2acc5 commit 15ca30e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

neo/io/nixio.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,7 @@ def _nix_to_neo_block(self, nix_block):
292292
newchx.block = neo_block
293293

294294
# create object links
295-
neo_block.create_many_to_one_relationship()
296-
neo_block.create_many_to_many_relationship()
295+
neo_block.create_relationship()
297296

298297
# reset maps
299298
self._neo_map = dict()

0 commit comments

Comments
 (0)