hbp_nrp_commons package¶
This package contains functionality shared across the NRP backend
-
enum
(*sequential, **named)[source]¶ Create an enumeration Class. usage: MyEnum = enum(‘VALUE_1’,’VALUE_2’,’VALUE_3’, VALUE_4=4)
- Parameters
sequential – Values of the enum specified as positional string args
named – Values of the enum specified as keyword args
- Returns
A new Enum Type having as values the specified parameters