#NEWLINE# def i_create_an_anomaly_from_dataset_list( step ) : #NEWLINE# #INDENT# resource = world . api . create_anomaly ( world . dataset_ids , { #NEWLINE# #INDENT# 'seed' : 'BigML' , #NEWLINE# #UNINDENT# } ) #NEWLINE# world . status = resource [ 'code' ] #NEWLINE# assert ( world . status == HTTP_CREATED ) #NEWLINE# world . location = step [ 'location' ] #NEWLINE# world . anomaly = resource [ 'object' ] #NEWLINE# world . anomalies . append ( resource [ 'resource' ] )