Skip to content

Enums

packtype.utils.enum

get_entries(enum)

Iterate the entries of a Packtype enum. :yield: Tuple of the enum name, value, and whether it is the last entry

Parameters:

Name Type Description Default
enum Enum | type[Enum]

The Packtype enum to inspect

required