{"action":"created","comment":{"url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/comments/88212996","pull_request_review_id":8791813,"id":88212996,"diff_hunk":"@@ -0,0 +1,107 @@\n+# Copyright 2016 The Kubernetes Authors.\n+#\n+# Licensed under the Apache License, Version 2.0 (the \"License\");\n+# you may not use this file except in compliance with the License.\n+# You may obtain a copy of the License at\n+#\n+#     http://www.apache.org/licenses/LICENSE-2.0\n+#\n+# Unless required by applicable law or agreed to in writing, software\n+# distributed under the License is distributed on an \"AS IS\" BASIS,\n+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+# See the License for the specific language governing permissions and\n+# limitations under the License.\n+\n+import k8sclient\n+import json\n+\n+import pydoc\n+\n+\n+class SimpleNamespace:\n+    def __init__(self, **kwargs):\n+        self.__dict__.update(kwargs)\n+\n+\n+def _find_return_type(func):\n+    for line in pydoc.getdoc(func).splitlines():\n+        if line.startswith(\":return:\"):","path":"k8sutil/watch.py","position":28,"original_position":28,"commit_id":"0e1178f5a62ed81f89bc397dd0398236532ca031","original_commit_id":"16dc17f95799c12c255b0832d845c42ebe8ea1dc","user":{"login":"mbohlool","id":1613024,"avatar_url":"https://avatars.githubusercontent.com/u/1613024?v=3","gravatar_id":"","url":"https://api.github.com/users/mbohlool","html_url":"https://github.com/mbohlool","followers_url":"https://api.github.com/users/mbohlool/followers","following_url":"https://api.github.com/users/mbohlool/following{/other_user}","gists_url":"https://api.github.com/users/mbohlool/gists{/gist_id}","starred_url":"https://api.github.com/users/mbohlool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbohlool/subscriptions","organizations_url":"https://api.github.com/users/mbohlool/orgs","repos_url":"https://api.github.com/users/mbohlool/repos","events_url":"https://api.github.com/users/mbohlool/events{/privacy}","received_events_url":"https://api.github.com/users/mbohlool/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2016-11-16T10:56:04Z","updated_at":"2016-11-16T10:56:04Z","html_url":"https://github.com/kubernetes-incubator/client-python/pull/2#discussion_r88212996","pull_request_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/comments/88212996"},"html":{"href":"https://github.com/kubernetes-incubator/client-python/pull/2#discussion_r88212996"},"pull_request":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2","id":92070316,"html_url":"https://github.com/kubernetes-incubator/client-python/pull/2","diff_url":"https://github.com/kubernetes-incubator/client-python/pull/2.diff","patch_url":"https://github.com/kubernetes-incubator/client-python/pull/2.patch","issue_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/2","number":2,"state":"open","locked":false,"title":"Client enhancements","user":{"login":"mbohlool","id":1613024,"avatar_url":"https://avatars.githubusercontent.com/u/1613024?v=3","gravatar_id":"","url":"https://api.github.com/users/mbohlool","html_url":"https://github.com/mbohlool","followers_url":"https://api.github.com/users/mbohlool/followers","following_url":"https://api.github.com/users/mbohlool/following{/other_user}","gists_url":"https://api.github.com/users/mbohlool/gists{/gist_id}","starred_url":"https://api.github.com/users/mbohlool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbohlool/subscriptions","organizations_url":"https://api.github.com/users/mbohlool/orgs","repos_url":"https://api.github.com/users/mbohlool/repos","events_url":"https://api.github.com/users/mbohlool/events{/privacy}","received_events_url":"https://api.github.com/users/mbohlool/received_events","type":"User","site_admin":false},"body":"- Adding kube config support (load_kube_config)\r\n- Adding SSL support (a fix for python 2.7 to accept ipaddress hosts)\r\n- Adding streaming watch support with test\r\n- Adding preprocessing step to enhance operation IDs\r\n- Regenerated client with enhanced swagger.json and various fixes in swagger-codegen swagger-api/swagger-codegen#4173 swagger-api/swagger-codegen#4166 swagger-api/swagger-codegen#4152 and kubernetes fixes kubernetes/kubernetes#36684\r\n- Adding examples\r\n- Removing generated tests\r\n\r\nfixes #4","created_at":"2016-11-02T22:47:45Z","updated_at":"2016-11-16T10:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"13ab877969b697806600d5397c8d08e65b8ead55","assignee":{"login":"mml","id":3115,"avatar_url":"https://avatars.githubusercontent.com/u/3115?v=3","gravatar_id":"","url":"https://api.github.com/users/mml","html_url":"https://github.com/mml","followers_url":"https://api.github.com/users/mml/followers","following_url":"https://api.github.com/users/mml/following{/other_user}","gists_url":"https://api.github.com/users/mml/gists{/gist_id}","starred_url":"https://api.github.com/users/mml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mml/subscriptions","organizations_url":"https://api.github.com/users/mml/orgs","repos_url":"https://api.github.com/users/mml/repos","events_url":"https://api.github.com/users/mml/events{/privacy}","received_events_url":"https://api.github.com/users/mml/received_events","type":"User","site_admin":false},"assignees":[{"login":"mml","id":3115,"avatar_url":"https://avatars.githubusercontent.com/u/3115?v=3","gravatar_id":"","url":"https://api.github.com/users/mml","html_url":"https://github.com/mml","followers_url":"https://api.github.com/users/mml/followers","following_url":"https://api.github.com/users/mml/following{/other_user}","gists_url":"https://api.github.com/users/mml/gists{/gist_id}","starred_url":"https://api.github.com/users/mml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mml/subscriptions","organizations_url":"https://api.github.com/users/mml/orgs","repos_url":"https://api.github.com/users/mml/repos","events_url":"https://api.github.com/users/mml/events{/privacy}","received_events_url":"https://api.github.com/users/mml/received_events","type":"User","site_admin":false},{"login":"smarterclayton","id":1163175,"avatar_url":"https://avatars.githubusercontent.com/u/1163175?v=3","gravatar_id":"","url":"https://api.github.com/users/smarterclayton","html_url":"https://github.com/smarterclayton","followers_url":"https://api.github.com/users/smarterclayton/followers","following_url":"https://api.github.com/users/smarterclayton/following{/other_user}","gists_url":"https://api.github.com/users/smarterclayton/gists{/gist_id}","starred_url":"https://api.github.com/users/smarterclayton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarterclayton/subscriptions","organizations_url":"https://api.github.com/users/smarterclayton/orgs","repos_url":"https://api.github.com/users/smarterclayton/repos","events_url":"https://api.github.com/users/smarterclayton/events{/privacy}","received_events_url":"https://api.github.com/users/smarterclayton/received_events","type":"User","site_admin":false},{"login":"caesarxuchao","id":2823529,"avatar_url":"https://avatars.githubusercontent.com/u/2823529?v=3","gravatar_id":"","url":"https://api.github.com/users/caesarxuchao","html_url":"https://github.com/caesarxuchao","followers_url":"https://api.github.com/users/caesarxuchao/followers","following_url":"https://api.github.com/users/caesarxuchao/following{/other_user}","gists_url":"https://api.github.com/users/caesarxuchao/gists{/gist_id}","starred_url":"https://api.github.com/users/caesarxuchao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caesarxuchao/subscriptions","organizations_url":"https://api.github.com/users/caesarxuchao/orgs","repos_url":"https://api.github.com/users/caesarxuchao/repos","events_url":"https://api.github.com/users/caesarxuchao/events{/privacy}","received_events_url":"https://api.github.com/users/caesarxuchao/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2/commits","review_comments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2/comments","review_comment_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/2/comments","statuses_url":"https://api.github.com/repos/kubernetes-incubator/client-python/statuses/0e1178f5a62ed81f89bc397dd0398236532ca031","head":{"label":"kubernetes-incubator:o2","ref":"o2","sha":"0e1178f5a62ed81f89bc397dd0398236532ca031","user":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":72473727,"name":"client-python","full_name":"kubernetes-incubator/client-python","owner":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes-incubator/client-python","description":null,"fork":false,"url":"https://api.github.com/repos/kubernetes-incubator/client-python","forks_url":"https://api.github.com/repos/kubernetes-incubator/client-python/forks","keys_url":"https://api.github.com/repos/kubernetes-incubator/client-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-incubator/client-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-incubator/client-python/teams","hooks_url":"https://api.github.com/repos/kubernetes-incubator/client-python/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-incubator/client-python/events","assignees_url":"https://api.github.com/repos/kubernetes-incubator/client-python/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-incubator/client-python/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-incubator/client-python/tags","blobs_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-incubator/client-python/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-incubator/client-python/languages","stargazers_url":"https://api.github.com/repos/kubernetes-incubator/client-python/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-incubator/client-python/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-incubator/client-python/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-incubator/client-python/subscription","commits_url":"https://api.github.com/repos/kubernetes-incubator/client-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-incubator/client-python/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-incubator/client-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-incubator/client-python/merges","archive_url":"https://api.github.com/repos/kubernetes-incubator/client-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-incubator/client-python/downloads","issues_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-incubator/client-python/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-incubator/client-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-incubator/client-python/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-incubator/client-python/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/deployments","created_at":"2016-10-31T20:08:03Z","updated_at":"2016-11-05T20:31:37Z","pushed_at":"2016-11-16T01:38:56Z","git_url":"git://github.com/kubernetes-incubator/client-python.git","ssh_url":"git@github.com:kubernetes-incubator/client-python.git","clone_url":"https://github.com/kubernetes-incubator/client-python.git","svn_url":"https://github.com/kubernetes-incubator/client-python","homepage":null,"size":609,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"base":{"label":"kubernetes-incubator:master","ref":"master","sha":"d67df30f635231d68dc4c20b9b7e234c616c1e6a","user":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"repo":{"id":72473727,"name":"client-python","full_name":"kubernetes-incubator/client-python","owner":{"login":"kubernetes-incubator","id":20862812,"avatar_url":"https://avatars.githubusercontent.com/u/20862812?v=3","gravatar_id":"","url":"https://api.github.com/users/kubernetes-incubator","html_url":"https://github.com/kubernetes-incubator","followers_url":"https://api.github.com/users/kubernetes-incubator/followers","following_url":"https://api.github.com/users/kubernetes-incubator/following{/other_user}","gists_url":"https://api.github.com/users/kubernetes-incubator/gists{/gist_id}","starred_url":"https://api.github.com/users/kubernetes-incubator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kubernetes-incubator/subscriptions","organizations_url":"https://api.github.com/users/kubernetes-incubator/orgs","repos_url":"https://api.github.com/users/kubernetes-incubator/repos","events_url":"https://api.github.com/users/kubernetes-incubator/events{/privacy}","received_events_url":"https://api.github.com/users/kubernetes-incubator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kubernetes-incubator/client-python","description":null,"fork":false,"url":"https://api.github.com/repos/kubernetes-incubator/client-python","forks_url":"https://api.github.com/repos/kubernetes-incubator/client-python/forks","keys_url":"https://api.github.com/repos/kubernetes-incubator/client-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kubernetes-incubator/client-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kubernetes-incubator/client-python/teams","hooks_url":"https://api.github.com/repos/kubernetes-incubator/client-python/hooks","issue_events_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/events{/number}","events_url":"https://api.github.com/repos/kubernetes-incubator/client-python/events","assignees_url":"https://api.github.com/repos/kubernetes-incubator/client-python/assignees{/user}","branches_url":"https://api.github.com/repos/kubernetes-incubator/client-python/branches{/branch}","tags_url":"https://api.github.com/repos/kubernetes-incubator/client-python/tags","blobs_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kubernetes-incubator/client-python/statuses/{sha}","languages_url":"https://api.github.com/repos/kubernetes-incubator/client-python/languages","stargazers_url":"https://api.github.com/repos/kubernetes-incubator/client-python/stargazers","contributors_url":"https://api.github.com/repos/kubernetes-incubator/client-python/contributors","subscribers_url":"https://api.github.com/repos/kubernetes-incubator/client-python/subscribers","subscription_url":"https://api.github.com/repos/kubernetes-incubator/client-python/subscription","commits_url":"https://api.github.com/repos/kubernetes-incubator/client-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/kubernetes-incubator/client-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/kubernetes-incubator/client-python/contents/{+path}","compare_url":"https://api.github.com/repos/kubernetes-incubator/client-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kubernetes-incubator/client-python/merges","archive_url":"https://api.github.com/repos/kubernetes-incubator/client-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kubernetes-incubator/client-python/downloads","issues_url":"https://api.github.com/repos/kubernetes-incubator/client-python/issues{/number}","pulls_url":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls{/number}","milestones_url":"https://api.github.com/repos/kubernetes-incubator/client-python/milestones{/number}","notifications_url":"https://api.github.com/repos/kubernetes-incubator/client-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kubernetes-incubator/client-python/labels{/name}","releases_url":"https://api.github.com/repos/kubernetes-incubator/client-python/releases{/id}","deployments_url":"https://api.github.com/repos/kubernetes-incubator/client-python/deployments","created_at":"2016-10-31T20:08:03Z","updated_at":"2016-11-05T20:31:37Z","pushed_at":"2016-11-16T01:38:56Z","git_url":"git://github.com/kubernetes-incubator/client-python.git","ssh_url":"git@github.com:kubernetes-incubator/client-python.git","clone_url":"https://github.com/kubernetes-incubator/client-python.git","svn_url":"https://github.com/kubernetes-incubator/client-python","homepage":null,"size":609,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":4,"forks":2,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2"},"html":{"href":"https://github.com/kubernetes-incubator/client-python/pull/2"},"issue":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/2"},"comments":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/kubernetes-incubator/client-python/statuses/0e1178f5a62ed81f89bc397dd0398236532ca031"}}}}
{"actor":{"display_login":"mbohlool"}}