{"action":"created","issue":{"url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/154","labels_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/154/comments","events_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/154/events","html_url":"https://github.com/DRMacIver/hypothesis/pull/154","id":107406680,"number":154,"title":"Create profile loading mechanism","user":{"login":"Bachmann1234","id":1521093,"avatar_url":"https://avatars.githubusercontent.com/u/1521093?v=3","gravatar_id":"","url":"https://api.github.com/users/Bachmann1234","html_url":"https://github.com/Bachmann1234","followers_url":"https://api.github.com/users/Bachmann1234/followers","following_url":"https://api.github.com/users/Bachmann1234/following{/other_user}","gists_url":"https://api.github.com/users/Bachmann1234/gists{/gist_id}","starred_url":"https://api.github.com/users/Bachmann1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bachmann1234/subscriptions","organizations_url":"https://api.github.com/users/Bachmann1234/orgs","repos_url":"https://api.github.com/users/Bachmann1234/repos","events_url":"https://api.github.com/users/Bachmann1234/events{/privacy}","received_events_url":"https://api.github.com/users/Bachmann1234/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-20T17:47:23Z","updated_at":"2015-09-21T13:46:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DRMacIver/hypothesis/pulls/154","html_url":"https://github.com/DRMacIver/hypothesis/pull/154","diff_url":"https://github.com/DRMacIver/hypothesis/pull/154.diff","patch_url":"https://github.com/DRMacIver/hypothesis/pull/154.patch"},"body":"Allows users to register settings profiles and load them\r\nin as needed. Allowing for different defaults for different\r\nenvironments\r\n\r\nIs this kind of what you were thinking for the profile setup?\r\n\r\nThis code should enable the following pattern\r\n\r\n```\r\nSettings.register_profile('dev', max_examples=5, max_shrinks=10, max_iterations=100)\r\nSettings.register_profile('ci', max_examples=1000, max_shrinks=1000, max_iterations=2000)\r\n\r\nSettings.load_profile(os.getenv('HYPOTHESIS_PROFILE', 'default'))\r\n```\r\n\r\nIf you think im close ill iterate with you as needed. If we get to something you like let me know and ill write up the docs."},"comment":{"url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/comments/141982999","html_url":"https://github.com/DRMacIver/hypothesis/pull/154#issuecomment-141982999","issue_url":"https://api.github.com/repos/DRMacIver/hypothesis/issues/154","id":141982999,"user":{"login":"Bachmann1234","id":1521093,"avatar_url":"https://avatars.githubusercontent.com/u/1521093?v=3","gravatar_id":"","url":"https://api.github.com/users/Bachmann1234","html_url":"https://github.com/Bachmann1234","followers_url":"https://api.github.com/users/Bachmann1234/followers","following_url":"https://api.github.com/users/Bachmann1234/following{/other_user}","gists_url":"https://api.github.com/users/Bachmann1234/gists{/gist_id}","starred_url":"https://api.github.com/users/Bachmann1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bachmann1234/subscriptions","organizations_url":"https://api.github.com/users/Bachmann1234/orgs","repos_url":"https://api.github.com/users/Bachmann1234/repos","events_url":"https://api.github.com/users/Bachmann1234/events{/privacy}","received_events_url":"https://api.github.com/users/Bachmann1234/received_events","type":"User","site_admin":false},"created_at":"2015-09-21T13:46:32Z","updated_at":"2015-09-21T13:46:32Z","body":"Sound good. Read over the comments. Ill address them sometime early this week depending on my schedule."}}