{"action":"created","issue":{"url":"https://api.github.com/repos/faif/python-patterns/issues/216","repository_url":"https://api.github.com/repos/faif/python-patterns","labels_url":"https://api.github.com/repos/faif/python-patterns/issues/216/labels{/name}","comments_url":"https://api.github.com/repos/faif/python-patterns/issues/216/comments","events_url":"https://api.github.com/repos/faif/python-patterns/issues/216/events","html_url":"https://github.com/faif/python-patterns/pull/216","id":294111997,"number":216,"title":"Made builder pattern much simpler by removing unnecessary class.","user":{"login":"spookylukey","id":62745,"avatar_url":"https://avatars1.githubusercontent.com/u/62745?v=4","gravatar_id":"","url":"https://api.github.com/users/spookylukey","html_url":"https://github.com/spookylukey","followers_url":"https://api.github.com/users/spookylukey/followers","following_url":"https://api.github.com/users/spookylukey/following{/other_user}","gists_url":"https://api.github.com/users/spookylukey/gists{/gist_id}","starred_url":"https://api.github.com/users/spookylukey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spookylukey/subscriptions","organizations_url":"https://api.github.com/users/spookylukey/orgs","repos_url":"https://api.github.com/users/spookylukey/repos","events_url":"https://api.github.com/users/spookylukey/events{/privacy}","received_events_url":"https://api.github.com/users/spookylukey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-03T13:48:49Z","updated_at":"2018-02-05T21:18:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/faif/python-patterns/pulls/216","html_url":"https://github.com/faif/python-patterns/pull/216","diff_url":"https://github.com/faif/python-patterns/pull/216.diff","patch_url":"https://github.com/faif/python-patterns/pull/216.patch"},"body":"This follows the motto \"a class with only one method that actually does anything should be a function\", with the result that using the director function requires one line of code instead of 5."},"comment":{"url":"https://api.github.com/repos/faif/python-patterns/issues/comments/363224572","html_url":"https://github.com/faif/python-patterns/pull/216#issuecomment-363224572","issue_url":"https://api.github.com/repos/faif/python-patterns/issues/216","id":363224572,"user":{"login":"faif","id":1304661,"avatar_url":"https://avatars1.githubusercontent.com/u/1304661?v=4","gravatar_id":"","url":"https://api.github.com/users/faif","html_url":"https://github.com/faif","followers_url":"https://api.github.com/users/faif/followers","following_url":"https://api.github.com/users/faif/following{/other_user}","gists_url":"https://api.github.com/users/faif/gists{/gist_id}","starred_url":"https://api.github.com/users/faif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/faif/subscriptions","organizations_url":"https://api.github.com/users/faif/orgs","repos_url":"https://api.github.com/users/faif/repos","events_url":"https://api.github.com/users/faif/events{/privacy}","received_events_url":"https://api.github.com/users/faif/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T21:18:51Z","updated_at":"2018-02-05T21:18:51Z","author_association":"OWNER","body":"I like the idea of this repo having the simplest and most Pythonic solution for every pattern, so I propose to go that way. In that sense it would be better to replace this example with the very last one that you propose @spookylukey (`Building`, `House`) to show how an explicit builder is not needed. If something is invisible or simpler in Python then we need to show how."}}
{"actor":{"display_login":"faif"}}