lenskit.data.types.Extent#

class lenskit.data.types.Extent#

Bases: NamedTuple

Representation of a range with a start and end.

start: int#

The range start (inclusive).

end: int#

The range end (exclusive).

property size: int#

The size of the extent.

Return type:

int