RemovedConstraint

RemovedConstraint#

class RemovedConstraint#

RemovedConstraint wrapper for Python.

Internally holds (ommx::Constraint, ommx::RemovedReason).

__copy__() RemovedConstraint#
__deepcopy__(_memo: Any) RemovedConstraint#
__new__(constraint: Constraint, removed_reason: str, removed_reason_parameters: Optional[Mapping[str, str]] = None) RemovedConstraint#
__repr__() str#
property constraint: Constraint#

Read-only property.

property description: Optional[str]#

Read-only property.

Get the description from the underlying constraint

property equality: Equality#

Read-only property.

Get the equality type from the underlying constraint

property function: Function#

Read-only property.

Get the function from the underlying constraint

property name: Optional[str]#

Read-only property.

property parameters: dict[str, str]#

Read-only property.

Get the parameters from the underlying constraint

property removed_reason: str#

Read-only property.

property removed_reason_parameters: dict[str, str]#

Read-only property.

property subscripts: list[int]#

Read-only property.

Get the subscripts from the underlying constraint