code: def pillar(tgt=None, tgt_type='glob', **kwargs):
      '''
      .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Return cached pillars of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.pillar
      '''
      pillar_util = salt.utils.master.MasterPillarUtil(tgt, tgt_type,
                                                       use_cached_grains=True,
                                                       grains_fallback=False,
                                                       use_cached_pillar=True,
                                                       pillar_fallback=False,
                                                       opts=__opts__)
      cached_pillar = pillar_util.get_minion_pillar()
      return cached_pillaf pillar(tgt=None, tgt_type='glob', **kwargs):
      '''
      .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Return cached pillars of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.pillar
      '''
      pillar_util = salt.utils.master.MasterPillarUtil(tgt, tgt_type,
                                                       use_cached_grains=True,
                                                       grains_fallback=False,
                                                       use_cached_pillar=True,
                                                       pillar_fallback=False,
                                                       opts=__opts__)
      cached_pillar = pillar_util.get_minion_pillar()
      return cached_pillar
docs: .. versionchanged:: 2017.7.0
          The ``expr_form`` argument has been renamed to ``tgt_type``, earlier
          releases must use ``expr_form``.
  
      Return cached pillars of the targeted minions
  
      CLI Example:
  
      .. code-block:: bash
  
          salt-run cache.pillar