{"action":"created","comment":{"url":"https://api.github.com/repos/delighted/delighted-python/pulls/comments/189075238","pull_request_review_id":121184334,"id":189075238,"diff_hunk":"@@ -43,6 +43,23 @@ def __getattr__(self, k):\n     def _set_client(self, params):\n         self.client = params.pop('client', None) or get_shared_client()\n \n+    @classmethod\n+    def _identifier_string(self, **id_dict):\n+        id_key = None\n+        id_value = None\n+        for key, value in six.iteritems(id_dict):\n+            if key and value:\n+                id_key = key\n+                id_value = value\n+                break\n+\n+        if not id_key:\n+            raise ValueError('You must pass an identifier name and value')\n+\n+        if 'id' == id_key:\n+            return id_value\n+        else:\n+            return '%s:%s' % (id_key, id_value)","path":"delighted/resource.py","position":20,"original_position":20,"commit_id":"db15058278204cb5bd89d546bed6f301ec3c2d6f","original_commit_id":"db15058278204cb5bd89d546bed6f301ec3c2d6f","user":{"login":"mkdynamic","id":4312,"avatar_url":"https://avatars3.githubusercontent.com/u/4312?v=4","gravatar_id":"","url":"https://api.github.com/users/mkdynamic","html_url":"https://github.com/mkdynamic","followers_url":"https://api.github.com/users/mkdynamic/followers","following_url":"https://api.github.com/users/mkdynamic/following{/other_user}","gists_url":"https://api.github.com/users/mkdynamic/gists{/gist_id}","starred_url":"https://api.github.com/users/mkdynamic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkdynamic/subscriptions","organizations_url":"https://api.github.com/users/mkdynamic/orgs","repos_url":"https://api.github.com/users/mkdynamic/repos","events_url":"https://api.github.com/users/mkdynamic/events{/privacy}","received_events_url":"https://api.github.com/users/mkdynamic/received_events","type":"User","site_admin":false},"body":"Same notes here for this method that I added to delighted-ruby.","created_at":"2018-05-17T19:31:06Z","updated_at":"2018-05-17T19:32:40Z","html_url":"https://github.com/delighted/delighted-python/pull/15#discussion_r189075238","pull_request_url":"https://api.github.com/repos/delighted/delighted-python/pulls/15","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/comments/189075238"},"html":{"href":"https://github.com/delighted/delighted-python/pull/15#discussion_r189075238"},"pull_request":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/delighted/delighted-python/pulls/15","id":188282798,"html_url":"https://github.com/delighted/delighted-python/pull/15","diff_url":"https://github.com/delighted/delighted-python/pull/15.diff","patch_url":"https://github.com/delighted/delighted-python/pull/15.patch","issue_url":"https://api.github.com/repos/delighted/delighted-python/issues/15","number":15,"state":"open","locked":false,"title":"Support new person delete API","user":{"login":"kindjar","id":290336,"avatar_url":"https://avatars2.githubusercontent.com/u/290336?v=4","gravatar_id":"","url":"https://api.github.com/users/kindjar","html_url":"https://github.com/kindjar","followers_url":"https://api.github.com/users/kindjar/followers","following_url":"https://api.github.com/users/kindjar/following{/other_user}","gists_url":"https://api.github.com/users/kindjar/gists{/gist_id}","starred_url":"https://api.github.com/users/kindjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kindjar/subscriptions","organizations_url":"https://api.github.com/users/kindjar/orgs","repos_url":"https://api.github.com/users/kindjar/repos","events_url":"https://api.github.com/users/kindjar/events{/privacy}","received_events_url":"https://api.github.com/users/kindjar/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-15T23:30:34Z","updated_at":"2018-05-17T19:32:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17fe43bce12beb06902212dc96ac4c2698dd0b07","assignee":{"login":"kindjar","id":290336,"avatar_url":"https://avatars2.githubusercontent.com/u/290336?v=4","gravatar_id":"","url":"https://api.github.com/users/kindjar","html_url":"https://github.com/kindjar","followers_url":"https://api.github.com/users/kindjar/followers","following_url":"https://api.github.com/users/kindjar/following{/other_user}","gists_url":"https://api.github.com/users/kindjar/gists{/gist_id}","starred_url":"https://api.github.com/users/kindjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kindjar/subscriptions","organizations_url":"https://api.github.com/users/kindjar/orgs","repos_url":"https://api.github.com/users/kindjar/repos","events_url":"https://api.github.com/users/kindjar/events{/privacy}","received_events_url":"https://api.github.com/users/kindjar/received_events","type":"User","site_admin":false},"assignees":[{"login":"kindjar","id":290336,"avatar_url":"https://avatars2.githubusercontent.com/u/290336?v=4","gravatar_id":"","url":"https://api.github.com/users/kindjar","html_url":"https://github.com/kindjar","followers_url":"https://api.github.com/users/kindjar/followers","following_url":"https://api.github.com/users/kindjar/following{/other_user}","gists_url":"https://api.github.com/users/kindjar/gists{/gist_id}","starred_url":"https://api.github.com/users/kindjar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kindjar/subscriptions","organizations_url":"https://api.github.com/users/kindjar/orgs","repos_url":"https://api.github.com/users/kindjar/repos","events_url":"https://api.github.com/users/kindjar/events{/privacy}","received_events_url":"https://api.github.com/users/kindjar/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"skhisma","id":9072,"avatar_url":"https://avatars2.githubusercontent.com/u/9072?v=4","gravatar_id":"","url":"https://api.github.com/users/skhisma","html_url":"https://github.com/skhisma","followers_url":"https://api.github.com/users/skhisma/followers","following_url":"https://api.github.com/users/skhisma/following{/other_user}","gists_url":"https://api.github.com/users/skhisma/gists{/gist_id}","starred_url":"https://api.github.com/users/skhisma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skhisma/subscriptions","organizations_url":"https://api.github.com/users/skhisma/orgs","repos_url":"https://api.github.com/users/skhisma/repos","events_url":"https://api.github.com/users/skhisma/events{/privacy}","received_events_url":"https://api.github.com/users/skhisma/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/delighted/delighted-python/pulls/15/commits","review_comments_url":"https://api.github.com/repos/delighted/delighted-python/pulls/15/comments","review_comment_url":"https://api.github.com/repos/delighted/delighted-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/delighted/delighted-python/issues/15/comments","statuses_url":"https://api.github.com/repos/delighted/delighted-python/statuses/db15058278204cb5bd89d546bed6f301ec3c2d6f","head":{"label":"delighted:person-delete","ref":"person-delete","sha":"db15058278204cb5bd89d546bed6f301ec3c2d6f","user":{"login":"delighted","id":3779537,"avatar_url":"https://avatars0.githubusercontent.com/u/3779537?v=4","gravatar_id":"","url":"https://api.github.com/users/delighted","html_url":"https://github.com/delighted","followers_url":"https://api.github.com/users/delighted/followers","following_url":"https://api.github.com/users/delighted/following{/other_user}","gists_url":"https://api.github.com/users/delighted/gists{/gist_id}","starred_url":"https://api.github.com/users/delighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delighted/subscriptions","organizations_url":"https://api.github.com/users/delighted/orgs","repos_url":"https://api.github.com/users/delighted/repos","events_url":"https://api.github.com/users/delighted/events{/privacy}","received_events_url":"https://api.github.com/users/delighted/received_events","type":"Organization","site_admin":false},"repo":{"id":43041564,"name":"delighted-python","full_name":"delighted/delighted-python","owner":{"login":"delighted","id":3779537,"avatar_url":"https://avatars0.githubusercontent.com/u/3779537?v=4","gravatar_id":"","url":"https://api.github.com/users/delighted","html_url":"https://github.com/delighted","followers_url":"https://api.github.com/users/delighted/followers","following_url":"https://api.github.com/users/delighted/following{/other_user}","gists_url":"https://api.github.com/users/delighted/gists{/gist_id}","starred_url":"https://api.github.com/users/delighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delighted/subscriptions","organizations_url":"https://api.github.com/users/delighted/orgs","repos_url":"https://api.github.com/users/delighted/repos","events_url":"https://api.github.com/users/delighted/events{/privacy}","received_events_url":"https://api.github.com/users/delighted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/delighted/delighted-python","description":"Delighted API Python Client","fork":false,"url":"https://api.github.com/repos/delighted/delighted-python","forks_url":"https://api.github.com/repos/delighted/delighted-python/forks","keys_url":"https://api.github.com/repos/delighted/delighted-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delighted/delighted-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delighted/delighted-python/teams","hooks_url":"https://api.github.com/repos/delighted/delighted-python/hooks","issue_events_url":"https://api.github.com/repos/delighted/delighted-python/issues/events{/number}","events_url":"https://api.github.com/repos/delighted/delighted-python/events","assignees_url":"https://api.github.com/repos/delighted/delighted-python/assignees{/user}","branches_url":"https://api.github.com/repos/delighted/delighted-python/branches{/branch}","tags_url":"https://api.github.com/repos/delighted/delighted-python/tags","blobs_url":"https://api.github.com/repos/delighted/delighted-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delighted/delighted-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delighted/delighted-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/delighted/delighted-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delighted/delighted-python/statuses/{sha}","languages_url":"https://api.github.com/repos/delighted/delighted-python/languages","stargazers_url":"https://api.github.com/repos/delighted/delighted-python/stargazers","contributors_url":"https://api.github.com/repos/delighted/delighted-python/contributors","subscribers_url":"https://api.github.com/repos/delighted/delighted-python/subscribers","subscription_url":"https://api.github.com/repos/delighted/delighted-python/subscription","commits_url":"https://api.github.com/repos/delighted/delighted-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/delighted/delighted-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/delighted/delighted-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/delighted/delighted-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/delighted/delighted-python/contents/{+path}","compare_url":"https://api.github.com/repos/delighted/delighted-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delighted/delighted-python/merges","archive_url":"https://api.github.com/repos/delighted/delighted-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delighted/delighted-python/downloads","issues_url":"https://api.github.com/repos/delighted/delighted-python/issues{/number}","pulls_url":"https://api.github.com/repos/delighted/delighted-python/pulls{/number}","milestones_url":"https://api.github.com/repos/delighted/delighted-python/milestones{/number}","notifications_url":"https://api.github.com/repos/delighted/delighted-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delighted/delighted-python/labels{/name}","releases_url":"https://api.github.com/repos/delighted/delighted-python/releases{/id}","deployments_url":"https://api.github.com/repos/delighted/delighted-python/deployments","created_at":"2015-09-24T03:05:05Z","updated_at":"2017-09-11T22:18:30Z","pushed_at":"2018-05-15T23:30:34Z","git_url":"git://github.com/delighted/delighted-python.git","ssh_url":"git@github.com:delighted/delighted-python.git","clone_url":"https://github.com/delighted/delighted-python.git","svn_url":"https://github.com/delighted/delighted-python","homepage":"https://delighted.com","size":84,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"base":{"label":"delighted:master","ref":"master","sha":"ba11ce0b63c0851160eb76d009ab5680dd191692","user":{"login":"delighted","id":3779537,"avatar_url":"https://avatars0.githubusercontent.com/u/3779537?v=4","gravatar_id":"","url":"https://api.github.com/users/delighted","html_url":"https://github.com/delighted","followers_url":"https://api.github.com/users/delighted/followers","following_url":"https://api.github.com/users/delighted/following{/other_user}","gists_url":"https://api.github.com/users/delighted/gists{/gist_id}","starred_url":"https://api.github.com/users/delighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delighted/subscriptions","organizations_url":"https://api.github.com/users/delighted/orgs","repos_url":"https://api.github.com/users/delighted/repos","events_url":"https://api.github.com/users/delighted/events{/privacy}","received_events_url":"https://api.github.com/users/delighted/received_events","type":"Organization","site_admin":false},"repo":{"id":43041564,"name":"delighted-python","full_name":"delighted/delighted-python","owner":{"login":"delighted","id":3779537,"avatar_url":"https://avatars0.githubusercontent.com/u/3779537?v=4","gravatar_id":"","url":"https://api.github.com/users/delighted","html_url":"https://github.com/delighted","followers_url":"https://api.github.com/users/delighted/followers","following_url":"https://api.github.com/users/delighted/following{/other_user}","gists_url":"https://api.github.com/users/delighted/gists{/gist_id}","starred_url":"https://api.github.com/users/delighted/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/delighted/subscriptions","organizations_url":"https://api.github.com/users/delighted/orgs","repos_url":"https://api.github.com/users/delighted/repos","events_url":"https://api.github.com/users/delighted/events{/privacy}","received_events_url":"https://api.github.com/users/delighted/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/delighted/delighted-python","description":"Delighted API Python Client","fork":false,"url":"https://api.github.com/repos/delighted/delighted-python","forks_url":"https://api.github.com/repos/delighted/delighted-python/forks","keys_url":"https://api.github.com/repos/delighted/delighted-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/delighted/delighted-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/delighted/delighted-python/teams","hooks_url":"https://api.github.com/repos/delighted/delighted-python/hooks","issue_events_url":"https://api.github.com/repos/delighted/delighted-python/issues/events{/number}","events_url":"https://api.github.com/repos/delighted/delighted-python/events","assignees_url":"https://api.github.com/repos/delighted/delighted-python/assignees{/user}","branches_url":"https://api.github.com/repos/delighted/delighted-python/branches{/branch}","tags_url":"https://api.github.com/repos/delighted/delighted-python/tags","blobs_url":"https://api.github.com/repos/delighted/delighted-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/delighted/delighted-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/delighted/delighted-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/delighted/delighted-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/delighted/delighted-python/statuses/{sha}","languages_url":"https://api.github.com/repos/delighted/delighted-python/languages","stargazers_url":"https://api.github.com/repos/delighted/delighted-python/stargazers","contributors_url":"https://api.github.com/repos/delighted/delighted-python/contributors","subscribers_url":"https://api.github.com/repos/delighted/delighted-python/subscribers","subscription_url":"https://api.github.com/repos/delighted/delighted-python/subscription","commits_url":"https://api.github.com/repos/delighted/delighted-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/delighted/delighted-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/delighted/delighted-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/delighted/delighted-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/delighted/delighted-python/contents/{+path}","compare_url":"https://api.github.com/repos/delighted/delighted-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/delighted/delighted-python/merges","archive_url":"https://api.github.com/repos/delighted/delighted-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/delighted/delighted-python/downloads","issues_url":"https://api.github.com/repos/delighted/delighted-python/issues{/number}","pulls_url":"https://api.github.com/repos/delighted/delighted-python/pulls{/number}","milestones_url":"https://api.github.com/repos/delighted/delighted-python/milestones{/number}","notifications_url":"https://api.github.com/repos/delighted/delighted-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/delighted/delighted-python/labels{/name}","releases_url":"https://api.github.com/repos/delighted/delighted-python/releases{/id}","deployments_url":"https://api.github.com/repos/delighted/delighted-python/deployments","created_at":"2015-09-24T03:05:05Z","updated_at":"2017-09-11T22:18:30Z","pushed_at":"2018-05-15T23:30:34Z","git_url":"git://github.com/delighted/delighted-python.git","ssh_url":"git@github.com:delighted/delighted-python.git","clone_url":"https://github.com/delighted/delighted-python.git","svn_url":"https://github.com/delighted/delighted-python","homepage":"https://delighted.com","size":84,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":5,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/15"},"html":{"href":"https://github.com/delighted/delighted-python/pull/15"},"issue":{"href":"https://api.github.com/repos/delighted/delighted-python/issues/15"},"comments":{"href":"https://api.github.com/repos/delighted/delighted-python/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/delighted/delighted-python/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/delighted/delighted-python/statuses/db15058278204cb5bd89d546bed6f301ec3c2d6f"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"mkdynamic"}}