<s> """<STR_LIT>""" <EOL> from . transform import TransformStep <EOL> from . . config import Config <EOL> config = Config ( ) <EOL> class QATransformStep ( TransformStep ) : <EOL> """<STR_LIT>""" <EOL> def __init__ ( self , <EOL> id , <EOL> pipeline_name , <EOL> script_arguments = None , <EOL> sns_topic_arn = None , <EOL> ** kwargs ) : <EOL> """<STR_LIT>""" <EOL> if sns_topic_arn is None : <EOL> sns_topic_arn = config . etl . get ( '<STR_LIT>' , None ) <EOL> if script_arguments is None : <EOL> script_arguments = list ( ) <EOL> script_arguments . append ( '<STR_LIT>' % ( pipeline_name + "<STR_LIT:.>" + id ) ) <EOL> if sns_topic_arn : <EOL> script_arguments . append ( '<STR_LIT>' % sns_topic_arn ) <EOL> super ( QATransformStep , self ) . __init__ ( <EOL> id = id , <EOL> script_arguments = script_arguments , <EOL> no_output = True , <EOL> ** kwargs ) <EOL> @ classmethod <EOL> def arguments_processor ( cls , etl , input_args ) : <EOL> """<STR_LIT>""" <EOL> input_args = cls . pop_inputs ( input_args ) <EOL> step_args = cls . base_arguments_processor ( etl , input_args ) <EOL> step_args [ '<STR_LIT>' ] = etl . name <EOL> return step_args </s>
