saltstack/salt — pull request #10600 by borgstrom (2014-02-20 01:45:36+00:00)
Title: Adding a object interface to the __salt__ dictionary (pyobjects)

This is another suggestion from @mgwilliams. It adds an object to the
sls file scope named Salt, which dispatches its attributes to the
`__salt__` dictionary.

For example, the following two lines are functionally the same:

ret = Salt.cmd.run(bar)
ret = salt['cmd.run'](bar)