Skip to content

Commit cf9ada1

Browse files
authored
fix typo in docstring
fixes #2233
1 parent d501d42 commit cf9ada1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linkml_runtime/utils/schemaview.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def _order_inheritance(self, elements: DefDict) -> DefDict:
400400
@lru_cache(None)
401401
def all_classes(self, ordered_by=OrderedBy.PRESERVE, imports=True) -> Dict[ClassDefinitionName, ClassDefinition]:
402402
"""
403-
:param ordered_by: an enumerated parameter that returns all the slots in the order specified.
403+
:param ordered_by: an enumerated parameter that returns all the classes in the order specified.
404404
:param imports: include imports closure
405405
:return: all classes in schema view
406406
"""
@@ -1899,4 +1899,4 @@ def materialize_derived_schema(self) -> SchemaDefinition:
18991899
derived_schema.subsets[subset.name] = subset
19001900
for enum in [deepcopy(e) for e in self.all_enums().values()]:
19011901
derived_schema.enums[enum.name] = enum
1902-
return derived_schema
1902+
return derived_schema

0 commit comments

Comments
 (0)