Skip to content

Commit

Permalink
πŸ’š Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
falexwolf committed Aug 2, 2024
1 parent 137f5c7 commit 33e9a42
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lamindb/_parents.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ def _df_edges_from_parents(
else:
key = "successors" if children else "predecessors"
parents = _get_parents(
record=record, field=field, distance=distance, children=children
record=record,
field=field,
distance=distance,
children=children,
attr_name=attr_name,
)
all = record.__class__.objects
records = parents | all.filter(id=record.id)
Expand Down

0 comments on commit 33e9a42

Please sign in to comment.