#NEWLINE# def __init__( self , jsonDict , requestClass ) : #NEWLINE# #INDENT# messageString = "Request '{}' is not a valid instance of {}; invalid fields: {}" #NEWLINE# validator = avrotools . Validator ( requestClass ) #NEWLINE# self . message = messageString . format ( messageString , requestClass , validator . getInvalidFields ( jsonDict ) )