ReadOnlyError#

class omni.graph.core.ReadOnlyError(
attribute: str | Path | Attribute | Property,
message: str | None = None,
)#

Bases: OmniGraphError

Exception to raise when there is a write operation on a read-only attribute (i.e. an input)

__init__(
attribute: str | Path | Attribute | Property,
message: str | None = None,
)#

Set up the attribute information for the operation