boulderopalscaleup.common.RangeIterable

class boulderopalscaleup.common.RangeIterable(*, dtype='range', start, stop, step)

A range of values with a specified step.

Creates values starting from ‘start’, incrementing by ‘step’, up to but not including ‘stop’.

Variables

  • dtype (Literal [ "range" ]) – Type discriminator for serialization.
  • start (float) – The starting value of the sequence.
  • stop (float) – The final value (exclusive) of the sequence.
  • step (float) – The step size between consecutive values.

Was this useful?