code: def apply_(name, mods=None, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Apply states! This function will call highstate or state.sls based on the
      arguments passed in, ``apply`` is intended to be the main gateway for
      all state executions.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'docker' docker.apply web01
          salt 'docker' docker.apply web01 test
          salt 'docker' docker.apply web01 test,pkgs
      '''
      if mods:
          return sls(name, mods, **kwargs)
      return highstate(name, **kwargsf apply_(name, mods=None, **kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      Apply states! This function will call highstate or state.sls based on the
      arguments passed in, ``apply`` is intended to be the main gateway for
      all state executions.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'docker' docker.apply web01
          salt 'docker' docker.apply web01 test
          salt 'docker' docker.apply web01 test,pkgs
      '''
      if mods:
          return sls(name, mods, **kwargs)
      return highstate(name, **kwargs)
docs: .. versionadded:: 2019.2.0
  
      Apply states! This function will call highstate or state.sls based on the
      arguments passed in, ``apply`` is intended to be the main gateway for
      all state executions.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt 'docker' docker.apply web01
          salt 'docker' docker.apply web01 test
          salt 'docker' docker.apply web01 test,pkgs