#NEWLINE# def post( self ) : #NEWLINE# #INDENT# reqs = request . get_json ( ) #NEWLINE# logger . log_transform_entry ( result ) #NEWLINE# serialisation = transforms . Serialisation ( ) #NEWLINE# inputs = reqs [ 'inputs' ] #NEWLINE# outputs = [ ] #NEWLINE# for s in inputs : #NEWLINE# #INDENT# ts_raw = reqs [ 'transforms' ] #NEWLINE# ts = serialisation . deserialise ( ts_raw ) #NEWLINE# transform_searcher = learner . get_transform_searcher ( ) #NEWLINE# ( result , transform_always_made_changes ) = transform_searcher . apply_transforms ( ts , s ) #NEWLINE# outputs . append ( result ) #NEWLINE# #UNINDENT# result = { #NEWLINE# #INDENT# 'outputs' : outputs , #NEWLINE# #UNINDENT# } #NEWLINE# return jsonify ( result )