An example class for use in dns._compactRepr tests. It follows the pattern of initialiser settable flags, fields and sections found in dns.Message and dns._EDNSMessage.

Method __init__ Set some flags, fields and sections as public attributes.
Method __repr__ Call dns._compactRepr to generate a string representation.
def __init__(self, field1=1, field2=2, alwaysShowField='AS', flagTrue=True, flagFalse=False, section1=None):

Set some flags, fields and sections as public attributes.

def __repr__(self):

Call dns._compactRepr to generate a string representation.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.