{"action":"created","issue":{"url":"https://api.github.com/repos/ch4bes/poolPal/issues/4","repository_url":"https://api.github.com/repos/ch4bes/poolPal","labels_url":"https://api.github.com/repos/ch4bes/poolPal/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ch4bes/poolPal/issues/4/comments","events_url":"https://api.github.com/repos/ch4bes/poolPal/issues/4/events","html_url":"https://github.com/ch4bes/poolPal/issues/4","id":303355386,"node_id":"MDU6SXNzdWUzMDMzNTUzODY=","number":4,"title":"Seemingly redundant code","user":{"login":"ch4bes","id":13443330,"node_id":"MDQ6VXNlcjEzNDQzMzMw","avatar_url":"https://avatars0.githubusercontent.com/u/13443330?v=4","gravatar_id":"","url":"https://api.github.com/users/ch4bes","html_url":"https://github.com/ch4bes","followers_url":"https://api.github.com/users/ch4bes/followers","following_url":"https://api.github.com/users/ch4bes/following{/other_user}","gists_url":"https://api.github.com/users/ch4bes/gists{/gist_id}","starred_url":"https://api.github.com/users/ch4bes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch4bes/subscriptions","organizations_url":"https://api.github.com/users/ch4bes/orgs","repos_url":"https://api.github.com/users/ch4bes/repos","events_url":"https://api.github.com/users/ch4bes/events{/privacy}","received_events_url":"https://api.github.com/users/ch4bes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T04:48:32Z","updated_at":"2018-07-20T02:38:12Z","closed_at":"2018-07-20T02:38:12Z","author_association":"OWNER","body":"In scheduler.py, the pin variable is assigned based on the function listed in the db:\r\n\r\nhttps://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/scheduler.py#L27-L32\r\n\r\nThis seems redundant, since these variables are already in the pins dictionary in main.py:\r\n\r\nhttps://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/main.py#L25-L29\r\n\r\nThe function field comes from schedulerform.py:\r\n\r\nhttps://github.com/ch4bes/poolPal/blob/72d0dc6f0020070dabf50f8f99d6a1a5630d68da/code/schedulerform.py#L6-L7"},"comment":{"url":"https://api.github.com/repos/ch4bes/poolPal/issues/comments/406471754","html_url":"https://github.com/ch4bes/poolPal/issues/4#issuecomment-406471754","issue_url":"https://api.github.com/repos/ch4bes/poolPal/issues/4","id":406471754,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjQ3MTc1NA==","user":{"login":"ch4bes","id":13443330,"node_id":"MDQ6VXNlcjEzNDQzMzMw","avatar_url":"https://avatars0.githubusercontent.com/u/13443330?v=4","gravatar_id":"","url":"https://api.github.com/users/ch4bes","html_url":"https://github.com/ch4bes","followers_url":"https://api.github.com/users/ch4bes/followers","following_url":"https://api.github.com/users/ch4bes/following{/other_user}","gists_url":"https://api.github.com/users/ch4bes/gists{/gist_id}","starred_url":"https://api.github.com/users/ch4bes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ch4bes/subscriptions","organizations_url":"https://api.github.com/users/ch4bes/orgs","repos_url":"https://api.github.com/users/ch4bes/repos","events_url":"https://api.github.com/users/ch4bes/events{/privacy}","received_events_url":"https://api.github.com/users/ch4bes/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T02:38:12Z","updated_at":"2018-07-20T02:38:12Z","author_association":"OWNER","body":"Issue addressed [here](https://github.com/ch4bes/poolPal/commit/b7e0e207e94f5972c9bd2f6f4d17c35a27c7d262)"}}
{"actor":{"display_login":"ch4bes"}}