File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -1261,9 +1261,7 @@ async def save(
12611261 else :
12621262 if self .id is None :
12631263 raise UninitializedError ("Cannot add related nodes before the node has an ID" )
1264- await self ._client .group_context .add_related_nodes (
1265- ids = [self .id ], update_group_context = update_group_context
1266- )
1264+ await self ._client .group_context .add_related_nodes (ids = [self .id ], update_group_context = update_group_context )
12671265 self ._client .store .set (node = self )
12681266
12691267 async def generate_query_data (
@@ -1784,9 +1782,7 @@ def save(
17841782 if "CoreGroup" in self ._schema .inherit_from :
17851783 if self .id is None :
17861784 raise UninitializedError ("Cannot add related nodes before the node has an ID" )
1787- self ._client .group_context .add_related_nodes (
1788- ids = [self .id ], update_group_context = update_group_context
1789- )
1785+ self ._client .group_context .add_related_nodes (ids = [self .id ], update_group_context = update_group_context )
17901786
17911787 else :
17921788 if self .id is None :
You can’t perform that action at this time.
0 commit comments