syside.DependencyEnds
- class DependencyEnds
Bases:
syside.ContainerView
[Element
]- append(element: syside.Element, name: syside.NameID = NameID.Regular) None
Append a new reference to this container.
- replace_at(index: int, element: syside.Element, name: syside.NameID = NameID.Regular) syside.Element
Replace reference element at
index
withelement
. Returns the previously referenced element.Raises
IndexError
ifindex
is out-of-bounds.
- pop(index: int = -1) syside.Element
Pop and return the reference element at
index
. By default, the last reference is popped.Raises
ValueError
if theindex
is out of bounds.
- remove(arg: syside.Element, /) bool
Remove the referenced element. Returns
True
if the element was removed, andFalse
otherwise.