Source code for spinnman.messages.sdp.sdp_flag
from enum import Enum
[docs]class SDPFlag(Enum):
""" SDPFlag for the message
"""
REPLY_NOT_EXPECTED = (0x07, "Indicates that a reply is not expected")
REPLY_EXPECTED = (0x87, "Indicates that a reply is expected")
def __new__(cls, value, doc=""):
obj = object.__new__(cls)
obj._value_ = value
return obj
def __init__(self, value, doc=""):
self._value_ = value
self.__doc__ = doc