<s> """<STR_LIT>""" <EOL> from mrjob . compat import jobconf_from_env <EOL> from mrjob . job import MRJob <EOL> from mrjob . step import MRStep <EOL> JOBCONF_LIST = [ <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> '<STR_LIT>' , <EOL> ] <EOL> class MRTestPerStepJobConf ( MRJob ) : <EOL> def mapper_init ( self ) : <EOL> self . increment_counter ( '<STR_LIT:count>' , '<STR_LIT>' , <NUM_LIT:1> ) <EOL> for jobconf in JOBCONF_LIST : <EOL> yield ( ( self . options . step_num , jobconf ) , <EOL> jobconf_from_env ( jobconf , None ) ) <EOL> def mapper ( self , key , value ) : <EOL> yield key , value <EOL> def steps ( self ) : <EOL> return ( [ <EOL> MRStep ( mapper_init = self . mapper_init ) , <EOL> MRStep ( mapper_init = self . mapper_init , <EOL> mapper = self . mapper , <EOL> jobconf = { '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : <NUM_LIT:4> } ) ] ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> MRTestPerStepJobConf . run ( ) </s>
