{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/79953915","id":79953915,"diff_hunk":"@@ -286,7 +301,19 @@ private String returnTypeComment(\n     contentBuilder.append(\n         \"\\n\\nRaises:\\n  :exc:`google.gax.errors.GaxError` if the RPC is aborted.\");\n \n-    return Splitter.on(\"\\n\").splitToList(contentBuilder.toString());\n+    return splitToLines(contentBuilder.toString());\n+  }\n+\n+  public List<String> enumValueComment(EnumValue value) {\n+    String description = \"\";\n+    if (value.hasAttribute(ElementDocumentationAttribute.KEY)) {\n+      String sphinxified = getSphinxifiedScopedDescription(value);\n+      description = sphinxified.replaceAll(\"\\\\s*\\\\n\\\\s*\", \"\\n\");","path":"src/main/java/com/google/api/codegen/py/PythonGapicContext.java","position":96,"original_position":109,"commit_id":"258ba0a6ab9de80f18a798da9bf8ffb12b06152d","original_commit_id":"04c028a742918385456630faedc997b55e9cf5f1","user":{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false},"body":"NIT: This is duplicated above. It should be broken out into a private method, but I'm not going to block 0.10.0 for this.","created_at":"2016-09-21T23:21:32Z","updated_at":"2016-09-21T23:43:27Z","html_url":"https://github.com/googleapis/toolkit/pull/405#discussion_r79953915","pull_request_url":"https://api.github.com/repos/googleapis/toolkit/pulls/405","_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments/79953915"},"html":{"href":"https://github.com/googleapis/toolkit/pull/405#discussion_r79953915"},"pull_request":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/405"}}},"pull_request":{"url":"https://api.github.com/repos/googleapis/toolkit/pulls/405","id":82276368,"html_url":"https://github.com/googleapis/toolkit/pull/405","diff_url":"https://github.com/googleapis/toolkit/pull/405.diff","patch_url":"https://github.com/googleapis/toolkit/pull/405.patch","issue_url":"https://api.github.com/repos/googleapis/toolkit/issues/405","number":405,"state":"open","locked":false,"title":"Create Python wrappers from Proto enums","user":{"login":"geigerj","id":14222439,"avatar_url":"https://avatars.githubusercontent.com/u/14222439?v=3","gravatar_id":"","url":"https://api.github.com/users/geigerj","html_url":"https://github.com/geigerj","followers_url":"https://api.github.com/users/geigerj/followers","following_url":"https://api.github.com/users/geigerj/following{/other_user}","gists_url":"https://api.github.com/users/geigerj/gists{/gist_id}","starred_url":"https://api.github.com/users/geigerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geigerj/subscriptions","organizations_url":"https://api.github.com/users/geigerj/orgs","repos_url":"https://api.github.com/users/geigerj/repos","events_url":"https://api.github.com/users/geigerj/events{/privacy}","received_events_url":"https://api.github.com/users/geigerj/received_events","type":"User","site_admin":false},"body":"This change creates convenient aliases for protocol buffer enums to allow us to document enums succinctly and correctly.\r\n\r\nNote that generation is done into a single file per model (not service) to avoid duplication.\r\n\r\nFixes #275 ","created_at":"2016-08-22T22:45:09Z","updated_at":"2016-09-21T23:43:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccec672a850ebe2e7aca79edc80a1d337b5fce01","assignee":{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false},"assignees":[{"login":"bjwatson","id":471755,"avatar_url":"https://avatars.githubusercontent.com/u/471755?v=3","gravatar_id":"","url":"https://api.github.com/users/bjwatson","html_url":"https://github.com/bjwatson","followers_url":"https://api.github.com/users/bjwatson/followers","following_url":"https://api.github.com/users/bjwatson/following{/other_user}","gists_url":"https://api.github.com/users/bjwatson/gists{/gist_id}","starred_url":"https://api.github.com/users/bjwatson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjwatson/subscriptions","organizations_url":"https://api.github.com/users/bjwatson/orgs","repos_url":"https://api.github.com/users/bjwatson/repos","events_url":"https://api.github.com/users/bjwatson/events{/privacy}","received_events_url":"https://api.github.com/users/bjwatson/received_events","type":"User","site_admin":false},{"login":"jmuk","id":816093,"avatar_url":"https://avatars.githubusercontent.com/u/816093?v=3","gravatar_id":"","url":"https://api.github.com/users/jmuk","html_url":"https://github.com/jmuk","followers_url":"https://api.github.com/users/jmuk/followers","following_url":"https://api.github.com/users/jmuk/following{/other_user}","gists_url":"https://api.github.com/users/jmuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jmuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmuk/subscriptions","organizations_url":"https://api.github.com/users/jmuk/orgs","repos_url":"https://api.github.com/users/jmuk/repos","events_url":"https://api.github.com/users/jmuk/events{/privacy}","received_events_url":"https://api.github.com/users/jmuk/received_events","type":"User","site_admin":false},{"login":"tbetbetbe","id":9272342,"avatar_url":"https://avatars.githubusercontent.com/u/9272342?v=3","gravatar_id":"","url":"https://api.github.com/users/tbetbetbe","html_url":"https://github.com/tbetbetbe","followers_url":"https://api.github.com/users/tbetbetbe/followers","following_url":"https://api.github.com/users/tbetbetbe/following{/other_user}","gists_url":"https://api.github.com/users/tbetbetbe/gists{/gist_id}","starred_url":"https://api.github.com/users/tbetbetbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbetbetbe/subscriptions","organizations_url":"https://api.github.com/users/tbetbetbe/orgs","repos_url":"https://api.github.com/users/tbetbetbe/repos","events_url":"https://api.github.com/users/tbetbetbe/events{/privacy}","received_events_url":"https://api.github.com/users/tbetbetbe/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/toolkit/pulls/405/commits","review_comments_url":"https://api.github.com/repos/googleapis/toolkit/pulls/405/comments","review_comment_url":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/toolkit/issues/405/comments","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/258ba0a6ab9de80f18a798da9bf8ffb12b06152d","head":{"label":"geigerj:enum","ref":"enum","sha":"258ba0a6ab9de80f18a798da9bf8ffb12b06152d","user":{"login":"geigerj","id":14222439,"avatar_url":"https://avatars.githubusercontent.com/u/14222439?v=3","gravatar_id":"","url":"https://api.github.com/users/geigerj","html_url":"https://github.com/geigerj","followers_url":"https://api.github.com/users/geigerj/followers","following_url":"https://api.github.com/users/geigerj/following{/other_user}","gists_url":"https://api.github.com/users/geigerj/gists{/gist_id}","starred_url":"https://api.github.com/users/geigerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geigerj/subscriptions","organizations_url":"https://api.github.com/users/geigerj/orgs","repos_url":"https://api.github.com/users/geigerj/repos","events_url":"https://api.github.com/users/geigerj/events{/privacy}","received_events_url":"https://api.github.com/users/geigerj/received_events","type":"User","site_admin":false},"repo":{"id":57069851,"name":"toolkit","full_name":"geigerj/toolkit","owner":{"login":"geigerj","id":14222439,"avatar_url":"https://avatars.githubusercontent.com/u/14222439?v=3","gravatar_id":"","url":"https://api.github.com/users/geigerj","html_url":"https://github.com/geigerj","followers_url":"https://api.github.com/users/geigerj/followers","following_url":"https://api.github.com/users/geigerj/following{/other_user}","gists_url":"https://api.github.com/users/geigerj/gists{/gist_id}","starred_url":"https://api.github.com/users/geigerj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geigerj/subscriptions","organizations_url":"https://api.github.com/users/geigerj/orgs","repos_url":"https://api.github.com/users/geigerj/repos","events_url":"https://api.github.com/users/geigerj/events{/privacy}","received_events_url":"https://api.github.com/users/geigerj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geigerj/toolkit","description":"","fork":true,"url":"https://api.github.com/repos/geigerj/toolkit","forks_url":"https://api.github.com/repos/geigerj/toolkit/forks","keys_url":"https://api.github.com/repos/geigerj/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geigerj/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geigerj/toolkit/teams","hooks_url":"https://api.github.com/repos/geigerj/toolkit/hooks","issue_events_url":"https://api.github.com/repos/geigerj/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/geigerj/toolkit/events","assignees_url":"https://api.github.com/repos/geigerj/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/geigerj/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/geigerj/toolkit/tags","blobs_url":"https://api.github.com/repos/geigerj/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geigerj/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geigerj/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/geigerj/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geigerj/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/geigerj/toolkit/languages","stargazers_url":"https://api.github.com/repos/geigerj/toolkit/stargazers","contributors_url":"https://api.github.com/repos/geigerj/toolkit/contributors","subscribers_url":"https://api.github.com/repos/geigerj/toolkit/subscribers","subscription_url":"https://api.github.com/repos/geigerj/toolkit/subscription","commits_url":"https://api.github.com/repos/geigerj/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/geigerj/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/geigerj/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/geigerj/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/geigerj/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/geigerj/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geigerj/toolkit/merges","archive_url":"https://api.github.com/repos/geigerj/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geigerj/toolkit/downloads","issues_url":"https://api.github.com/repos/geigerj/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/geigerj/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/geigerj/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/geigerj/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geigerj/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/geigerj/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/geigerj/toolkit/deployments","created_at":"2016-04-25T19:29:38Z","updated_at":"2016-04-25T19:29:40Z","pushed_at":"2016-09-21T23:30:31Z","git_url":"git://github.com/geigerj/toolkit.git","ssh_url":"git@github.com:geigerj/toolkit.git","clone_url":"https://github.com/geigerj/toolkit.git","svn_url":"https://github.com/geigerj/toolkit","homepage":null,"size":7168,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"googleapis:master","ref":"master","sha":"6c9947248ac0342693b63bc991f9ce9b977602fd","user":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":56533838,"name":"toolkit","full_name":"googleapis/toolkit","owner":{"login":"googleapis","id":16785467,"avatar_url":"https://avatars.githubusercontent.com/u/16785467?v=3","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/googleapis/toolkit","description":"","fork":false,"url":"https://api.github.com/repos/googleapis/toolkit","forks_url":"https://api.github.com/repos/googleapis/toolkit/forks","keys_url":"https://api.github.com/repos/googleapis/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/toolkit/teams","hooks_url":"https://api.github.com/repos/googleapis/toolkit/hooks","issue_events_url":"https://api.github.com/repos/googleapis/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/toolkit/events","assignees_url":"https://api.github.com/repos/googleapis/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/toolkit/tags","blobs_url":"https://api.github.com/repos/googleapis/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/toolkit/languages","stargazers_url":"https://api.github.com/repos/googleapis/toolkit/stargazers","contributors_url":"https://api.github.com/repos/googleapis/toolkit/contributors","subscribers_url":"https://api.github.com/repos/googleapis/toolkit/subscribers","subscription_url":"https://api.github.com/repos/googleapis/toolkit/subscription","commits_url":"https://api.github.com/repos/googleapis/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/toolkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/toolkit/merges","archive_url":"https://api.github.com/repos/googleapis/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/toolkit/downloads","issues_url":"https://api.github.com/repos/googleapis/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/toolkit/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/toolkit/deployments","created_at":"2016-04-18T18:58:04Z","updated_at":"2016-09-14T00:32:47Z","pushed_at":"2016-09-21T23:40:06Z","git_url":"git://github.com/googleapis/toolkit.git","ssh_url":"git@github.com:googleapis/toolkit.git","clone_url":"https://github.com/googleapis/toolkit.git","svn_url":"https://github.com/googleapis/toolkit","homepage":null,"size":11147,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":80,"forks":19,"open_issues":80,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/405"},"html":{"href":"https://github.com/googleapis/toolkit/pull/405"},"issue":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/405"},"comments":{"href":"https://api.github.com/repos/googleapis/toolkit/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/toolkit/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/toolkit/statuses/258ba0a6ab9de80f18a798da9bf8ffb12b06152d"}}}}
{"actor":{"display_login":"bjwatson"}}