Skip to content

Commit

Permalink
refactor(introspection): drop unused get_class function
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdoret committed Jan 11, 2024
1 parent 176abbc commit 64263f4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions modo/introspection.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ def get_class_uri(class_name: str) -> str:
return load_schema().get_class(class_name).uri


def get_class(class_name: str):
"""Return the URI of a class."""
return load_schema().get_class(class_name)


def get_haspart_property(child_class: str) -> Optional[str]:
"""Return the name of the "has_part" property for a target class.
If no such property is in the schema, return None.
Expand Down

0 comments on commit 64263f4

Please sign in to comment.