{"action":"created","comment":{"url":"https://api.github.com/repos/theherk/marquee/pulls/comments/83308735","pull_request_review_id":4161737,"id":83308735,"diff_hunk":"@@ -15,12 +29,13 @@ def emit(self, record):\n         \"\"\"\n         client = boto3.client('events')\n         source = self.formatter.source if isinstance(self.formatter, MarqueeFormatter) else __name__\n+        detail_type = self.detail_type if self.detail_type is not None else 'marquee'\n         return client.put_events(\n             Entries=[\n                 {\n                     'Time': self.formatter.formatTime(record),\n                     'Source': source,\n-                    'DetailType': 'marquee',\n+                    'DetailType': detail_type,","path":"marquee/handler.py","position":32,"original_position":32,"commit_id":"cf11b192631c2f1a120ffdd267c3e24c3cdcef5f","original_commit_id":"cf11b192631c2f1a120ffdd267c3e24c3cdcef5f","user":{"login":"theherk","id":3605078,"avatar_url":"https://avatars.githubusercontent.com/u/3605078?v=3","gravatar_id":"","url":"https://api.github.com/users/theherk","html_url":"https://github.com/theherk","followers_url":"https://api.github.com/users/theherk/followers","following_url":"https://api.github.com/users/theherk/following{/other_user}","gists_url":"https://api.github.com/users/theherk/gists{/gist_id}","starred_url":"https://api.github.com/users/theherk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theherk/subscriptions","organizations_url":"https://api.github.com/users/theherk/orgs","repos_url":"https://api.github.com/users/theherk/repos","events_url":"https://api.github.com/users/theherk/events{/privacy}","received_events_url":"https://api.github.com/users/theherk/received_events","type":"User","site_admin":false},"body":"Making this configurable is great.","created_at":"2016-10-13T20:49:36Z","updated_at":"2016-10-13T20:51:11Z","html_url":"https://github.com/theherk/marquee/pull/1#discussion_r83308735","pull_request_url":"https://api.github.com/repos/theherk/marquee/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/theherk/marquee/pulls/comments/83308735"},"html":{"href":"https://github.com/theherk/marquee/pull/1#discussion_r83308735"},"pull_request":{"href":"https://api.github.com/repos/theherk/marquee/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/theherk/marquee/pulls/1","id":89278545,"html_url":"https://github.com/theherk/marquee/pull/1","diff_url":"https://github.com/theherk/marquee/pull/1.diff","patch_url":"https://github.com/theherk/marquee/pull/1.patch","issue_url":"https://api.github.com/repos/theherk/marquee/issues/1","number":1,"state":"open","locked":false,"title":"Feature/detail type kwarg","user":{"login":"defond0","id":3068808,"avatar_url":"https://avatars.githubusercontent.com/u/3068808?v=3","gravatar_id":"","url":"https://api.github.com/users/defond0","html_url":"https://github.com/defond0","followers_url":"https://api.github.com/users/defond0/followers","following_url":"https://api.github.com/users/defond0/following{/other_user}","gists_url":"https://api.github.com/users/defond0/gists{/gist_id}","starred_url":"https://api.github.com/users/defond0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defond0/subscriptions","organizations_url":"https://api.github.com/users/defond0/orgs","repos_url":"https://api.github.com/users/defond0/repos","events_url":"https://api.github.com/users/defond0/events{/privacy}","received_events_url":"https://api.github.com/users/defond0/received_events","type":"User","site_admin":false},"body":"Just wanted to add a detail_type kwarg to to make that a configurable field ","created_at":"2016-10-13T20:41:55Z","updated_at":"2016-10-13T20:51:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98ad1e27b1a7a0df68bd9ecde435d8a3117e2240","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/theherk/marquee/pulls/1/commits","review_comments_url":"https://api.github.com/repos/theherk/marquee/pulls/1/comments","review_comment_url":"https://api.github.com/repos/theherk/marquee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/theherk/marquee/issues/1/comments","statuses_url":"https://api.github.com/repos/theherk/marquee/statuses/cf11b192631c2f1a120ffdd267c3e24c3cdcef5f","head":{"label":"defond0:feature/detail_type_kwarg","ref":"feature/detail_type_kwarg","sha":"cf11b192631c2f1a120ffdd267c3e24c3cdcef5f","user":{"login":"defond0","id":3068808,"avatar_url":"https://avatars.githubusercontent.com/u/3068808?v=3","gravatar_id":"","url":"https://api.github.com/users/defond0","html_url":"https://github.com/defond0","followers_url":"https://api.github.com/users/defond0/followers","following_url":"https://api.github.com/users/defond0/following{/other_user}","gists_url":"https://api.github.com/users/defond0/gists{/gist_id}","starred_url":"https://api.github.com/users/defond0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defond0/subscriptions","organizations_url":"https://api.github.com/users/defond0/orgs","repos_url":"https://api.github.com/users/defond0/repos","events_url":"https://api.github.com/users/defond0/events{/privacy}","received_events_url":"https://api.github.com/users/defond0/received_events","type":"User","site_admin":false},"repo":{"id":70844060,"name":"marquee","full_name":"defond0/marquee","owner":{"login":"defond0","id":3068808,"avatar_url":"https://avatars.githubusercontent.com/u/3068808?v=3","gravatar_id":"","url":"https://api.github.com/users/defond0","html_url":"https://github.com/defond0","followers_url":"https://api.github.com/users/defond0/followers","following_url":"https://api.github.com/users/defond0/following{/other_user}","gists_url":"https://api.github.com/users/defond0/gists{/gist_id}","starred_url":"https://api.github.com/users/defond0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/defond0/subscriptions","organizations_url":"https://api.github.com/users/defond0/orgs","repos_url":"https://api.github.com/users/defond0/repos","events_url":"https://api.github.com/users/defond0/events{/privacy}","received_events_url":"https://api.github.com/users/defond0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/defond0/marquee","description":"A simple Python logging formatter and handler to send to CloudWatch Events.","fork":true,"url":"https://api.github.com/repos/defond0/marquee","forks_url":"https://api.github.com/repos/defond0/marquee/forks","keys_url":"https://api.github.com/repos/defond0/marquee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/defond0/marquee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/defond0/marquee/teams","hooks_url":"https://api.github.com/repos/defond0/marquee/hooks","issue_events_url":"https://api.github.com/repos/defond0/marquee/issues/events{/number}","events_url":"https://api.github.com/repos/defond0/marquee/events","assignees_url":"https://api.github.com/repos/defond0/marquee/assignees{/user}","branches_url":"https://api.github.com/repos/defond0/marquee/branches{/branch}","tags_url":"https://api.github.com/repos/defond0/marquee/tags","blobs_url":"https://api.github.com/repos/defond0/marquee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/defond0/marquee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/defond0/marquee/git/refs{/sha}","trees_url":"https://api.github.com/repos/defond0/marquee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/defond0/marquee/statuses/{sha}","languages_url":"https://api.github.com/repos/defond0/marquee/languages","stargazers_url":"https://api.github.com/repos/defond0/marquee/stargazers","contributors_url":"https://api.github.com/repos/defond0/marquee/contributors","subscribers_url":"https://api.github.com/repos/defond0/marquee/subscribers","subscription_url":"https://api.github.com/repos/defond0/marquee/subscription","commits_url":"https://api.github.com/repos/defond0/marquee/commits{/sha}","git_commits_url":"https://api.github.com/repos/defond0/marquee/git/commits{/sha}","comments_url":"https://api.github.com/repos/defond0/marquee/comments{/number}","issue_comment_url":"https://api.github.com/repos/defond0/marquee/issues/comments{/number}","contents_url":"https://api.github.com/repos/defond0/marquee/contents/{+path}","compare_url":"https://api.github.com/repos/defond0/marquee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/defond0/marquee/merges","archive_url":"https://api.github.com/repos/defond0/marquee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/defond0/marquee/downloads","issues_url":"https://api.github.com/repos/defond0/marquee/issues{/number}","pulls_url":"https://api.github.com/repos/defond0/marquee/pulls{/number}","milestones_url":"https://api.github.com/repos/defond0/marquee/milestones{/number}","notifications_url":"https://api.github.com/repos/defond0/marquee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/defond0/marquee/labels{/name}","releases_url":"https://api.github.com/repos/defond0/marquee/releases{/id}","deployments_url":"https://api.github.com/repos/defond0/marquee/deployments","created_at":"2016-10-13T20:10:42Z","updated_at":"2016-10-13T20:10:44Z","pushed_at":"2016-10-13T20:40:56Z","git_url":"git://github.com/defond0/marquee.git","ssh_url":"git@github.com:defond0/marquee.git","clone_url":"https://github.com/defond0/marquee.git","svn_url":"https://github.com/defond0/marquee","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"theherk:develop","ref":"develop","sha":"1e9b4ddac2d9a3b247a7c7102d8f18f2c4719294","user":{"login":"theherk","id":3605078,"avatar_url":"https://avatars.githubusercontent.com/u/3605078?v=3","gravatar_id":"","url":"https://api.github.com/users/theherk","html_url":"https://github.com/theherk","followers_url":"https://api.github.com/users/theherk/followers","following_url":"https://api.github.com/users/theherk/following{/other_user}","gists_url":"https://api.github.com/users/theherk/gists{/gist_id}","starred_url":"https://api.github.com/users/theherk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theherk/subscriptions","organizations_url":"https://api.github.com/users/theherk/orgs","repos_url":"https://api.github.com/users/theherk/repos","events_url":"https://api.github.com/users/theherk/events{/privacy}","received_events_url":"https://api.github.com/users/theherk/received_events","type":"User","site_admin":false},"repo":{"id":69608966,"name":"marquee","full_name":"theherk/marquee","owner":{"login":"theherk","id":3605078,"avatar_url":"https://avatars.githubusercontent.com/u/3605078?v=3","gravatar_id":"","url":"https://api.github.com/users/theherk","html_url":"https://github.com/theherk","followers_url":"https://api.github.com/users/theherk/followers","following_url":"https://api.github.com/users/theherk/following{/other_user}","gists_url":"https://api.github.com/users/theherk/gists{/gist_id}","starred_url":"https://api.github.com/users/theherk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theherk/subscriptions","organizations_url":"https://api.github.com/users/theherk/orgs","repos_url":"https://api.github.com/users/theherk/repos","events_url":"https://api.github.com/users/theherk/events{/privacy}","received_events_url":"https://api.github.com/users/theherk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/theherk/marquee","description":"A simple Python logging formatter and handler to send to CloudWatch Events.","fork":false,"url":"https://api.github.com/repos/theherk/marquee","forks_url":"https://api.github.com/repos/theherk/marquee/forks","keys_url":"https://api.github.com/repos/theherk/marquee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/theherk/marquee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/theherk/marquee/teams","hooks_url":"https://api.github.com/repos/theherk/marquee/hooks","issue_events_url":"https://api.github.com/repos/theherk/marquee/issues/events{/number}","events_url":"https://api.github.com/repos/theherk/marquee/events","assignees_url":"https://api.github.com/repos/theherk/marquee/assignees{/user}","branches_url":"https://api.github.com/repos/theherk/marquee/branches{/branch}","tags_url":"https://api.github.com/repos/theherk/marquee/tags","blobs_url":"https://api.github.com/repos/theherk/marquee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/theherk/marquee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/theherk/marquee/git/refs{/sha}","trees_url":"https://api.github.com/repos/theherk/marquee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/theherk/marquee/statuses/{sha}","languages_url":"https://api.github.com/repos/theherk/marquee/languages","stargazers_url":"https://api.github.com/repos/theherk/marquee/stargazers","contributors_url":"https://api.github.com/repos/theherk/marquee/contributors","subscribers_url":"https://api.github.com/repos/theherk/marquee/subscribers","subscription_url":"https://api.github.com/repos/theherk/marquee/subscription","commits_url":"https://api.github.com/repos/theherk/marquee/commits{/sha}","git_commits_url":"https://api.github.com/repos/theherk/marquee/git/commits{/sha}","comments_url":"https://api.github.com/repos/theherk/marquee/comments{/number}","issue_comment_url":"https://api.github.com/repos/theherk/marquee/issues/comments{/number}","contents_url":"https://api.github.com/repos/theherk/marquee/contents/{+path}","compare_url":"https://api.github.com/repos/theherk/marquee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/theherk/marquee/merges","archive_url":"https://api.github.com/repos/theherk/marquee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/theherk/marquee/downloads","issues_url":"https://api.github.com/repos/theherk/marquee/issues{/number}","pulls_url":"https://api.github.com/repos/theherk/marquee/pulls{/number}","milestones_url":"https://api.github.com/repos/theherk/marquee/milestones{/number}","notifications_url":"https://api.github.com/repos/theherk/marquee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/theherk/marquee/labels{/name}","releases_url":"https://api.github.com/repos/theherk/marquee/releases{/id}","deployments_url":"https://api.github.com/repos/theherk/marquee/deployments","created_at":"2016-09-29T21:22:13Z","updated_at":"2016-10-13T20:10:41Z","pushed_at":"2016-10-13T20:41:55Z","git_url":"git://github.com/theherk/marquee.git","ssh_url":"git@github.com:theherk/marquee.git","clone_url":"https://github.com/theherk/marquee.git","svn_url":"https://github.com/theherk/marquee","homepage":null,"size":12,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/theherk/marquee/pulls/1"},"html":{"href":"https://github.com/theherk/marquee/pull/1"},"issue":{"href":"https://api.github.com/repos/theherk/marquee/issues/1"},"comments":{"href":"https://api.github.com/repos/theherk/marquee/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/theherk/marquee/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/theherk/marquee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/theherk/marquee/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/theherk/marquee/statuses/cf11b192631c2f1a120ffdd267c3e24c3cdcef5f"}}}}
{"actor":{"display_login":"theherk"}}