pir_pipeline.dashboard.finalize.WrappedList¶
- class pir_pipeline.dashboard.finalize.WrappedList(iterable: Iterable | str | None, loc: int = 0)¶
Bases:
Sequence- __init__(iterable: Iterable | str | None, loc: int = 0)¶
Methods
__init__(iterable[, loc])count(value)index(value, [start, [stop]])Raises ValueError if the value is not present.
next()previous()to_json()Attributes
current- count(value) integer -- return number of occurrences of value¶
- index(value[, start[, stop]]) integer -- return first index of value.¶
Raises ValueError if the value is not present.
Supporting start and stop arguments is optional, but recommended.