Skip to content

Commit cd2acc5

Browse files
committed
[nixio] Create many to one and many to many relationships
Runs the two utility methods before returning loaded Neo blocks
1 parent 82b9600 commit cd2acc5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

neo/io/nixio.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ def _nix_to_neo_block(self, nix_block):
291291
# parent reference
292292
newchx.block = neo_block
293293

294+
# create object links
295+
neo_block.create_many_to_one_relationship()
296+
neo_block.create_many_to_many_relationship()
297+
294298
# reset maps
295299
self._neo_map = dict()
296300
self._ref_map = dict()

0 commit comments

Comments
 (0)