{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/131","repository_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient","labels_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/131/comments","events_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/131/events","html_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/131","id":313265100,"number":131,"title":"*_iter methods: give these all correct __name__s","user":{"login":"risicle","id":807447,"avatar_url":"https://avatars3.githubusercontent.com/u/807447?v=4","gravatar_id":"","url":"https://api.github.com/users/risicle","html_url":"https://github.com/risicle","followers_url":"https://api.github.com/users/risicle/followers","following_url":"https://api.github.com/users/risicle/following{/other_user}","gists_url":"https://api.github.com/users/risicle/gists{/gist_id}","starred_url":"https://api.github.com/users/risicle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risicle/subscriptions","organizations_url":"https://api.github.com/users/risicle/orgs","repos_url":"https://api.github.com/users/risicle/repos","events_url":"https://api.github.com/users/risicle/events{/privacy}","received_events_url":"https://api.github.com/users/risicle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-11T10:30:10Z","updated_at":"2018-04-11T11:19:05Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/pulls/131","html_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/131","diff_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/131.diff","patch_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/131.patch"},"body":"This fell out of a 2ndline ticket https://trello.com/c/f8SAV9WL/261-failure-of-data-export-job-overnight - turns out it's kinda annoying to look at tracebacks without \"correct\" function names.\r\n\r\nThis isn't a very pretty way of doing it but is the least complex way of doing it that doesn't introduce significant possibilities of wrongness.\r\n\r\nThe slightly more automatic way of doing this would involve maybe using a class decorator to do the name assignment post-declaration."},"comment":{"url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/comments/380416900","html_url":"https://github.com/alphagov/digitalmarketplace-apiclient/pull/131#issuecomment-380416900","issue_url":"https://api.github.com/repos/alphagov/digitalmarketplace-apiclient/issues/131","id":380416900,"user":{"login":"samuelhwilliams","id":2920760,"avatar_url":"https://avatars1.githubusercontent.com/u/2920760?v=4","gravatar_id":"","url":"https://api.github.com/users/samuelhwilliams","html_url":"https://github.com/samuelhwilliams","followers_url":"https://api.github.com/users/samuelhwilliams/followers","following_url":"https://api.github.com/users/samuelhwilliams/following{/other_user}","gists_url":"https://api.github.com/users/samuelhwilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/samuelhwilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samuelhwilliams/subscriptions","organizations_url":"https://api.github.com/users/samuelhwilliams/orgs","repos_url":"https://api.github.com/users/samuelhwilliams/repos","events_url":"https://api.github.com/users/samuelhwilliams/events{/privacy}","received_events_url":"https://api.github.com/users/samuelhwilliams/received_events","type":"User","site_admin":false},"created_at":"2018-04-11T11:19:05Z","updated_at":"2018-04-11T11:19:05Z","author_association":"CONTRIBUTOR","body":"That's certainly true, but do we think it's _likely_ a developer is going to create an iterator using this `make_iter_method` and then name is something completely wrong/weird/inconsistent?"}}
{"actor":{"display_login":"samuelhwilliams"}}