assign_label_property(class_name, prop_name, is_lang_string)
Designate an existing property as the label property for a class. The property is also marked as required (``isOptional=False``).
Properties
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
class_name | str | Class name. | ||
prop_name | str | Property name to use as the label. | ||
is_lang_string | bool | <optional> | True | Whether the label supports multiple languages. |
Returns:
None
- Type
- None
Raises:
ClassNotFoundError- If the class does not exist.
PropertyNotFoundError- If the property does not exist on the class.