def _refresh_mine_cache(wrapped):
 @functools.wraps(wrapped)
 def wrapper(*args, **kwargs):
  '\n        refresh salt mine on exit.\n        '
  returned = wrapped(*args, **salt.utils.clean_kwargs(**kwargs))
  __salt__['mine.send']('dockerng.ps', verbose=True, all=True, host=True)
  return returned
 return wrapper

def _refresh_mine_cache ( wrapped ) : @ functools . wraps ( wrapped ) def wrapper ( * args , ** kwargs ) : returned = wrapped ( * args , ** salt . utils . clean_kwargs ( ** kwargs ) ) __salt__ [ 'mine.send' ] ( 'dockerng.ps' , verbose = True , all = True , host = True ) return returned return wrapper
decorator to trigger a refresh of salt mine data .