#NEWLINE# def cmd_iter_no_block( self , tgt , fun , arg = ( ) , timeout = None , expr_form = 'glob' , ret = '' , kwarg = None , show_jid = False , **kwargs ) : #NEWLINE# #INDENT# "\n        Yields the individual minion returns as they come in, or None\n            when no returns are available.\n\n        The function signature is the same as :py:meth:`cmd` with the\n        following exceptions.\n\n        :returns: A generator yielding the individual minion returns, or None\n            when no returns are available. This allows for actions to be\n            injected in between minion returns.\n\n        .. code-block:: python\n\n            >>> ret = local.cmd_iter_no_block('*', 'test.ping')\n            >>> for i in ret:\n            ...     print(i)\n            None\n            {'jerry': {'ret': True}}\n            {'dave': {'ret': True}}\n            None\n            {'stewart': {'ret': True}}\n        " #NEWLINE# arg = salt . utils . args . condition_input ( arg , kwarg ) #NEWLINE# pub_data = self . run_job ( tgt , fun , arg , expr_form , ret , timeout , ** kwargs ) #NEWLINE# if ( not pub_data ) : #NEWLINE# #INDENT# ( yield tgt ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# for fn_ret in self . get_iter_returns ( pub_data [ 'jid' ] , pub_data [ 'minions' ] , timeout = timeout , tgt = tgt , tgt_type = expr_form , block = False , ** kwargs ) : #NEWLINE# #INDENT# if ( fn_ret and show_jid ) : #NEWLINE# #INDENT# for minion in fn_ret . keys ( ) : #NEWLINE# #INDENT# fn_ret [ minion ] [ 'jid' ] = pub_data [ 'jid' ] #NEWLINE# #UNINDENT# #UNINDENT# ( yield fn_ret ) #NEWLINE# #UNINDENT# self . _clean_up_subscriptions ( pub_data [ 'jid' ] )