{"action":"opened","issue":{"url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/350","labels_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/350/comments","events_url":"https://api.github.com/repos/Juniper/py-junos-eznc/issues/350/events","html_url":"https://github.com/Juniper/py-junos-eznc/issues/350","id":58537625,"number":350,"title":"simpler version of globals().update(FactoryLoader().load(yaml.load(yml)))","user":{"login":"vnitinv","id":767016,"avatar_url":"https://avatars.githubusercontent.com/u/767016?v=3","gravatar_id":"","url":"https://api.github.com/users/vnitinv","html_url":"https://github.com/vnitinv","followers_url":"https://api.github.com/users/vnitinv/followers","following_url":"https://api.github.com/users/vnitinv/following{/other_user}","gists_url":"https://api.github.com/users/vnitinv/gists{/gist_id}","starred_url":"https://api.github.com/users/vnitinv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vnitinv/subscriptions","organizations_url":"https://api.github.com/users/vnitinv/orgs","repos_url":"https://api.github.com/users/vnitinv/repos","events_url":"https://api.github.com/users/vnitinv/events{/privacy}","received_events_url":"https://api.github.com/users/vnitinv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T03:05:15Z","updated_at":"2015-02-23T03:05:15Z","closed_at":null,"body":"As now more and more user uses yml in string format (in place of file), how about providing a simple function for \"globals().update(FactoryLoader().load(yaml.load(yml)))\". This can be added in Device class."}}