labapi.util.types.Index#
- class labapi.util.types.Index(
- value,
- names=<not given>,
- *values,
- module=None,
- qualname=None,
- type=None,
- start=1,
- boundary=None,
Bases:
EnumRepresents the available indexing methods for accessing items in a collection.
- __init__(*args, **kwds)#
Attributes
- Id = 'id'#
Index by the unique identifier of an item.
- Name = 'name'#
Index by the human-readable name of an item.