Skip to content

RDS  >  Structures  >  Range

Range

Structure Class

Range dataclass

Bases: _SerdeShape

A range of integer values.

Attributes

from_ class-attribute instance-attribute
from_: int | None = ...

The minimum value in the range.

step class-attribute instance-attribute
step: int | None = ...

The step value for the range. For example, if you have a range of 5,000 to 10,000, with a step value of 1,000, the valid values start at 5,000 and step up by 1,000. Even though 7,500 is within the range, it isn't a valid value for the range. The valid values are 5,000, 6,000, 7,000, 8,000...

to class-attribute instance-attribute
to: int | None = ...

The maximum value in the range.