{"action":"created","comment":{"url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/comments/69699367","id":69699367,"diff_hunk":"@@ -0,0 +1,69 @@\n+from .core import CartoException\n+from secret import API_KEY, USER, EXISTING_TABLE, IMPORT_FILE, IMPORT_URL\n+\n+import requests\n+\n+\n+IMPORT_API_FILE_URL = 'v1/map/named/'\n+\n+\n+class NamedMap(object):\n+\n+\tdef __init__(self, client, template_name, params_name):","path":"carto/maps_api.py","position":12,"original_position":12,"commit_id":"c3e6f5c1180ca40734c25af12693b4e9f3f671be","original_commit_id":"c3e6f5c1180ca40734c25af12693b4e9f3f671be","user":{"login":"danicarrion","id":498023,"avatar_url":"https://avatars.githubusercontent.com/u/498023?v=3","gravatar_id":"","url":"https://api.github.com/users/danicarrion","html_url":"https://github.com/danicarrion","followers_url":"https://api.github.com/users/danicarrion/followers","following_url":"https://api.github.com/users/danicarrion/following{/other_user}","gists_url":"https://api.github.com/users/danicarrion/gists{/gist_id}","starred_url":"https://api.github.com/users/danicarrion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danicarrion/subscriptions","organizations_url":"https://api.github.com/users/danicarrion/orgs","repos_url":"https://api.github.com/users/danicarrion/repos","events_url":"https://api.github.com/users/danicarrion/events{/privacy}","received_events_url":"https://api.github.com/users/danicarrion/received_events","type":"User","site_admin":false},"body":"indentation is wrong in the whole file, please make sure you use 4 spaces for indenting (PEP8)","created_at":"2016-07-06T09:22:26Z","updated_at":"2016-07-06T09:22:26Z","html_url":"https://github.com/CartoDB/cartodb-python/pull/27#discussion_r69699367","pull_request_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/comments/69699367"},"html":{"href":"https://github.com/CartoDB/cartodb-python/pull/27#discussion_r69699367"},"pull_request":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27","id":76027975,"html_url":"https://github.com/CartoDB/cartodb-python/pull/27","diff_url":"https://github.com/CartoDB/cartodb-python/pull/27.diff","patch_url":"https://github.com/CartoDB/cartodb-python/pull/27.patch","issue_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/27","number":27,"state":"open","locked":false,"title":"FInished named map and functionality of manager","user":{"login":"rohshar","id":19723718,"avatar_url":"https://avatars.githubusercontent.com/u/19723718?v=3","gravatar_id":"","url":"https://api.github.com/users/rohshar","html_url":"https://github.com/rohshar","followers_url":"https://api.github.com/users/rohshar/followers","following_url":"https://api.github.com/users/rohshar/following{/other_user}","gists_url":"https://api.github.com/users/rohshar/gists{/gist_id}","starred_url":"https://api.github.com/users/rohshar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohshar/subscriptions","organizations_url":"https://api.github.com/users/rohshar/orgs","repos_url":"https://api.github.com/users/rohshar/repos","events_url":"https://api.github.com/users/rohshar/events{/privacy}","received_events_url":"https://api.github.com/users/rohshar/received_events","type":"User","site_admin":false},"body":"Let me know if it needs any fixes","created_at":"2016-07-01T19:44:23Z","updated_at":"2016-07-06T09:22:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b2d422b986d9ab2f22684aeb032c68be81f0857","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27/commits","review_comments_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27/comments","review_comment_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/27/comments","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-python/statuses/c3e6f5c1180ca40734c25af12693b4e9f3f671be","head":{"label":"CartoDB:r-namedmaps","ref":"r-namedmaps","sha":"c3e6f5c1180ca40734c25af12693b4e9f3f671be","user":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":1631632,"name":"cartodb-python","full_name":"CartoDB/cartodb-python","owner":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/cartodb-python","description":"cartodb python client","fork":false,"url":"https://api.github.com/repos/CartoDB/cartodb-python","forks_url":"https://api.github.com/repos/CartoDB/cartodb-python/forks","keys_url":"https://api.github.com/repos/CartoDB/cartodb-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/cartodb-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/cartodb-python/teams","hooks_url":"https://api.github.com/repos/CartoDB/cartodb-python/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/cartodb-python/events","assignees_url":"https://api.github.com/repos/CartoDB/cartodb-python/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/cartodb-python/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/cartodb-python/tags","blobs_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-python/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/cartodb-python/languages","stargazers_url":"https://api.github.com/repos/CartoDB/cartodb-python/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/cartodb-python/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/cartodb-python/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/cartodb-python/subscription","commits_url":"https://api.github.com/repos/CartoDB/cartodb-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/cartodb-python/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/cartodb-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/cartodb-python/merges","archive_url":"https://api.github.com/repos/CartoDB/cartodb-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/cartodb-python/downloads","issues_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/cartodb-python/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/cartodb-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/cartodb-python/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/cartodb-python/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/cartodb-python/deployments","created_at":"2011-04-18T17:20:01Z","updated_at":"2016-06-25T22:00:28Z","pushed_at":"2016-07-04T15:42:43Z","git_url":"git://github.com/CartoDB/cartodb-python.git","ssh_url":"git@github.com:CartoDB/cartodb-python.git","clone_url":"https://github.com/CartoDB/cartodb-python.git","svn_url":"https://github.com/CartoDB/cartodb-python","homepage":"cartodb.com","size":276,"stargazers_count":72,"watchers_count":72,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":5,"forks":40,"open_issues":5,"watchers":72,"default_branch":"master"}},"base":{"label":"CartoDB:1.0.0","ref":"1.0.0","sha":"88325a7ba226f1c2d184254ea6dbcf2f664ee118","user":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"repo":{"id":1631632,"name":"cartodb-python","full_name":"CartoDB/cartodb-python","owner":{"login":"CartoDB","id":1799254,"avatar_url":"https://avatars.githubusercontent.com/u/1799254?v=3","gravatar_id":"","url":"https://api.github.com/users/CartoDB","html_url":"https://github.com/CartoDB","followers_url":"https://api.github.com/users/CartoDB/followers","following_url":"https://api.github.com/users/CartoDB/following{/other_user}","gists_url":"https://api.github.com/users/CartoDB/gists{/gist_id}","starred_url":"https://api.github.com/users/CartoDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CartoDB/subscriptions","organizations_url":"https://api.github.com/users/CartoDB/orgs","repos_url":"https://api.github.com/users/CartoDB/repos","events_url":"https://api.github.com/users/CartoDB/events{/privacy}","received_events_url":"https://api.github.com/users/CartoDB/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CartoDB/cartodb-python","description":"cartodb python client","fork":false,"url":"https://api.github.com/repos/CartoDB/cartodb-python","forks_url":"https://api.github.com/repos/CartoDB/cartodb-python/forks","keys_url":"https://api.github.com/repos/CartoDB/cartodb-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CartoDB/cartodb-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CartoDB/cartodb-python/teams","hooks_url":"https://api.github.com/repos/CartoDB/cartodb-python/hooks","issue_events_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/events{/number}","events_url":"https://api.github.com/repos/CartoDB/cartodb-python/events","assignees_url":"https://api.github.com/repos/CartoDB/cartodb-python/assignees{/user}","branches_url":"https://api.github.com/repos/CartoDB/cartodb-python/branches{/branch}","tags_url":"https://api.github.com/repos/CartoDB/cartodb-python/tags","blobs_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CartoDB/cartodb-python/statuses/{sha}","languages_url":"https://api.github.com/repos/CartoDB/cartodb-python/languages","stargazers_url":"https://api.github.com/repos/CartoDB/cartodb-python/stargazers","contributors_url":"https://api.github.com/repos/CartoDB/cartodb-python/contributors","subscribers_url":"https://api.github.com/repos/CartoDB/cartodb-python/subscribers","subscription_url":"https://api.github.com/repos/CartoDB/cartodb-python/subscription","commits_url":"https://api.github.com/repos/CartoDB/cartodb-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/CartoDB/cartodb-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/CartoDB/cartodb-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/CartoDB/cartodb-python/contents/{+path}","compare_url":"https://api.github.com/repos/CartoDB/cartodb-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CartoDB/cartodb-python/merges","archive_url":"https://api.github.com/repos/CartoDB/cartodb-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CartoDB/cartodb-python/downloads","issues_url":"https://api.github.com/repos/CartoDB/cartodb-python/issues{/number}","pulls_url":"https://api.github.com/repos/CartoDB/cartodb-python/pulls{/number}","milestones_url":"https://api.github.com/repos/CartoDB/cartodb-python/milestones{/number}","notifications_url":"https://api.github.com/repos/CartoDB/cartodb-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CartoDB/cartodb-python/labels{/name}","releases_url":"https://api.github.com/repos/CartoDB/cartodb-python/releases{/id}","deployments_url":"https://api.github.com/repos/CartoDB/cartodb-python/deployments","created_at":"2011-04-18T17:20:01Z","updated_at":"2016-06-25T22:00:28Z","pushed_at":"2016-07-04T15:42:43Z","git_url":"git://github.com/CartoDB/cartodb-python.git","ssh_url":"git@github.com:CartoDB/cartodb-python.git","clone_url":"https://github.com/CartoDB/cartodb-python.git","svn_url":"https://github.com/CartoDB/cartodb-python","homepage":"cartodb.com","size":276,"stargazers_count":72,"watchers_count":72,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":5,"forks":40,"open_issues":5,"watchers":72,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27"},"html":{"href":"https://github.com/CartoDB/cartodb-python/pull/27"},"issue":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/issues/27"},"comments":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/CartoDB/cartodb-python/statuses/c3e6f5c1180ca40734c25af12693b4e9f3f671be"}}}}
{"actor":{"display_login":"danicarrion"}}