{"action":"created","issue":{"url":"https://api.github.com/repos/pywr/pywr/issues/311","repository_url":"https://api.github.com/repos/pywr/pywr","labels_url":"https://api.github.com/repos/pywr/pywr/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/pywr/pywr/issues/311/comments","events_url":"https://api.github.com/repos/pywr/pywr/issues/311/events","html_url":"https://github.com/pywr/pywr/pull/311","id":185251219,"number":311,"title":"Refactor of core.py","user":{"login":"snorfalorpagus","id":3883947,"avatar_url":"https://avatars.githubusercontent.com/u/3883947?v=3","gravatar_id":"","url":"https://api.github.com/users/snorfalorpagus","html_url":"https://github.com/snorfalorpagus","followers_url":"https://api.github.com/users/snorfalorpagus/followers","following_url":"https://api.github.com/users/snorfalorpagus/following{/other_user}","gists_url":"https://api.github.com/users/snorfalorpagus/gists{/gist_id}","starred_url":"https://api.github.com/users/snorfalorpagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snorfalorpagus/subscriptions","organizations_url":"https://api.github.com/users/snorfalorpagus/orgs","repos_url":"https://api.github.com/users/snorfalorpagus/repos","events_url":"https://api.github.com/users/snorfalorpagus/events{/privacy}","received_events_url":"https://api.github.com/users/snorfalorpagus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-25T22:30:22Z","updated_at":"2016-10-27T17:45:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pywr/pywr/pulls/311","html_url":"https://github.com/pywr/pywr/pull/311","diff_url":"https://github.com/pywr/pywr/pull/311.diff","patch_url":"https://github.com/pywr/pywr/pull/311.patch"},"body":"This PR is an attempt at a major refactor of `core.py` into smaller, more manageable sub-modules as suggested in #259.\r\n\r\nCurrently `core.py` still exists and imports the required objects in order to keep the current API functioning. The next step will be to go through all of the tests and switch to the new API.\r\n\r\nI was surprised at how easy this was to do. Hopefully the next step is similarly easy (just changing some imports on the tests)."},"comment":{"url":"https://api.github.com/repos/pywr/pywr/issues/comments/256718352","html_url":"https://github.com/pywr/pywr/pull/311#issuecomment-256718352","issue_url":"https://api.github.com/repos/pywr/pywr/issues/311","id":256718352,"user":{"login":"jetuk","id":4604654,"avatar_url":"https://avatars.githubusercontent.com/u/4604654?v=3","gravatar_id":"","url":"https://api.github.com/users/jetuk","html_url":"https://github.com/jetuk","followers_url":"https://api.github.com/users/jetuk/followers","following_url":"https://api.github.com/users/jetuk/following{/other_user}","gists_url":"https://api.github.com/users/jetuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jetuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetuk/subscriptions","organizations_url":"https://api.github.com/users/jetuk/orgs","repos_url":"https://api.github.com/users/jetuk/repos","events_url":"https://api.github.com/users/jetuk/events{/privacy}","received_events_url":"https://api.github.com/users/jetuk/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T17:45:00Z","updated_at":"2016-10-27T17:45:00Z","body":"Should we have an `pywr.api` module? We could rename core? I'll look at this when I have a bigger screen."}}
{"actor":{"display_login":"jetuk"}}