delete_class(class_name, include_linked_properties, cascade_to_subclasses)
Delete a class from the schema.
Properties
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
class_name | str | Name of the class to delete. | ||
include_linked_properties | bool | <optional> | False | If True, also removes ObjectProperties on other classes that reference this class. |
cascade_to_subclasses | bool | <optional> | True | If True, removes subClassOf links from any subclasses of the deleted class. |
Returns:
None
- Type
- None
Raises:
ClassNotFoundError- If the class does not exist.