{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments/49357746","id":49357746,"diff_hunk":"@@ -98,3 +53,10 @@ def dictfetchall(cursor):\n         dict(zip([col[0] for col in desc], row))\n         for row in cursor.fetchall()\n     ]\n+\n+\n+def class_for_name(path):\n+    \"\"\" Returns the class given the full path. \"\"\"","path":"analytics_data_api/utils.py","position":69,"original_position":69,"commit_id":"59e78cf22e1c4f3c1a05c2df8040db9f2d9417e7","original_commit_id":"59e78cf22e1c4f3c1a05c2df8040db9f2d9417e7","user":{"login":"dan-f","id":2146312,"avatar_url":"https://avatars.githubusercontent.com/u/2146312?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-f","html_url":"https://github.com/dan-f","followers_url":"https://api.github.com/users/dan-f/followers","following_url":"https://api.github.com/users/dan-f/following{/other_user}","gists_url":"https://api.github.com/users/dan-f/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-f/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-f/subscriptions","organizations_url":"https://api.github.com/users/dan-f/orgs","repos_url":"https://api.github.com/users/dan-f/repos","events_url":"https://api.github.com/users/dan-f/events{/privacy}","received_events_url":"https://api.github.com/users/dan-f/received_events","type":"User","site_admin":false},"body":"Additionally, this function could give you any definition (class, variable, function, etc) instance given a fully-qualified definition. Maybe you could rename this to something like \"load_fully_qualified_definition\"?","created_at":"2016-01-11T18:27:37Z","updated_at":"2016-01-11T18:27:37Z","html_url":"https://github.com/edx/edx-analytics-data-api/pull/103#discussion_r49357746","pull_request_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments/49357746"},"html":{"href":"https://github.com/edx/edx-analytics-data-api/pull/103#discussion_r49357746"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103"}}},"pull_request":{"url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103","id":55514781,"html_url":"https://github.com/edx/edx-analytics-data-api/pull/103","diff_url":"https://github.com/edx/edx-analytics-data-api/pull/103.diff","patch_url":"https://github.com/edx/edx-analytics-data-api/pull/103.patch","issue_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/103","number":103,"state":"open","locked":false,"title":"Added AWS request signing.","user":{"login":"dsjen","id":5265058,"avatar_url":"https://avatars.githubusercontent.com/u/5265058?v=3","gravatar_id":"","url":"https://api.github.com/users/dsjen","html_url":"https://github.com/dsjen","followers_url":"https://api.github.com/users/dsjen/followers","following_url":"https://api.github.com/users/dsjen/following{/other_user}","gists_url":"https://api.github.com/users/dsjen/gists{/gist_id}","starred_url":"https://api.github.com/users/dsjen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsjen/subscriptions","organizations_url":"https://api.github.com/users/dsjen/orgs","repos_url":"https://api.github.com/users/dsjen/repos","events_url":"https://api.github.com/users/dsjen/events{/privacy}","received_events_url":"https://api.github.com/users/dsjen/received_events","type":"User","site_admin":false},"body":"This PR adds a number of settings used for signing requests for when the elasticsearch cluster is hosted on aws.  It's still not entirely clear whether we want this in a separate repo for sharing yet, but I figure we can pull out `connections.py` into a package without too much trouble if we decide to go that route.\r\n\r\n@dan-f, please review.","created_at":"2016-01-08T21:47:23Z","updated_at":"2016-01-11T18:27:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57f8052f1eb46cb2d890a5491ba814a6d2b16c61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103/commits","review_comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103/comments","review_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/103/comments","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/59e78cf22e1c4f3c1a05c2df8040db9f2d9417e7","head":{"label":"edx:dsjen/boto-integration","ref":"dsjen/boto-integration","sha":"59e78cf22e1c4f3c1a05c2df8040db9f2d9417e7","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":20415476,"name":"edx-analytics-data-api","full_name":"edx/edx-analytics-data-api","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-analytics-data-api","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-data-api","forks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-data-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-data-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-data-api/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-data-api/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-data-api/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-data-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-data-api/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-data-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-data-api/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-data-api/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-data-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-data-api/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-data-api/releases{/id}","created_at":"2014-06-02T18:55:15Z","updated_at":"2015-10-13T15:21:25Z","pushed_at":"2016-01-08T21:47:23Z","git_url":"git://github.com/edx/edx-analytics-data-api.git","ssh_url":"git@github.com:edx/edx-analytics-data-api.git","clone_url":"https://github.com/edx/edx-analytics-data-api.git","svn_url":"https://github.com/edx/edx-analytics-data-api","homepage":null,"size":1306,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":4,"forks":25,"open_issues":4,"watchers":5,"default_branch":"master"}},"base":{"label":"edx:learner-analytics","ref":"learner-analytics","sha":"c97051ace262e27a2e583c20849d2f2a33c5bc17","user":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":20415476,"name":"edx-analytics-data-api","full_name":"edx/edx-analytics-data-api","owner":{"login":"edx","id":3179841,"avatar_url":"https://avatars.githubusercontent.com/u/3179841?v=3","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-analytics-data-api","description":"","fork":false,"url":"https://api.github.com/repos/edx/edx-analytics-data-api","forks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/forks","keys_url":"https://api.github.com/repos/edx/edx-analytics-data-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-analytics-data-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-analytics-data-api/teams","hooks_url":"https://api.github.com/repos/edx/edx-analytics-data-api/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-analytics-data-api/events","assignees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-analytics-data-api/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/tags","blobs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-analytics-data-api/languages","stargazers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-analytics-data-api/subscription","commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-analytics-data-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-analytics-data-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-analytics-data-api/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-analytics-data-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-analytics-data-api/merges","archive_url":"https://api.github.com/repos/edx/edx-analytics-data-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-analytics-data-api/downloads","issues_url":"https://api.github.com/repos/edx/edx-analytics-data-api/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-analytics-data-api/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-analytics-data-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-analytics-data-api/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-analytics-data-api/releases{/id}","created_at":"2014-06-02T18:55:15Z","updated_at":"2015-10-13T15:21:25Z","pushed_at":"2016-01-08T21:47:23Z","git_url":"git://github.com/edx/edx-analytics-data-api.git","ssh_url":"git@github.com:edx/edx-analytics-data-api.git","clone_url":"https://github.com/edx/edx-analytics-data-api.git","svn_url":"https://github.com/edx/edx-analytics-data-api","homepage":null,"size":1306,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":4,"forks":25,"open_issues":4,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103"},"html":{"href":"https://github.com/edx/edx-analytics-data-api/pull/103"},"issue":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/103"},"comments":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/issues/103/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/pulls/103/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-analytics-data-api/statuses/59e78cf22e1c4f3c1a05c2df8040db9f2d9417e7"}}}}