{"action":"created","issue":{"url":"https://api.github.com/repos/juju/python-libjuju/issues/10","repository_url":"https://api.github.com/repos/juju/python-libjuju","labels_url":"https://api.github.com/repos/juju/python-libjuju/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/juju/python-libjuju/issues/10/comments","events_url":"https://api.github.com/repos/juju/python-libjuju/issues/10/events","html_url":"https://github.com/juju/python-libjuju/issues/10","id":190076039,"number":10,"title":"Wrong params in auto-generated code","user":{"login":"tvansteenburgh","id":801183,"avatar_url":"https://avatars.githubusercontent.com/u/801183?v=3","gravatar_id":"","url":"https://api.github.com/users/tvansteenburgh","html_url":"https://github.com/tvansteenburgh","followers_url":"https://api.github.com/users/tvansteenburgh/followers","following_url":"https://api.github.com/users/tvansteenburgh/following{/other_user}","gists_url":"https://api.github.com/users/tvansteenburgh/gists{/gist_id}","starred_url":"https://api.github.com/users/tvansteenburgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tvansteenburgh/subscriptions","organizations_url":"https://api.github.com/users/tvansteenburgh/orgs","repos_url":"https://api.github.com/users/tvansteenburgh/repos","events_url":"https://api.github.com/users/tvansteenburgh/events{/privacy}","received_events_url":"https://api.github.com/users/tvansteenburgh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-17T15:19:49Z","updated_at":"2016-11-28T20:41:09Z","closed_at":null,"body":"See ClientFacade.AddMachines() for one example. It accepts arg 'params' of type AddMachineParams, but it should actually accept 'params' of type AddMachines.\r\n\r\nNot sure what the proper fix is for this yet. Either the expected type should change, or the auto-generated method body (of AddMachines(), in this example) would need to wrap the passed 'params' in a call to AddMachines."},"comment":{"url":"https://api.github.com/repos/juju/python-libjuju/issues/comments/263387720","html_url":"https://github.com/juju/python-libjuju/issues/10#issuecomment-263387720","issue_url":"https://api.github.com/repos/juju/python-libjuju/issues/10","id":263387720,"user":{"login":"petevg","id":183694,"avatar_url":"https://avatars.githubusercontent.com/u/183694?v=3","gravatar_id":"","url":"https://api.github.com/users/petevg","html_url":"https://github.com/petevg","followers_url":"https://api.github.com/users/petevg/followers","following_url":"https://api.github.com/users/petevg/following{/other_user}","gists_url":"https://api.github.com/users/petevg/gists{/gist_id}","starred_url":"https://api.github.com/users/petevg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petevg/subscriptions","organizations_url":"https://api.github.com/users/petevg/orgs","repos_url":"https://api.github.com/users/petevg/repos","events_url":"https://api.github.com/users/petevg/events{/privacy}","received_events_url":"https://api.github.com/users/petevg/received_events","type":"User","site_admin":false},"created_at":"2016-11-28T20:41:09Z","updated_at":"2016-11-28T20:41:09Z","body":"Addressed by https://github.com/juju/python-libjuju/pull/21 (it's not a problem in the generated code, after all)"}}
{"actor":{"display_login":"petevg"}}