{"action":"created","issue":{"url":"https://api.github.com/repos/wishful-project/framework/issues/1","repository_url":"https://api.github.com/repos/wishful-project/framework","labels_url":"https://api.github.com/repos/wishful-project/framework/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wishful-project/framework/issues/1/comments","events_url":"https://api.github.com/repos/wishful-project/framework/issues/1/events","html_url":"https://github.com/wishful-project/framework/issues/1","id":167845050,"number":1,"title":"possible bug in upis_builder.py","user":{"login":"NiltonDuarte","id":2954659,"avatar_url":"https://avatars.githubusercontent.com/u/2954659?v=3","gravatar_id":"","url":"https://api.github.com/users/NiltonDuarte","html_url":"https://github.com/NiltonDuarte","followers_url":"https://api.github.com/users/NiltonDuarte/followers","following_url":"https://api.github.com/users/NiltonDuarte/following{/other_user}","gists_url":"https://api.github.com/users/NiltonDuarte/gists{/gist_id}","starred_url":"https://api.github.com/users/NiltonDuarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiltonDuarte/subscriptions","organizations_url":"https://api.github.com/users/NiltonDuarte/orgs","repos_url":"https://api.github.com/users/NiltonDuarte/repos","events_url":"https://api.github.com/users/NiltonDuarte/events{/privacy}","received_events_url":"https://api.github.com/users/NiltonDuarte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-27T12:47:37Z","updated_at":"2016-08-26T21:10:37Z","closed_at":null,"body":"I was trying to work with set_parameter_lower_layer, it was't working, and tracking it I've found a possible bug in the upis_builder. Seens like it's not accounting varargs and keywords\r\n\r\nwishful_framework/controller/upis_builder.py\r\nline 40\r\n```\r\ndef get_method_sig(method):\r\n[...]\r\nfor arg in argspec.args:\r\n     [...]\r\nreturn \"%s(%s)\" % (method.__name__, \", \".join(args))\r\n\r\n```\r\nI`ve did this change and it worked perfectly.\r\n\r\n```\r\nfor arg in argspec.args:\r\n[...]\r\nif argspec.varargs:\r\n    args.append(\"*args\")\r\nif argspec.keywords:\r\n     args.append(\"**kwargs\")\r\nreturn \"%s(%s)\" % (method.__name__, \", \".join(args))\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/wishful-project/framework/issues/comments/242852551","html_url":"https://github.com/wishful-project/framework/issues/1#issuecomment-242852551","issue_url":"https://api.github.com/repos/wishful-project/framework/issues/1","id":242852551,"user":{"login":"NiltonDuarte","id":2954659,"avatar_url":"https://avatars.githubusercontent.com/u/2954659?v=3","gravatar_id":"","url":"https://api.github.com/users/NiltonDuarte","html_url":"https://github.com/NiltonDuarte","followers_url":"https://api.github.com/users/NiltonDuarte/followers","following_url":"https://api.github.com/users/NiltonDuarte/following{/other_user}","gists_url":"https://api.github.com/users/NiltonDuarte/gists{/gist_id}","starred_url":"https://api.github.com/users/NiltonDuarte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NiltonDuarte/subscriptions","organizations_url":"https://api.github.com/users/NiltonDuarte/orgs","repos_url":"https://api.github.com/users/NiltonDuarte/repos","events_url":"https://api.github.com/users/NiltonDuarte/events{/privacy}","received_events_url":"https://api.github.com/users/NiltonDuarte/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T21:10:37Z","updated_at":"2016-08-26T21:10:37Z","body":"Any update on this issue? "}}
{"actor":{"display_login":"NiltonDuarte"}}