ZeekygenExample Namespace

Namespace: ZeekygenExample.

class zlogging.enum.zeekygen_example.SimpleEnum(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: ZeekygenExample::SimpleEnum.

Documentation for the “SimpleEnum” type goes here. It can span multiple lines.

ONE = 1

Documentation for particular enum values is added like this. And can also span multiple lines.

TWO = 2

Or this style is valid to document the preceding enum value.

THREE = 4
FOUR = 8

And some documentation for “FOUR”.

FIVE = 16

Also “FIVE”.

static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None