{"action":"created","comment":{"url":"https://api.github.com/repos/leancloud/python-sdk/pulls/comments/67891382","id":67891382,"diff_hunk":"@@ -0,0 +1,48 @@\n+import leancloud\n+from leancloud.object_ import Object\n+from leancloud.acl import ACL\n+\n+import sys\n+from typing import Union, Dict, SupportsFloat, Any\n+\n+\n+class File(Object):\n+\n+    # data type of file or StringIO\n+    def __init__(self, name: str, data: Any=None, type_: str=None) -> None:...\n+\n+    @classmethod\n+    def create_with_url(cls, name: str, url: str, meta_data: Dict =None, type_: str=None):...\n+\n+    @classmethod\n+    def create_without_data(cls, object_id: int):...","path":"stubs/leancloud/file_.pyi","position":18,"original_position":18,"commit_id":"7c730da98b9dbd145688f4fa2029c985fe8e3c0c","original_commit_id":"7c730da98b9dbd145688f4fa2029c985fe8e3c0c","user":{"login":"DionysusG","id":7628770,"avatar_url":"https://avatars.githubusercontent.com/u/7628770?v=3","gravatar_id":"","url":"https://api.github.com/users/DionysusG","html_url":"https://github.com/DionysusG","followers_url":"https://api.github.com/users/DionysusG/followers","following_url":"https://api.github.com/users/DionysusG/following{/other_user}","gists_url":"https://api.github.com/users/DionysusG/gists{/gist_id}","starred_url":"https://api.github.com/users/DionysusG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DionysusG/subscriptions","organizations_url":"https://api.github.com/users/DionysusG/orgs","repos_url":"https://api.github.com/users/DionysusG/repos","events_url":"https://api.github.com/users/DionysusG/events{/privacy}","received_events_url":"https://api.github.com/users/DionysusG/received_events","type":"User","site_admin":false},"body":"测试写错了。","created_at":"2016-06-21T15:29:27Z","updated_at":"2016-06-21T15:29:27Z","html_url":"https://github.com/leancloud/python-sdk/pull/193#discussion_r67891382","pull_request_url":"https://api.github.com/repos/leancloud/python-sdk/pulls/193","_links":{"self":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/comments/67891382"},"html":{"href":"https://github.com/leancloud/python-sdk/pull/193#discussion_r67891382"},"pull_request":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/193"}}},"pull_request":{"url":"https://api.github.com/repos/leancloud/python-sdk/pulls/193","id":73490362,"html_url":"https://github.com/leancloud/python-sdk/pull/193","diff_url":"https://github.com/leancloud/python-sdk/pull/193.diff","patch_url":"https://github.com/leancloud/python-sdk/pull/193.patch","issue_url":"https://api.github.com/repos/leancloud/python-sdk/issues/193","number":193,"state":"open","locked":false,"title":"Typing hint","user":{"login":"DionysusG","id":7628770,"avatar_url":"https://avatars.githubusercontent.com/u/7628770?v=3","gravatar_id":"","url":"https://api.github.com/users/DionysusG","html_url":"https://github.com/DionysusG","followers_url":"https://api.github.com/users/DionysusG/followers","following_url":"https://api.github.com/users/DionysusG/following{/other_user}","gists_url":"https://api.github.com/users/DionysusG/gists{/gist_id}","starred_url":"https://api.github.com/users/DionysusG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DionysusG/subscriptions","organizations_url":"https://api.github.com/users/DionysusG/orgs","repos_url":"https://api.github.com/users/DionysusG/repos","events_url":"https://api.github.com/users/DionysusG/events{/privacy}","received_events_url":"https://api.github.com/users/DionysusG/received_events","type":"User","site_admin":false},"body":"每个 pyi 都测过一遍正常应该传入的类型，部分函数测试过传入错误类型引发错误。query 模块只测了传入参数类型不同的函数，其他模块每个函数都测过。","created_at":"2016-06-12T08:28:51Z","updated_at":"2016-06-21T15:29:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leancloud/python-sdk/pulls/193/commits","review_comments_url":"https://api.github.com/repos/leancloud/python-sdk/pulls/193/comments","review_comment_url":"https://api.github.com/repos/leancloud/python-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leancloud/python-sdk/issues/193/comments","statuses_url":"https://api.github.com/repos/leancloud/python-sdk/statuses/7c730da98b9dbd145688f4fa2029c985fe8e3c0c","head":{"label":"DionysusG:typing-hint","ref":"typing-hint","sha":"7c730da98b9dbd145688f4fa2029c985fe8e3c0c","user":{"login":"DionysusG","id":7628770,"avatar_url":"https://avatars.githubusercontent.com/u/7628770?v=3","gravatar_id":"","url":"https://api.github.com/users/DionysusG","html_url":"https://github.com/DionysusG","followers_url":"https://api.github.com/users/DionysusG/followers","following_url":"https://api.github.com/users/DionysusG/following{/other_user}","gists_url":"https://api.github.com/users/DionysusG/gists{/gist_id}","starred_url":"https://api.github.com/users/DionysusG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DionysusG/subscriptions","organizations_url":"https://api.github.com/users/DionysusG/orgs","repos_url":"https://api.github.com/users/DionysusG/repos","events_url":"https://api.github.com/users/DionysusG/events{/privacy}","received_events_url":"https://api.github.com/users/DionysusG/received_events","type":"User","site_admin":false},"repo":{"id":37584236,"name":"python-sdk","full_name":"DionysusG/python-sdk","owner":{"login":"DionysusG","id":7628770,"avatar_url":"https://avatars.githubusercontent.com/u/7628770?v=3","gravatar_id":"","url":"https://api.github.com/users/DionysusG","html_url":"https://github.com/DionysusG","followers_url":"https://api.github.com/users/DionysusG/followers","following_url":"https://api.github.com/users/DionysusG/following{/other_user}","gists_url":"https://api.github.com/users/DionysusG/gists{/gist_id}","starred_url":"https://api.github.com/users/DionysusG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DionysusG/subscriptions","organizations_url":"https://api.github.com/users/DionysusG/orgs","repos_url":"https://api.github.com/users/DionysusG/repos","events_url":"https://api.github.com/users/DionysusG/events{/privacy}","received_events_url":"https://api.github.com/users/DionysusG/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DionysusG/python-sdk","description":"LeanCloud Python SDK","fork":true,"url":"https://api.github.com/repos/DionysusG/python-sdk","forks_url":"https://api.github.com/repos/DionysusG/python-sdk/forks","keys_url":"https://api.github.com/repos/DionysusG/python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DionysusG/python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DionysusG/python-sdk/teams","hooks_url":"https://api.github.com/repos/DionysusG/python-sdk/hooks","issue_events_url":"https://api.github.com/repos/DionysusG/python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/DionysusG/python-sdk/events","assignees_url":"https://api.github.com/repos/DionysusG/python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/DionysusG/python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/DionysusG/python-sdk/tags","blobs_url":"https://api.github.com/repos/DionysusG/python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DionysusG/python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DionysusG/python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/DionysusG/python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DionysusG/python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/DionysusG/python-sdk/languages","stargazers_url":"https://api.github.com/repos/DionysusG/python-sdk/stargazers","contributors_url":"https://api.github.com/repos/DionysusG/python-sdk/contributors","subscribers_url":"https://api.github.com/repos/DionysusG/python-sdk/subscribers","subscription_url":"https://api.github.com/repos/DionysusG/python-sdk/subscription","commits_url":"https://api.github.com/repos/DionysusG/python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/DionysusG/python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/DionysusG/python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/DionysusG/python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/DionysusG/python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/DionysusG/python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DionysusG/python-sdk/merges","archive_url":"https://api.github.com/repos/DionysusG/python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DionysusG/python-sdk/downloads","issues_url":"https://api.github.com/repos/DionysusG/python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/DionysusG/python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/DionysusG/python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/DionysusG/python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DionysusG/python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/DionysusG/python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/DionysusG/python-sdk/deployments","created_at":"2015-06-17T09:00:01Z","updated_at":"2016-06-02T02:38:54Z","pushed_at":"2016-06-12T10:34:53Z","git_url":"git://github.com/DionysusG/python-sdk.git","ssh_url":"git@github.com:DionysusG/python-sdk.git","clone_url":"https://github.com/DionysusG/python-sdk.git","svn_url":"https://github.com/DionysusG/python-sdk","homepage":"http://leancloud.cn/","size":538,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"leancloud:master","ref":"master","sha":"def594460c47d10430a49242af1ba3ca958a9ee1","user":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"repo":{"id":26794168,"name":"python-sdk","full_name":"leancloud/python-sdk","owner":{"login":"leancloud","id":6660518,"avatar_url":"https://avatars.githubusercontent.com/u/6660518?v=3","gravatar_id":"","url":"https://api.github.com/users/leancloud","html_url":"https://github.com/leancloud","followers_url":"https://api.github.com/users/leancloud/followers","following_url":"https://api.github.com/users/leancloud/following{/other_user}","gists_url":"https://api.github.com/users/leancloud/gists{/gist_id}","starred_url":"https://api.github.com/users/leancloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leancloud/subscriptions","organizations_url":"https://api.github.com/users/leancloud/orgs","repos_url":"https://api.github.com/users/leancloud/repos","events_url":"https://api.github.com/users/leancloud/events{/privacy}","received_events_url":"https://api.github.com/users/leancloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/leancloud/python-sdk","description":"LeanCloud Python SDK","fork":false,"url":"https://api.github.com/repos/leancloud/python-sdk","forks_url":"https://api.github.com/repos/leancloud/python-sdk/forks","keys_url":"https://api.github.com/repos/leancloud/python-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leancloud/python-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leancloud/python-sdk/teams","hooks_url":"https://api.github.com/repos/leancloud/python-sdk/hooks","issue_events_url":"https://api.github.com/repos/leancloud/python-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/leancloud/python-sdk/events","assignees_url":"https://api.github.com/repos/leancloud/python-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/leancloud/python-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/leancloud/python-sdk/tags","blobs_url":"https://api.github.com/repos/leancloud/python-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leancloud/python-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leancloud/python-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/leancloud/python-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leancloud/python-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/leancloud/python-sdk/languages","stargazers_url":"https://api.github.com/repos/leancloud/python-sdk/stargazers","contributors_url":"https://api.github.com/repos/leancloud/python-sdk/contributors","subscribers_url":"https://api.github.com/repos/leancloud/python-sdk/subscribers","subscription_url":"https://api.github.com/repos/leancloud/python-sdk/subscription","commits_url":"https://api.github.com/repos/leancloud/python-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/leancloud/python-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/leancloud/python-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/leancloud/python-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/leancloud/python-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/leancloud/python-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leancloud/python-sdk/merges","archive_url":"https://api.github.com/repos/leancloud/python-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leancloud/python-sdk/downloads","issues_url":"https://api.github.com/repos/leancloud/python-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/leancloud/python-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/leancloud/python-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/leancloud/python-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leancloud/python-sdk/labels{/name}","releases_url":"https://api.github.com/repos/leancloud/python-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/leancloud/python-sdk/deployments","created_at":"2014-11-18T05:53:41Z","updated_at":"2016-06-13T05:04:16Z","pushed_at":"2016-06-12T10:34:54Z","git_url":"git://github.com/leancloud/python-sdk.git","ssh_url":"git@github.com:leancloud/python-sdk.git","clone_url":"https://github.com/leancloud/python-sdk.git","svn_url":"https://github.com/leancloud/python-sdk","homepage":"https://leancloud.cn/docs/python_guide.html","size":549,"stargazers_count":56,"watchers_count":56,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":17,"forks":25,"open_issues":17,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/193"},"html":{"href":"https://github.com/leancloud/python-sdk/pull/193"},"issue":{"href":"https://api.github.com/repos/leancloud/python-sdk/issues/193"},"comments":{"href":"https://api.github.com/repos/leancloud/python-sdk/issues/193/comments"},"review_comments":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/193/comments"},"review_comment":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leancloud/python-sdk/pulls/193/commits"},"statuses":{"href":"https://api.github.com/repos/leancloud/python-sdk/statuses/7c730da98b9dbd145688f4fa2029c985fe8e3c0c"}}}}
{"actor":{"display_login":"DionysusG"}}