{"action":"created","comment":{"url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/comments/65503345","id":65503345,"diff_hunk":"@@ -11,6 +12,12 @@\n logger = logging.getLogger(__name__)\n \n \n+def dateify(str_date, template=\"%Y-%m-%d\"):\n+    \"\"\"Convert string to date object.\"\"\"","path":"lims/api.py","position":11,"original_position":11,"commit_id":"c7b94ddc4a2ba9126fea5582a4ef4cfb0407cbb6","original_commit_id":"c7b94ddc4a2ba9126fea5582a4ef4cfb0407cbb6","user":{"login":"b4ckm4n","id":13883981,"avatar_url":"https://avatars.githubusercontent.com/u/13883981?v=3","gravatar_id":"","url":"https://api.github.com/users/b4ckm4n","html_url":"https://github.com/b4ckm4n","followers_url":"https://api.github.com/users/b4ckm4n/followers","following_url":"https://api.github.com/users/b4ckm4n/following{/other_user}","gists_url":"https://api.github.com/users/b4ckm4n/gists{/gist_id}","starred_url":"https://api.github.com/users/b4ckm4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4ckm4n/subscriptions","organizations_url":"https://api.github.com/users/b4ckm4n/orgs","repos_url":"https://api.github.com/users/b4ckm4n/repos","events_url":"https://api.github.com/users/b4ckm4n/events{/privacy}","received_events_url":"https://api.github.com/users/b4ckm4n/received_events","type":"User","site_admin":false},"body":"there's no explanation for the parameters","created_at":"2016-06-02T08:40:53Z","updated_at":"2016-06-02T08:40:53Z","html_url":"https://github.com/Clinical-Genomics/lims/pull/3#discussion_r65503345","pull_request_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/comments/65503345"},"html":{"href":"https://github.com/Clinical-Genomics/lims/pull/3#discussion_r65503345"},"pull_request":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3","id":71180286,"html_url":"https://github.com/Clinical-Genomics/lims/pull/3","diff_url":"https://github.com/Clinical-Genomics/lims/pull/3.diff","patch_url":"https://github.com/Clinical-Genomics/lims/pull/3.patch","issue_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/3","number":3,"state":"open","locked":false,"title":"add filter on date for samples","user":{"login":"robinandeer","id":1220232,"avatar_url":"https://avatars.githubusercontent.com/u/1220232?v=3","gravatar_id":"","url":"https://api.github.com/users/robinandeer","html_url":"https://github.com/robinandeer","followers_url":"https://api.github.com/users/robinandeer/followers","following_url":"https://api.github.com/users/robinandeer/following{/other_user}","gists_url":"https://api.github.com/users/robinandeer/gists{/gist_id}","starred_url":"https://api.github.com/users/robinandeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robinandeer/subscriptions","organizations_url":"https://api.github.com/users/robinandeer/orgs","repos_url":"https://api.github.com/users/robinandeer/repos","events_url":"https://api.github.com/users/robinandeer/events{/privacy}","received_events_url":"https://api.github.com/users/robinandeer/received_events","type":"User","site_admin":false},"body":"filter before transforming the entry to optimize for speed!","created_at":"2016-05-24T08:47:37Z","updated_at":"2016-06-02T08:40:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"26b1af8a78d557d693d9c4a898dee451f181c60d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/3/comments","statuses_url":"https://api.github.com/repos/Clinical-Genomics/lims/statuses/c7b94ddc4a2ba9126fea5582a4ef4cfb0407cbb6","head":{"label":"Clinical-Genomics:filter-samples-on-date","ref":"filter-samples-on-date","sha":"c7b94ddc4a2ba9126fea5582a4ef4cfb0407cbb6","user":{"login":"Clinical-Genomics","id":6412433,"avatar_url":"https://avatars.githubusercontent.com/u/6412433?v=3","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"repo":{"id":42645944,"name":"lims","full_name":"Clinical-Genomics/lims","owner":{"login":"Clinical-Genomics","id":6412433,"avatar_url":"https://avatars.githubusercontent.com/u/6412433?v=3","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clinical-Genomics/lims","description":"Microservice to interface with LIMS","fork":false,"url":"https://api.github.com/repos/Clinical-Genomics/lims","forks_url":"https://api.github.com/repos/Clinical-Genomics/lims/forks","keys_url":"https://api.github.com/repos/Clinical-Genomics/lims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clinical-Genomics/lims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clinical-Genomics/lims/teams","hooks_url":"https://api.github.com/repos/Clinical-Genomics/lims/hooks","issue_events_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/events{/number}","events_url":"https://api.github.com/repos/Clinical-Genomics/lims/events","assignees_url":"https://api.github.com/repos/Clinical-Genomics/lims/assignees{/user}","branches_url":"https://api.github.com/repos/Clinical-Genomics/lims/branches{/branch}","tags_url":"https://api.github.com/repos/Clinical-Genomics/lims/tags","blobs_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clinical-Genomics/lims/statuses/{sha}","languages_url":"https://api.github.com/repos/Clinical-Genomics/lims/languages","stargazers_url":"https://api.github.com/repos/Clinical-Genomics/lims/stargazers","contributors_url":"https://api.github.com/repos/Clinical-Genomics/lims/contributors","subscribers_url":"https://api.github.com/repos/Clinical-Genomics/lims/subscribers","subscription_url":"https://api.github.com/repos/Clinical-Genomics/lims/subscription","commits_url":"https://api.github.com/repos/Clinical-Genomics/lims/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clinical-Genomics/lims/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clinical-Genomics/lims/contents/{+path}","compare_url":"https://api.github.com/repos/Clinical-Genomics/lims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clinical-Genomics/lims/merges","archive_url":"https://api.github.com/repos/Clinical-Genomics/lims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clinical-Genomics/lims/downloads","issues_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues{/number}","pulls_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls{/number}","milestones_url":"https://api.github.com/repos/Clinical-Genomics/lims/milestones{/number}","notifications_url":"https://api.github.com/repos/Clinical-Genomics/lims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clinical-Genomics/lims/labels{/name}","releases_url":"https://api.github.com/repos/Clinical-Genomics/lims/releases{/id}","deployments_url":"https://api.github.com/repos/Clinical-Genomics/lims/deployments","created_at":"2015-09-17T08:58:26Z","updated_at":"2016-05-11T09:01:54Z","pushed_at":"2016-05-24T08:47:38Z","git_url":"git://github.com/Clinical-Genomics/lims.git","ssh_url":"git@github.com:Clinical-Genomics/lims.git","clone_url":"https://github.com/Clinical-Genomics/lims.git","svn_url":"https://github.com/Clinical-Genomics/lims","homepage":"","size":32,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Clinical-Genomics:master","ref":"master","sha":"795a9ae58830f72b76e64a3bcce28304545f020d","user":{"login":"Clinical-Genomics","id":6412433,"avatar_url":"https://avatars.githubusercontent.com/u/6412433?v=3","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"repo":{"id":42645944,"name":"lims","full_name":"Clinical-Genomics/lims","owner":{"login":"Clinical-Genomics","id":6412433,"avatar_url":"https://avatars.githubusercontent.com/u/6412433?v=3","gravatar_id":"","url":"https://api.github.com/users/Clinical-Genomics","html_url":"https://github.com/Clinical-Genomics","followers_url":"https://api.github.com/users/Clinical-Genomics/followers","following_url":"https://api.github.com/users/Clinical-Genomics/following{/other_user}","gists_url":"https://api.github.com/users/Clinical-Genomics/gists{/gist_id}","starred_url":"https://api.github.com/users/Clinical-Genomics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Clinical-Genomics/subscriptions","organizations_url":"https://api.github.com/users/Clinical-Genomics/orgs","repos_url":"https://api.github.com/users/Clinical-Genomics/repos","events_url":"https://api.github.com/users/Clinical-Genomics/events{/privacy}","received_events_url":"https://api.github.com/users/Clinical-Genomics/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Clinical-Genomics/lims","description":"Microservice to interface with LIMS","fork":false,"url":"https://api.github.com/repos/Clinical-Genomics/lims","forks_url":"https://api.github.com/repos/Clinical-Genomics/lims/forks","keys_url":"https://api.github.com/repos/Clinical-Genomics/lims/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Clinical-Genomics/lims/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Clinical-Genomics/lims/teams","hooks_url":"https://api.github.com/repos/Clinical-Genomics/lims/hooks","issue_events_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/events{/number}","events_url":"https://api.github.com/repos/Clinical-Genomics/lims/events","assignees_url":"https://api.github.com/repos/Clinical-Genomics/lims/assignees{/user}","branches_url":"https://api.github.com/repos/Clinical-Genomics/lims/branches{/branch}","tags_url":"https://api.github.com/repos/Clinical-Genomics/lims/tags","blobs_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/refs{/sha}","trees_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Clinical-Genomics/lims/statuses/{sha}","languages_url":"https://api.github.com/repos/Clinical-Genomics/lims/languages","stargazers_url":"https://api.github.com/repos/Clinical-Genomics/lims/stargazers","contributors_url":"https://api.github.com/repos/Clinical-Genomics/lims/contributors","subscribers_url":"https://api.github.com/repos/Clinical-Genomics/lims/subscribers","subscription_url":"https://api.github.com/repos/Clinical-Genomics/lims/subscription","commits_url":"https://api.github.com/repos/Clinical-Genomics/lims/commits{/sha}","git_commits_url":"https://api.github.com/repos/Clinical-Genomics/lims/git/commits{/sha}","comments_url":"https://api.github.com/repos/Clinical-Genomics/lims/comments{/number}","issue_comment_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues/comments{/number}","contents_url":"https://api.github.com/repos/Clinical-Genomics/lims/contents/{+path}","compare_url":"https://api.github.com/repos/Clinical-Genomics/lims/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Clinical-Genomics/lims/merges","archive_url":"https://api.github.com/repos/Clinical-Genomics/lims/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Clinical-Genomics/lims/downloads","issues_url":"https://api.github.com/repos/Clinical-Genomics/lims/issues{/number}","pulls_url":"https://api.github.com/repos/Clinical-Genomics/lims/pulls{/number}","milestones_url":"https://api.github.com/repos/Clinical-Genomics/lims/milestones{/number}","notifications_url":"https://api.github.com/repos/Clinical-Genomics/lims/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Clinical-Genomics/lims/labels{/name}","releases_url":"https://api.github.com/repos/Clinical-Genomics/lims/releases{/id}","deployments_url":"https://api.github.com/repos/Clinical-Genomics/lims/deployments","created_at":"2015-09-17T08:58:26Z","updated_at":"2016-05-11T09:01:54Z","pushed_at":"2016-05-24T08:47:38Z","git_url":"git://github.com/Clinical-Genomics/lims.git","ssh_url":"git@github.com:Clinical-Genomics/lims.git","clone_url":"https://github.com/Clinical-Genomics/lims.git","svn_url":"https://github.com/Clinical-Genomics/lims","homepage":"","size":32,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3"},"html":{"href":"https://github.com/Clinical-Genomics/lims/pull/3"},"issue":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/issues/3"},"comments":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Clinical-Genomics/lims/statuses/c7b94ddc4a2ba9126fea5582a4ef4cfb0407cbb6"}}}}
{"actor":{"display_login":"b4ckm4n"}}