{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/zarniak/exercism.io/pulls/16","id":227926430,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3OTI2NDMw","html_url":"https://github.com/zarniak/exercism.io/pull/16","diff_url":"https://github.com/zarniak/exercism.io/pull/16.diff","patch_url":"https://github.com/zarniak/exercism.io/pull/16.patch","issue_url":"https://api.github.com/repos/zarniak/exercism.io/issues/16","number":16,"state":"open","locked":false,"title":"Update allergies","user":{"login":"zarniak","id":42268065,"node_id":"MDQ6VXNlcjQyMjY4MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42268065?v=4","gravatar_id":"","url":"https://api.github.com/users/zarniak","html_url":"https://github.com/zarniak","followers_url":"https://api.github.com/users/zarniak/followers","following_url":"https://api.github.com/users/zarniak/following{/other_user}","gists_url":"https://api.github.com/users/zarniak/gists{/gist_id}","starred_url":"https://api.github.com/users/zarniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarniak/subscriptions","organizations_url":"https://api.github.com/users/zarniak/orgs","repos_url":"https://api.github.com/users/zarniak/repos","events_url":"https://api.github.com/users/zarniak/events{/privacy}","received_events_url":"https://api.github.com/users/zarniak/received_events","type":"User","site_admin":false},"body":"@virtuallight i have couple of problems:\r\nline 21 - what is it \"property\" - if i have it in my code i get error (as below) if commented it is working fine\r\n`Traceback (most recent call last):\r\nFile \"/home/main.py\", line 34, in <module> \r\nprint(Allergies(5).lst()) \r\nTypeError: 'list' object is not callable `\r\n\r\nline 17 - i calculate list of allergens in \"lst\" function. while it is done i would like to use this list in \"is_allergic_to\" to simple check if it occurs in \"lst\" - how to do it? should i calculate it on \"init\" level? but how? when i do so i get error\r\n`NameError: name 'allergen_list' is not defined `\r\n\r\nline 15 and line 24 - it is working but can it be done simpler? i need score for calculation but i think i make it way around...\r\n\r\n`","created_at":"2018-11-02T12:47:34Z","updated_at":"2018-11-02T12:47:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/zarniak/exercism.io/pulls/16/commits","review_comments_url":"https://api.github.com/repos/zarniak/exercism.io/pulls/16/comments","review_comment_url":"https://api.github.com/repos/zarniak/exercism.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zarniak/exercism.io/issues/16/comments","statuses_url":"https://api.github.com/repos/zarniak/exercism.io/statuses/96cbba76530bf51c35c3cc70e9f773ed1b32e503","head":{"label":"zarniak:allergies-draft","ref":"allergies-draft","sha":"96cbba76530bf51c35c3cc70e9f773ed1b32e503","user":{"login":"zarniak","id":42268065,"node_id":"MDQ6VXNlcjQyMjY4MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42268065?v=4","gravatar_id":"","url":"https://api.github.com/users/zarniak","html_url":"https://github.com/zarniak","followers_url":"https://api.github.com/users/zarniak/followers","following_url":"https://api.github.com/users/zarniak/following{/other_user}","gists_url":"https://api.github.com/users/zarniak/gists{/gist_id}","starred_url":"https://api.github.com/users/zarniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarniak/subscriptions","organizations_url":"https://api.github.com/users/zarniak/orgs","repos_url":"https://api.github.com/users/zarniak/repos","events_url":"https://api.github.com/users/zarniak/events{/privacy}","received_events_url":"https://api.github.com/users/zarniak/received_events","type":"User","site_admin":false},"repo":{"id":149118261,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTgyNjE=","name":"exercism.io","full_name":"zarniak/exercism.io","private":false,"owner":{"login":"zarniak","id":42268065,"node_id":"MDQ6VXNlcjQyMjY4MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42268065?v=4","gravatar_id":"","url":"https://api.github.com/users/zarniak","html_url":"https://github.com/zarniak","followers_url":"https://api.github.com/users/zarniak/followers","following_url":"https://api.github.com/users/zarniak/following{/other_user}","gists_url":"https://api.github.com/users/zarniak/gists{/gist_id}","starred_url":"https://api.github.com/users/zarniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarniak/subscriptions","organizations_url":"https://api.github.com/users/zarniak/orgs","repos_url":"https://api.github.com/users/zarniak/repos","events_url":"https://api.github.com/users/zarniak/events{/privacy}","received_events_url":"https://api.github.com/users/zarniak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zarniak/exercism.io","description":"Repository of my exercism python track","fork":false,"url":"https://api.github.com/repos/zarniak/exercism.io","forks_url":"https://api.github.com/repos/zarniak/exercism.io/forks","keys_url":"https://api.github.com/repos/zarniak/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zarniak/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zarniak/exercism.io/teams","hooks_url":"https://api.github.com/repos/zarniak/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/zarniak/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/zarniak/exercism.io/events","assignees_url":"https://api.github.com/repos/zarniak/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/zarniak/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/zarniak/exercism.io/tags","blobs_url":"https://api.github.com/repos/zarniak/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zarniak/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zarniak/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/zarniak/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zarniak/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/zarniak/exercism.io/languages","stargazers_url":"https://api.github.com/repos/zarniak/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/zarniak/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/zarniak/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/zarniak/exercism.io/subscription","commits_url":"https://api.github.com/repos/zarniak/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/zarniak/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/zarniak/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/zarniak/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/zarniak/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/zarniak/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zarniak/exercism.io/merges","archive_url":"https://api.github.com/repos/zarniak/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zarniak/exercism.io/downloads","issues_url":"https://api.github.com/repos/zarniak/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/zarniak/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/zarniak/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/zarniak/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zarniak/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/zarniak/exercism.io/releases{/id}","deployments_url":"https://api.github.com/repos/zarniak/exercism.io/deployments","created_at":"2018-09-17T11:58:18Z","updated_at":"2018-11-02T10:26:50Z","pushed_at":"2018-11-02T12:39:00Z","git_url":"git://github.com/zarniak/exercism.io.git","ssh_url":"git@github.com:zarniak/exercism.io.git","clone_url":"https://github.com/zarniak/exercism.io.git","svn_url":"https://github.com/zarniak/exercism.io","homepage":"","size":69,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"zarniak:master","ref":"master","sha":"e74d2e1b3a5acf48e3097bb87b67b95795c0fccd","user":{"login":"zarniak","id":42268065,"node_id":"MDQ6VXNlcjQyMjY4MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42268065?v=4","gravatar_id":"","url":"https://api.github.com/users/zarniak","html_url":"https://github.com/zarniak","followers_url":"https://api.github.com/users/zarniak/followers","following_url":"https://api.github.com/users/zarniak/following{/other_user}","gists_url":"https://api.github.com/users/zarniak/gists{/gist_id}","starred_url":"https://api.github.com/users/zarniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarniak/subscriptions","organizations_url":"https://api.github.com/users/zarniak/orgs","repos_url":"https://api.github.com/users/zarniak/repos","events_url":"https://api.github.com/users/zarniak/events{/privacy}","received_events_url":"https://api.github.com/users/zarniak/received_events","type":"User","site_admin":false},"repo":{"id":149118261,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkxMTgyNjE=","name":"exercism.io","full_name":"zarniak/exercism.io","private":false,"owner":{"login":"zarniak","id":42268065,"node_id":"MDQ6VXNlcjQyMjY4MDY1","avatar_url":"https://avatars1.githubusercontent.com/u/42268065?v=4","gravatar_id":"","url":"https://api.github.com/users/zarniak","html_url":"https://github.com/zarniak","followers_url":"https://api.github.com/users/zarniak/followers","following_url":"https://api.github.com/users/zarniak/following{/other_user}","gists_url":"https://api.github.com/users/zarniak/gists{/gist_id}","starred_url":"https://api.github.com/users/zarniak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zarniak/subscriptions","organizations_url":"https://api.github.com/users/zarniak/orgs","repos_url":"https://api.github.com/users/zarniak/repos","events_url":"https://api.github.com/users/zarniak/events{/privacy}","received_events_url":"https://api.github.com/users/zarniak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/zarniak/exercism.io","description":"Repository of my exercism python track","fork":false,"url":"https://api.github.com/repos/zarniak/exercism.io","forks_url":"https://api.github.com/repos/zarniak/exercism.io/forks","keys_url":"https://api.github.com/repos/zarniak/exercism.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zarniak/exercism.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zarniak/exercism.io/teams","hooks_url":"https://api.github.com/repos/zarniak/exercism.io/hooks","issue_events_url":"https://api.github.com/repos/zarniak/exercism.io/issues/events{/number}","events_url":"https://api.github.com/repos/zarniak/exercism.io/events","assignees_url":"https://api.github.com/repos/zarniak/exercism.io/assignees{/user}","branches_url":"https://api.github.com/repos/zarniak/exercism.io/branches{/branch}","tags_url":"https://api.github.com/repos/zarniak/exercism.io/tags","blobs_url":"https://api.github.com/repos/zarniak/exercism.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zarniak/exercism.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zarniak/exercism.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/zarniak/exercism.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zarniak/exercism.io/statuses/{sha}","languages_url":"https://api.github.com/repos/zarniak/exercism.io/languages","stargazers_url":"https://api.github.com/repos/zarniak/exercism.io/stargazers","contributors_url":"https://api.github.com/repos/zarniak/exercism.io/contributors","subscribers_url":"https://api.github.com/repos/zarniak/exercism.io/subscribers","subscription_url":"https://api.github.com/repos/zarniak/exercism.io/subscription","commits_url":"https://api.github.com/repos/zarniak/exercism.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/zarniak/exercism.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/zarniak/exercism.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/zarniak/exercism.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/zarniak/exercism.io/contents/{+path}","compare_url":"https://api.github.com/repos/zarniak/exercism.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zarniak/exercism.io/merges","archive_url":"https://api.github.com/repos/zarniak/exercism.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zarniak/exercism.io/downloads","issues_url":"https://api.github.com/repos/zarniak/exercism.io/issues{/number}","pulls_url":"https://api.github.com/repos/zarniak/exercism.io/pulls{/number}","milestones_url":"https://api.github.com/repos/zarniak/exercism.io/milestones{/number}","notifications_url":"https://api.github.com/repos/zarniak/exercism.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zarniak/exercism.io/labels{/name}","releases_url":"https://api.github.com/repos/zarniak/exercism.io/releases{/id}","deployments_url":"https://api.github.com/repos/zarniak/exercism.io/deployments","created_at":"2018-09-17T11:58:18Z","updated_at":"2018-11-02T10:26:50Z","pushed_at":"2018-11-02T12:39:00Z","git_url":"git://github.com/zarniak/exercism.io.git","ssh_url":"git@github.com:zarniak/exercism.io.git","clone_url":"https://github.com/zarniak/exercism.io.git","svn_url":"https://github.com/zarniak/exercism.io","homepage":"","size":69,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":1,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zarniak/exercism.io/pulls/16"},"html":{"href":"https://github.com/zarniak/exercism.io/pull/16"},"issue":{"href":"https://api.github.com/repos/zarniak/exercism.io/issues/16"},"comments":{"href":"https://api.github.com/repos/zarniak/exercism.io/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/zarniak/exercism.io/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/zarniak/exercism.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zarniak/exercism.io/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/zarniak/exercism.io/statuses/96cbba76530bf51c35c3cc70e9f773ed1b32e503"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":28,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"zarniak"}}