#NEWLINE# def _validate_json( self , config ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# jsonschema . validate ( config , self . CONFIG_SCHEMAS [ config . version ] ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# raise exceptions . InvalidTaskException ( str ( e ) )