Skip to content

Commit 0f99716

Browse files
pass imports as kwarg to all_slots
1 parent 146d305 commit 0f99716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linkml_runtime/utils/schemaview.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ def slot_children(self, slot_name: SLOT_NAME, imports=True, mixins=True, is_a=Tr
802802
:param is_a: include is_a parents (default is True)
803803
:return: all direct child slot names (is_a and mixins)
804804
"""
805-
elts = [self.get_slot(x) for x in self.all_slots(imports)]
805+
elts = [self.get_slot(x) for x in self.all_slots(imports=imports)]
806806
return [x.name for x in elts if (x.is_a == slot_name and is_a) or (mixins and slot_name in x.mixins)]
807807

808808
@lru_cache(None)

0 commit comments

Comments
 (0)