{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/221","repository_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk","labels_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/221/labels{/name}","comments_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/221/comments","events_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/221/events","html_url":"https://github.com/facebook/facebook-python-ads-sdk/issues/221","id":164205390,"number":221,"title":"Typechecker support for custom classes","user":{"login":"m-vdb","id":1931615,"avatar_url":"https://avatars.githubusercontent.com/u/1931615?v=3","gravatar_id":"","url":"https://api.github.com/users/m-vdb","html_url":"https://github.com/m-vdb","followers_url":"https://api.github.com/users/m-vdb/followers","following_url":"https://api.github.com/users/m-vdb/following{/other_user}","gists_url":"https://api.github.com/users/m-vdb/gists{/gist_id}","starred_url":"https://api.github.com/users/m-vdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-vdb/subscriptions","organizations_url":"https://api.github.com/users/m-vdb/orgs","repos_url":"https://api.github.com/users/m-vdb/repos","events_url":"https://api.github.com/users/m-vdb/events{/privacy}","received_events_url":"https://api.github.com/users/m-vdb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T00:38:05Z","updated_at":"2016-07-08T16:26:32Z","closed_at":null,"body":"Hi there,\r\n\r\nThis [line](https://github.com/facebook/facebook-python-ads-sdk/blob/master/facebookads/typechecker.py#L210-L216) in the `TypeChecker` class makes it impossible to define custom classes. For instance if I wanted to have a custom class of `AdLabel`, then the `Ad.adlabels` field would still be a list of standard `AdLabel` objects instead of my custom class. It would be a one liner to support that. Would you accept a pull request?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/comments/231405862","html_url":"https://github.com/facebook/facebook-python-ads-sdk/issues/221#issuecomment-231405862","issue_url":"https://api.github.com/repos/facebook/facebook-python-ads-sdk/issues/221","id":231405862,"user":{"login":"rituparnamukherjee","id":5580170,"avatar_url":"https://avatars.githubusercontent.com/u/5580170?v=3","gravatar_id":"","url":"https://api.github.com/users/rituparnamukherjee","html_url":"https://github.com/rituparnamukherjee","followers_url":"https://api.github.com/users/rituparnamukherjee/followers","following_url":"https://api.github.com/users/rituparnamukherjee/following{/other_user}","gists_url":"https://api.github.com/users/rituparnamukherjee/gists{/gist_id}","starred_url":"https://api.github.com/users/rituparnamukherjee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rituparnamukherjee/subscriptions","organizations_url":"https://api.github.com/users/rituparnamukherjee/orgs","repos_url":"https://api.github.com/users/rituparnamukherjee/repos","events_url":"https://api.github.com/users/rituparnamukherjee/events{/privacy}","received_events_url":"https://api.github.com/users/rituparnamukherjee/received_events","type":"User","site_admin":false},"created_at":"2016-07-08T16:26:32Z","updated_at":"2016-07-08T16:26:32Z","body":"@m-vdb \r\n\r\nYep, we can take a look into a PR for this. Go ahead and send one :)"}}
{"actor":{"display_login":"rituparnamukherjee"}}