ecflow.NodeVec

class ecflow.NodeVec

Bases: pybind11_object

Hold a list of Nodes (i.e suite, family or tasks)

NodeVec.append(self: ecflow.NodeVec, x: Node) None

Add an item to the end of the list

NodeVec.clear(self: ecflow.NodeVec) None

Clear the contents

NodeVec.count(self: ecflow.NodeVec, x: Node) int

Return the number of times x appears in the list

NodeVec.extend(*args, **kwargs)

Overloaded function.

  1. extend(self: ecflow.NodeVec, L: ecflow.NodeVec) -> None

Extend the list by appending all the items in the given list

  1. extend(self: ecflow.NodeVec, L: collections.abc.Iterable) -> None

Extend the list by appending all the items in the given list

NodeVec.insert(self: ecflow.NodeVec, i: SupportsInt | SupportsIndex, x: Node) None

Insert an item at a given position.

NodeVec.pop(*args, **kwargs)

Overloaded function.

  1. pop(self: ecflow.NodeVec) -> Node

Remove and return the last item

  1. pop(self: ecflow.NodeVec, i: typing.SupportsInt | typing.SupportsIndex) -> Node

Remove and return the item at index i

NodeVec.remove(self: ecflow.NodeVec, x: Node) None

Remove the first item from the list whose value is x. It is an error if there is no such item.