{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/476","repository_url":"https://api.github.com/repos/Azure/azure-iot-sdks","labels_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/476/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/476/comments","events_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/476/events","html_url":"https://github.com/Azure/azure-iot-sdks/pull/476","id":147966076,"number":476,"title":"Python checking if parameter is callable rather than function","user":{"login":"damienpontifex","id":1321276,"avatar_url":"https://avatars.githubusercontent.com/u/1321276?v=3","gravatar_id":"","url":"https://api.github.com/users/damienpontifex","html_url":"https://github.com/damienpontifex","followers_url":"https://api.github.com/users/damienpontifex/followers","following_url":"https://api.github.com/users/damienpontifex/following{/other_user}","gists_url":"https://api.github.com/users/damienpontifex/gists{/gist_id}","starred_url":"https://api.github.com/users/damienpontifex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienpontifex/subscriptions","organizations_url":"https://api.github.com/users/damienpontifex/orgs","repos_url":"https://api.github.com/users/damienpontifex/repos","events_url":"https://api.github.com/users/damienpontifex/events{/privacy}","received_events_url":"https://api.github.com/users/damienpontifex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/labels/cla-not-required","name":"cla-not-required","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"mregen","id":7962757,"avatar_url":"https://avatars.githubusercontent.com/u/7962757?v=3","gravatar_id":"","url":"https://api.github.com/users/mregen","html_url":"https://github.com/mregen","followers_url":"https://api.github.com/users/mregen/followers","following_url":"https://api.github.com/users/mregen/following{/other_user}","gists_url":"https://api.github.com/users/mregen/gists{/gist_id}","starred_url":"https://api.github.com/users/mregen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mregen/subscriptions","organizations_url":"https://api.github.com/users/mregen/orgs","repos_url":"https://api.github.com/users/mregen/repos","events_url":"https://api.github.com/users/mregen/events{/privacy}","received_events_url":"https://api.github.com/users/mregen/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-04-13T07:03:33Z","updated_at":"2016-04-14T01:07:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/pulls/476","html_url":"https://github.com/Azure/azure-iot-sdks/pull/476","diff_url":"https://github.com/Azure/azure-iot-sdks/pull/476.diff","patch_url":"https://github.com/Azure/azure-iot-sdks/pull/476.patch"},"body":"Allowing for more types to be passed as callback parameters by utilising a callable check including class methods"},"comment":{"url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/comments/209708082","html_url":"https://github.com/Azure/azure-iot-sdks/pull/476#issuecomment-209708082","issue_url":"https://api.github.com/repos/Azure/azure-iot-sdks/issues/476","id":209708082,"user":{"login":"damienpontifex","id":1321276,"avatar_url":"https://avatars.githubusercontent.com/u/1321276?v=3","gravatar_id":"","url":"https://api.github.com/users/damienpontifex","html_url":"https://github.com/damienpontifex","followers_url":"https://api.github.com/users/damienpontifex/followers","following_url":"https://api.github.com/users/damienpontifex/following{/other_user}","gists_url":"https://api.github.com/users/damienpontifex/gists{/gist_id}","starred_url":"https://api.github.com/users/damienpontifex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damienpontifex/subscriptions","organizations_url":"https://api.github.com/users/damienpontifex/orgs","repos_url":"https://api.github.com/users/damienpontifex/repos","events_url":"https://api.github.com/users/damienpontifex/events{/privacy}","received_events_url":"https://api.github.com/users/damienpontifex/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T01:07:26Z","updated_at":"2016-04-14T01:07:26Z","body":"@mregen see second commit with sample that defines class methods as callbacks. Tested PyCallable_Check code with this sample and original amqp sample and all works fine."}}