#NEWLINE# def get_batch_anomaly_score( self , batch_anomaly_score ) : #NEWLINE# #INDENT# 'Retrieves a batch anomaly score.\n\n           The batch_anomaly_score parameter should be a string containing the\n           batch_anomaly_score id or the dict returned by\n           create_batch_anomaly_score.\n           As batch_anomaly_score is an evolving object that is processed\n           until it reaches the FINISHED or FAULTY state, the function will\n           return a dict that encloses the batch_anomaly_score values and state\n           info available at the time it is called.\n        ' #NEWLINE# check_resource_type ( batch_anomaly_score , BATCH_ANOMALY_SCORE_PATH , message = 'A batch anomaly score id is needed.' ) #NEWLINE# batch_anomaly_score_id = get_batch_anomaly_score_id ( batch_anomaly_score ) #NEWLINE# if batch_anomaly_score_id : #NEWLINE# #INDENT# return self . _get ( ( '%s%s' % ( self . url , batch_anomaly_score_id ) ) )