Source code for zlogging.enum.ZeekygenExample

# -*- coding: utf-8 -*-
# pylint: disable=line-too-long,import-error
"""Namespace: ``ZeekygenExample``."""

from zlogging._compat import enum

[docs]@enum.unique class SimpleEnum(enum.IntFlag): """Enum: ``ZeekygenExample::SimpleEnum``. Documentation for the “SimpleEnum” type goes here. It can span multiple lines. See Also: `zeekygen/example.zeek <>`__ """ _ignore_ = 'SimpleEnum _' SimpleEnum = vars() #: Documentation for particular enum values is added like this. #: And can also span multiple lines. SimpleEnum['ONE'] = #: Or this style is valid to document the preceding enum value. SimpleEnum['TWO'] = SimpleEnum['THREE'] = #: And some documentation for “FOUR”. SimpleEnum['FOUR'] = #: Also “FIVE”. SimpleEnum['FIVE'] =