{"action":"created","comment":{"url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/comments/171082304","pull_request_review_id":99873663,"id":171082304,"diff_hunk":"@@ -63,6 +63,8 @@ def upload_file() -> typing.Tuple[str, int]:\n         flask.abort(HTTPStatus.BAD_REQUEST)\n     if 'file' not in flask.request.files:\n         flask.abort(HTTPStatus.BAD_REQUEST)\n+    if flask.request.form.get('timestamp', None) == '':","path":"extract_endpoint/src/extract_endpoint/endpoint.py","position":4,"original_position":4,"commit_id":"a0dbee43477f2046f4dda69d81b5e2e82c7f358b","original_commit_id":"a0dbee43477f2046f4dda69d81b5e2e82c7f358b","user":{"login":"buckley-w-david","id":1952571,"avatar_url":"https://avatars0.githubusercontent.com/u/1952571?v=4","gravatar_id":"","url":"https://api.github.com/users/buckley-w-david","html_url":"https://github.com/buckley-w-david","followers_url":"https://api.github.com/users/buckley-w-david/followers","following_url":"https://api.github.com/users/buckley-w-david/following{/other_user}","gists_url":"https://api.github.com/users/buckley-w-david/gists{/gist_id}","starred_url":"https://api.github.com/users/buckley-w-david/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckley-w-david/subscriptions","organizations_url":"https://api.github.com/users/buckley-w-david/orgs","repos_url":"https://api.github.com/users/buckley-w-david/repos","events_url":"https://api.github.com/users/buckley-w-david/events{/privacy}","received_events_url":"https://api.github.com/users/buckley-w-david/received_events","type":"User","site_admin":false},"body":"Also no need for the `None` in the `get` call, that's the default value anyway.","created_at":"2018-02-27T22:04:54Z","updated_at":"2018-02-27T22:04:54Z","html_url":"https://github.com/cds-snc/nrcan_api/pull/272#discussion_r171082304","pull_request_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/comments/171082304"},"html":{"href":"https://github.com/cds-snc/nrcan_api/pull/272#discussion_r171082304"},"pull_request":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272"}},"in_reply_to_id":171079154},"pull_request":{"url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272","id":171793179,"html_url":"https://github.com/cds-snc/nrcan_api/pull/272","diff_url":"https://github.com/cds-snc/nrcan_api/pull/272.diff","patch_url":"https://github.com/cds-snc/nrcan_api/pull/272.patch","issue_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/272","number":272,"state":"open","locked":false,"title":"[WIP] Add timestamp to post endpoint","user":{"login":"evadb","id":1545806,"avatar_url":"https://avatars0.githubusercontent.com/u/1545806?v=4","gravatar_id":"","url":"https://api.github.com/users/evadb","html_url":"https://github.com/evadb","followers_url":"https://api.github.com/users/evadb/followers","following_url":"https://api.github.com/users/evadb/following{/other_user}","gists_url":"https://api.github.com/users/evadb/gists{/gist_id}","starred_url":"https://api.github.com/users/evadb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evadb/subscriptions","organizations_url":"https://api.github.com/users/evadb/orgs","repos_url":"https://api.github.com/users/evadb/repos","events_url":"https://api.github.com/users/evadb/events{/privacy}","received_events_url":"https://api.github.com/users/evadb/received_events","type":"User","site_admin":false},"body":"This PR intends to add timestamp as a click option with the default being datetime.now(), which is then passed to post_stream and ultimately the end point to upload a timestamp.txt file with the passed timestamp.\r\n\r\nOpinions please!","created_at":"2018-02-27T21:43:35Z","updated_at":"2018-02-27T22:04:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d296fb0df78a36fc5d58e275a185c3091b4ccbf","assignee":null,"assignees":[],"requested_reviewers":[{"login":"buckley-w-david","id":1952571,"avatar_url":"https://avatars0.githubusercontent.com/u/1952571?v=4","gravatar_id":"","url":"https://api.github.com/users/buckley-w-david","html_url":"https://github.com/buckley-w-david","followers_url":"https://api.github.com/users/buckley-w-david/followers","following_url":"https://api.github.com/users/buckley-w-david/following{/other_user}","gists_url":"https://api.github.com/users/buckley-w-david/gists{/gist_id}","starred_url":"https://api.github.com/users/buckley-w-david/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buckley-w-david/subscriptions","organizations_url":"https://api.github.com/users/buckley-w-david/orgs","repos_url":"https://api.github.com/users/buckley-w-david/repos","events_url":"https://api.github.com/users/buckley-w-david/events{/privacy}","received_events_url":"https://api.github.com/users/buckley-w-david/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272/commits","review_comments_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272/comments","review_comment_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/272/comments","statuses_url":"https://api.github.com/repos/cds-snc/nrcan_api/statuses/a0dbee43477f2046f4dda69d81b5e2e82c7f358b","head":{"label":"cds-snc:add_timestamp","ref":"add_timestamp","sha":"a0dbee43477f2046f4dda69d81b5e2e82c7f358b","user":{"login":"cds-snc","id":30166251,"avatar_url":"https://avatars1.githubusercontent.com/u/30166251?v=4","gravatar_id":"","url":"https://api.github.com/users/cds-snc","html_url":"https://github.com/cds-snc","followers_url":"https://api.github.com/users/cds-snc/followers","following_url":"https://api.github.com/users/cds-snc/following{/other_user}","gists_url":"https://api.github.com/users/cds-snc/gists{/gist_id}","starred_url":"https://api.github.com/users/cds-snc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cds-snc/subscriptions","organizations_url":"https://api.github.com/users/cds-snc/orgs","repos_url":"https://api.github.com/users/cds-snc/repos","events_url":"https://api.github.com/users/cds-snc/events{/privacy}","received_events_url":"https://api.github.com/users/cds-snc/received_events","type":"Organization","site_admin":false},"repo":{"id":111843247,"name":"nrcan_api","full_name":"cds-snc/nrcan_api","owner":{"login":"cds-snc","id":30166251,"avatar_url":"https://avatars1.githubusercontent.com/u/30166251?v=4","gravatar_id":"","url":"https://api.github.com/users/cds-snc","html_url":"https://github.com/cds-snc","followers_url":"https://api.github.com/users/cds-snc/followers","following_url":"https://api.github.com/users/cds-snc/following{/other_user}","gists_url":"https://api.github.com/users/cds-snc/gists{/gist_id}","starred_url":"https://api.github.com/users/cds-snc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cds-snc/subscriptions","organizations_url":"https://api.github.com/users/cds-snc/orgs","repos_url":"https://api.github.com/users/cds-snc/repos","events_url":"https://api.github.com/users/cds-snc/events{/privacy}","received_events_url":"https://api.github.com/users/cds-snc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cds-snc/nrcan_api","description":"An API for Natural Resources Canada's Energuide data.","fork":false,"url":"https://api.github.com/repos/cds-snc/nrcan_api","forks_url":"https://api.github.com/repos/cds-snc/nrcan_api/forks","keys_url":"https://api.github.com/repos/cds-snc/nrcan_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cds-snc/nrcan_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cds-snc/nrcan_api/teams","hooks_url":"https://api.github.com/repos/cds-snc/nrcan_api/hooks","issue_events_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/events{/number}","events_url":"https://api.github.com/repos/cds-snc/nrcan_api/events","assignees_url":"https://api.github.com/repos/cds-snc/nrcan_api/assignees{/user}","branches_url":"https://api.github.com/repos/cds-snc/nrcan_api/branches{/branch}","tags_url":"https://api.github.com/repos/cds-snc/nrcan_api/tags","blobs_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cds-snc/nrcan_api/statuses/{sha}","languages_url":"https://api.github.com/repos/cds-snc/nrcan_api/languages","stargazers_url":"https://api.github.com/repos/cds-snc/nrcan_api/stargazers","contributors_url":"https://api.github.com/repos/cds-snc/nrcan_api/contributors","subscribers_url":"https://api.github.com/repos/cds-snc/nrcan_api/subscribers","subscription_url":"https://api.github.com/repos/cds-snc/nrcan_api/subscription","commits_url":"https://api.github.com/repos/cds-snc/nrcan_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cds-snc/nrcan_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/cds-snc/nrcan_api/contents/{+path}","compare_url":"https://api.github.com/repos/cds-snc/nrcan_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cds-snc/nrcan_api/merges","archive_url":"https://api.github.com/repos/cds-snc/nrcan_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cds-snc/nrcan_api/downloads","issues_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues{/number}","pulls_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls{/number}","milestones_url":"https://api.github.com/repos/cds-snc/nrcan_api/milestones{/number}","notifications_url":"https://api.github.com/repos/cds-snc/nrcan_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cds-snc/nrcan_api/labels{/name}","releases_url":"https://api.github.com/repos/cds-snc/nrcan_api/releases{/id}","deployments_url":"https://api.github.com/repos/cds-snc/nrcan_api/deployments","created_at":"2017-11-23T19:19:13Z","updated_at":"2018-02-06T16:20:44Z","pushed_at":"2018-02-27T21:43:36Z","git_url":"git://github.com/cds-snc/nrcan_api.git","ssh_url":"git@github.com:cds-snc/nrcan_api.git","clone_url":"https://github.com/cds-snc/nrcan_api.git","svn_url":"https://github.com/cds-snc/nrcan_api","homepage":null,"size":1586,"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":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"cds-snc:master","ref":"master","sha":"05847a39459debfcb9aede8e6f2c22a05605c5bd","user":{"login":"cds-snc","id":30166251,"avatar_url":"https://avatars1.githubusercontent.com/u/30166251?v=4","gravatar_id":"","url":"https://api.github.com/users/cds-snc","html_url":"https://github.com/cds-snc","followers_url":"https://api.github.com/users/cds-snc/followers","following_url":"https://api.github.com/users/cds-snc/following{/other_user}","gists_url":"https://api.github.com/users/cds-snc/gists{/gist_id}","starred_url":"https://api.github.com/users/cds-snc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cds-snc/subscriptions","organizations_url":"https://api.github.com/users/cds-snc/orgs","repos_url":"https://api.github.com/users/cds-snc/repos","events_url":"https://api.github.com/users/cds-snc/events{/privacy}","received_events_url":"https://api.github.com/users/cds-snc/received_events","type":"Organization","site_admin":false},"repo":{"id":111843247,"name":"nrcan_api","full_name":"cds-snc/nrcan_api","owner":{"login":"cds-snc","id":30166251,"avatar_url":"https://avatars1.githubusercontent.com/u/30166251?v=4","gravatar_id":"","url":"https://api.github.com/users/cds-snc","html_url":"https://github.com/cds-snc","followers_url":"https://api.github.com/users/cds-snc/followers","following_url":"https://api.github.com/users/cds-snc/following{/other_user}","gists_url":"https://api.github.com/users/cds-snc/gists{/gist_id}","starred_url":"https://api.github.com/users/cds-snc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cds-snc/subscriptions","organizations_url":"https://api.github.com/users/cds-snc/orgs","repos_url":"https://api.github.com/users/cds-snc/repos","events_url":"https://api.github.com/users/cds-snc/events{/privacy}","received_events_url":"https://api.github.com/users/cds-snc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cds-snc/nrcan_api","description":"An API for Natural Resources Canada's Energuide data.","fork":false,"url":"https://api.github.com/repos/cds-snc/nrcan_api","forks_url":"https://api.github.com/repos/cds-snc/nrcan_api/forks","keys_url":"https://api.github.com/repos/cds-snc/nrcan_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cds-snc/nrcan_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cds-snc/nrcan_api/teams","hooks_url":"https://api.github.com/repos/cds-snc/nrcan_api/hooks","issue_events_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/events{/number}","events_url":"https://api.github.com/repos/cds-snc/nrcan_api/events","assignees_url":"https://api.github.com/repos/cds-snc/nrcan_api/assignees{/user}","branches_url":"https://api.github.com/repos/cds-snc/nrcan_api/branches{/branch}","tags_url":"https://api.github.com/repos/cds-snc/nrcan_api/tags","blobs_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cds-snc/nrcan_api/statuses/{sha}","languages_url":"https://api.github.com/repos/cds-snc/nrcan_api/languages","stargazers_url":"https://api.github.com/repos/cds-snc/nrcan_api/stargazers","contributors_url":"https://api.github.com/repos/cds-snc/nrcan_api/contributors","subscribers_url":"https://api.github.com/repos/cds-snc/nrcan_api/subscribers","subscription_url":"https://api.github.com/repos/cds-snc/nrcan_api/subscription","commits_url":"https://api.github.com/repos/cds-snc/nrcan_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cds-snc/nrcan_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cds-snc/nrcan_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/cds-snc/nrcan_api/contents/{+path}","compare_url":"https://api.github.com/repos/cds-snc/nrcan_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cds-snc/nrcan_api/merges","archive_url":"https://api.github.com/repos/cds-snc/nrcan_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cds-snc/nrcan_api/downloads","issues_url":"https://api.github.com/repos/cds-snc/nrcan_api/issues{/number}","pulls_url":"https://api.github.com/repos/cds-snc/nrcan_api/pulls{/number}","milestones_url":"https://api.github.com/repos/cds-snc/nrcan_api/milestones{/number}","notifications_url":"https://api.github.com/repos/cds-snc/nrcan_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cds-snc/nrcan_api/labels{/name}","releases_url":"https://api.github.com/repos/cds-snc/nrcan_api/releases{/id}","deployments_url":"https://api.github.com/repos/cds-snc/nrcan_api/deployments","created_at":"2017-11-23T19:19:13Z","updated_at":"2018-02-06T16:20:44Z","pushed_at":"2018-02-27T21:43:36Z","git_url":"git://github.com/cds-snc/nrcan_api.git","ssh_url":"git@github.com:cds-snc/nrcan_api.git","clone_url":"https://github.com/cds-snc/nrcan_api.git","svn_url":"https://github.com/cds-snc/nrcan_api","homepage":null,"size":1586,"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":2,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272"},"html":{"href":"https://github.com/cds-snc/nrcan_api/pull/272"},"issue":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/issues/272"},"comments":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/issues/272/comments"},"review_comments":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272/comments"},"review_comment":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/pulls/272/commits"},"statuses":{"href":"https://api.github.com/repos/cds-snc/nrcan_api/statuses/a0dbee43477f2046f4dda69d81b5e2e82c7f358b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"buckley-w-david"}}