{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/31855","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/31855/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/31855/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/31855/events","html_url":"https://github.com/saltstack/salt/pull/31855","id":140450227,"number":31855,"title":"Add an alias fetch function to grains and pillar module get","user":{"login":"kev009","id":90042,"avatar_url":"https://avatars.githubusercontent.com/u/90042?v=3","gravatar_id":"","url":"https://api.github.com/users/kev009","html_url":"https://github.com/kev009","followers_url":"https://api.github.com/users/kev009/followers","following_url":"https://api.github.com/users/kev009/following{/other_user}","gists_url":"https://api.github.com/users/kev009/gists{/gist_id}","starred_url":"https://api.github.com/users/kev009/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kev009/subscriptions","organizations_url":"https://api.github.com/users/kev009/orgs","repos_url":"https://api.github.com/users/kev009/repos","events_url":"https://api.github.com/users/kev009/events{/privacy}","received_events_url":"https://api.github.com/users/kev009/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Pending%20Discussion","name":"Pending Discussion","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-13T05:22:41Z","updated_at":"2016-03-16T17:07:59Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/saltstack/salt/pulls/31855","html_url":"https://github.com/saltstack/salt/pull/31855","diff_url":"https://github.com/saltstack/salt/pull/31855.diff","patch_url":"https://github.com/saltstack/salt/pull/31855.patch"},"body":"### What does this PR do?\r\nAdd an alias called 'fetch' to grains and pillar module.\r\n\r\nJust gauging interest and want to discuss naming etc.\r\n\r\nI find the function call syntax lends better to syntax highlighting and what conceptually is being done vs salt['grains.get']('abc:def').\r\n\r\n### What issues does this PR fix or reference?\r\n\r\n### Previous Behavior\r\n\r\n### New Behavior\r\n\r\n### Tests written?\r\n- [ ] Yes\r\n- [X ] No\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/197430282","html_url":"https://github.com/saltstack/salt/pull/31855#issuecomment-197430282","issue_url":"https://api.github.com/repos/saltstack/salt/issues/31855","id":197430282,"user":{"login":"cachedout","id":111616,"avatar_url":"https://avatars.githubusercontent.com/u/111616?v=3","gravatar_id":"","url":"https://api.github.com/users/cachedout","html_url":"https://github.com/cachedout","followers_url":"https://api.github.com/users/cachedout/followers","following_url":"https://api.github.com/users/cachedout/following{/other_user}","gists_url":"https://api.github.com/users/cachedout/gists{/gist_id}","starred_url":"https://api.github.com/users/cachedout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachedout/subscriptions","organizations_url":"https://api.github.com/users/cachedout/orgs","repos_url":"https://api.github.com/users/cachedout/repos","events_url":"https://api.github.com/users/cachedout/events{/privacy}","received_events_url":"https://api.github.com/users/cachedout/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T17:07:59Z","updated_at":"2016-03-16T17:07:59Z","body":"@kev009 Good question. I don't know the answer, to be honest."}}