#NEWLINE# def __getitem__( self , key ) : #NEWLINE# #INDENT# if ( ( key == 'mapper' ) and ( self . _steps [ 'mapper' ] is None ) ) : #NEWLINE# #INDENT# return _IDENTITY_MAPPER #NEWLINE# #UNINDENT# if ( ( key == 'reducer' ) and ( self . _steps [ 'reducer' ] is None ) and self . has_explicit_reducer ) : #NEWLINE# #INDENT# return _IDENTITY_REDUCER #NEWLINE# #UNINDENT# if ( ( key == 'combiner' ) and ( self . _steps [ 'combiner' ] is None ) and self . has_explicit_combiner ) : #NEWLINE# #INDENT# return _IDENTITY_REDUCER #NEWLINE# #UNINDENT# return self . _steps [ key ]