Skip to content

Commit 3db7d7c

Browse files
authored
Merge pull request #337 from linkml/nlharris-patch-2
fix typo in docstring
2 parents 5768107 + cf9ada1 commit 3db7d7c

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
@@ -417,7 +417,7 @@ def _order_inheritance(self, elements: DefDict) -> DefDict:
417417
@lru_cache(None)
418418
def all_classes(self, ordered_by=OrderedBy.PRESERVE, imports=True) -> Dict[ClassDefinitionName, ClassDefinition]:
419419
"""
420-
:param ordered_by: an enumerated parameter that returns all the slots in the order specified.
420+
:param ordered_by: an enumerated parameter that returns all the classes in the order specified.
421421
:param imports: include imports closure
422422
:return: all classes in schema view
423423
"""
@@ -1916,4 +1916,4 @@ def materialize_derived_schema(self) -> SchemaDefinition:
19161916
derived_schema.subsets[subset.name] = subset
19171917
for enum in [deepcopy(e) for e in self.all_enums().values()]:
19181918
derived_schema.enums[enum.name] = enum
1919-
return derived_schema
1919+
return derived_schema

0 commit comments

Comments
 (0)