ecflow.SuiteVec
- class ecflow.SuiteVec
Bases:
pybind11_object
Hold a list of suite nodes’s
- SuiteVec.append(self: ecflow.SuiteVec, x: Suite) None
Add an item to the end of the list
- SuiteVec.clear(self: ecflow.SuiteVec) None
Clear the contents
- SuiteVec.count(self: ecflow.SuiteVec, x: Suite) int
Return the number of times x appears in the list
- SuiteVec.extend(*args, **kwargs)
Overloaded function.
extend(self: ecflow.SuiteVec, L: ecflow.SuiteVec) -> None
Extend the list by appending all the items in the given list
extend(self: ecflow.SuiteVec, L: collections.abc.Iterable) -> None
Extend the list by appending all the items in the given list
- SuiteVec.insert(self: ecflow.SuiteVec, i: SupportsInt | SupportsIndex, x: Suite) None
Insert an item at a given position.
- SuiteVec.pop(*args, **kwargs)
Overloaded function.
pop(self: ecflow.SuiteVec) -> Suite
Remove and return the last item
pop(self: ecflow.SuiteVec, i: typing.SupportsInt | typing.SupportsIndex) -> Suite
Remove and return the item at index i
- SuiteVec.remove(self: ecflow.SuiteVec, x: Suite) None
Remove the first item from the list whose value is x. It is an error if there is no such item.