{"action":"created","comment":{"url":"https://api.github.com/repos/2gis/contesto/pulls/comments/54377583","id":54377583,"diff_hunk":"@@ -17,6 +18,15 @@ def __iter__(self):\n         return iter(self.enums.values())\n \n \n+class LocalProxy(_Proxy):\n+    @property\n+    def __class__(self):","path":"contesto/utils/__init__.py","position":14,"original_position":14,"commit_id":"2e800bbad96c53be84bb9a459501c4e22d048738","original_commit_id":"2e800bbad96c53be84bb9a459501c4e22d048738","user":{"login":"NickAb","id":866739,"avatar_url":"https://avatars.githubusercontent.com/u/866739?v=3","gravatar_id":"","url":"https://api.github.com/users/NickAb","html_url":"https://github.com/NickAb","followers_url":"https://api.github.com/users/NickAb/followers","following_url":"https://api.github.com/users/NickAb/following{/other_user}","gists_url":"https://api.github.com/users/NickAb/gists{/gist_id}","starred_url":"https://api.github.com/users/NickAb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NickAb/subscriptions","organizations_url":"https://api.github.com/users/NickAb/orgs","repos_url":"https://api.github.com/users/NickAb/repos","events_url":"https://api.github.com/users/NickAb/events{/privacy}","received_events_url":"https://api.github.com/users/NickAb/received_events","type":"User","site_admin":false},"body":"Тогда ок. Я не знаю как лучше, но можно попробовать __instancecheck__ http://stackoverflow.com/a/6803738/3040703 ","created_at":"2016-02-29T07:58:31Z","updated_at":"2016-02-29T07:58:31Z","html_url":"https://github.com/2gis/contesto/pull/77#discussion_r54377583","pull_request_url":"https://api.github.com/repos/2gis/contesto/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/2gis/contesto/pulls/comments/54377583"},"html":{"href":"https://github.com/2gis/contesto/pull/77#discussion_r54377583"},"pull_request":{"href":"https://api.github.com/repos/2gis/contesto/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/2gis/contesto/pulls/77","id":60668634,"html_url":"https://github.com/2gis/contesto/pull/77","diff_url":"https://github.com/2gis/contesto/pull/77.diff","patch_url":"https://github.com/2gis/contesto/pull/77.patch","issue_url":"https://api.github.com/repos/2gis/contesto/issues/77","number":77,"state":"open","locked":false,"title":"add current_test object and steps","user":{"login":"nwlunatic","id":428397,"avatar_url":"https://avatars.githubusercontent.com/u/428397?v=3","gravatar_id":"","url":"https://api.github.com/users/nwlunatic","html_url":"https://github.com/nwlunatic","followers_url":"https://api.github.com/users/nwlunatic/followers","following_url":"https://api.github.com/users/nwlunatic/following{/other_user}","gists_url":"https://api.github.com/users/nwlunatic/gists{/gist_id}","starred_url":"https://api.github.com/users/nwlunatic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nwlunatic/subscriptions","organizations_url":"https://api.github.com/users/nwlunatic/orgs","repos_url":"https://api.github.com/users/nwlunatic/repos","events_url":"https://api.github.com/users/nwlunatic/events{/privacy}","received_events_url":"https://api.github.com/users/nwlunatic/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-25T12:07:54Z","updated_at":"2016-02-29T07:58:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2413e882b288e698cd25c12e6c6bfc3b286e0e57","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/2gis/contesto/pulls/77/commits","review_comments_url":"https://api.github.com/repos/2gis/contesto/pulls/77/comments","review_comment_url":"https://api.github.com/repos/2gis/contesto/pulls/comments{/number}","comments_url":"https://api.github.com/repos/2gis/contesto/issues/77/comments","statuses_url":"https://api.github.com/repos/2gis/contesto/statuses/2e800bbad96c53be84bb9a459501c4e22d048738","head":{"label":"2gis:add_steps","ref":"add_steps","sha":"2e800bbad96c53be84bb9a459501c4e22d048738","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":10542597,"name":"contesto","full_name":"2gis/contesto","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/contesto","description":"Framework for writing functional selenium-based tests","fork":false,"url":"https://api.github.com/repos/2gis/contesto","forks_url":"https://api.github.com/repos/2gis/contesto/forks","keys_url":"https://api.github.com/repos/2gis/contesto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/contesto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/contesto/teams","hooks_url":"https://api.github.com/repos/2gis/contesto/hooks","issue_events_url":"https://api.github.com/repos/2gis/contesto/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/contesto/events","assignees_url":"https://api.github.com/repos/2gis/contesto/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/contesto/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/contesto/tags","blobs_url":"https://api.github.com/repos/2gis/contesto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/contesto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/contesto/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/contesto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/contesto/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/contesto/languages","stargazers_url":"https://api.github.com/repos/2gis/contesto/stargazers","contributors_url":"https://api.github.com/repos/2gis/contesto/contributors","subscribers_url":"https://api.github.com/repos/2gis/contesto/subscribers","subscription_url":"https://api.github.com/repos/2gis/contesto/subscription","commits_url":"https://api.github.com/repos/2gis/contesto/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/contesto/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/contesto/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/contesto/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/contesto/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/contesto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/contesto/merges","archive_url":"https://api.github.com/repos/2gis/contesto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/contesto/downloads","issues_url":"https://api.github.com/repos/2gis/contesto/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/contesto/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/contesto/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/contesto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/contesto/labels{/name}","releases_url":"https://api.github.com/repos/2gis/contesto/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/contesto/deployments","created_at":"2013-06-07T04:45:06Z","updated_at":"2016-01-19T07:06:18Z","pushed_at":"2016-02-26T05:25:52Z","git_url":"git://github.com/2gis/contesto.git","ssh_url":"git@github.com:2gis/contesto.git","clone_url":"https://github.com/2gis/contesto.git","svn_url":"https://github.com/2gis/contesto","homepage":"","size":151,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":4,"default_branch":"master"}},"base":{"label":"2gis:master","ref":"master","sha":"cda2907741e4c48951c457dbcdd059a95d3aa9b5","user":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"repo":{"id":10542597,"name":"contesto","full_name":"2gis/contesto","owner":{"login":"2gis","id":1481435,"avatar_url":"https://avatars.githubusercontent.com/u/1481435?v=3","gravatar_id":"","url":"https://api.github.com/users/2gis","html_url":"https://github.com/2gis","followers_url":"https://api.github.com/users/2gis/followers","following_url":"https://api.github.com/users/2gis/following{/other_user}","gists_url":"https://api.github.com/users/2gis/gists{/gist_id}","starred_url":"https://api.github.com/users/2gis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2gis/subscriptions","organizations_url":"https://api.github.com/users/2gis/orgs","repos_url":"https://api.github.com/users/2gis/repos","events_url":"https://api.github.com/users/2gis/events{/privacy}","received_events_url":"https://api.github.com/users/2gis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/2gis/contesto","description":"Framework for writing functional selenium-based tests","fork":false,"url":"https://api.github.com/repos/2gis/contesto","forks_url":"https://api.github.com/repos/2gis/contesto/forks","keys_url":"https://api.github.com/repos/2gis/contesto/keys{/key_id}","collaborators_url":"https://api.github.com/repos/2gis/contesto/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/2gis/contesto/teams","hooks_url":"https://api.github.com/repos/2gis/contesto/hooks","issue_events_url":"https://api.github.com/repos/2gis/contesto/issues/events{/number}","events_url":"https://api.github.com/repos/2gis/contesto/events","assignees_url":"https://api.github.com/repos/2gis/contesto/assignees{/user}","branches_url":"https://api.github.com/repos/2gis/contesto/branches{/branch}","tags_url":"https://api.github.com/repos/2gis/contesto/tags","blobs_url":"https://api.github.com/repos/2gis/contesto/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/2gis/contesto/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/2gis/contesto/git/refs{/sha}","trees_url":"https://api.github.com/repos/2gis/contesto/git/trees{/sha}","statuses_url":"https://api.github.com/repos/2gis/contesto/statuses/{sha}","languages_url":"https://api.github.com/repos/2gis/contesto/languages","stargazers_url":"https://api.github.com/repos/2gis/contesto/stargazers","contributors_url":"https://api.github.com/repos/2gis/contesto/contributors","subscribers_url":"https://api.github.com/repos/2gis/contesto/subscribers","subscription_url":"https://api.github.com/repos/2gis/contesto/subscription","commits_url":"https://api.github.com/repos/2gis/contesto/commits{/sha}","git_commits_url":"https://api.github.com/repos/2gis/contesto/git/commits{/sha}","comments_url":"https://api.github.com/repos/2gis/contesto/comments{/number}","issue_comment_url":"https://api.github.com/repos/2gis/contesto/issues/comments{/number}","contents_url":"https://api.github.com/repos/2gis/contesto/contents/{+path}","compare_url":"https://api.github.com/repos/2gis/contesto/compare/{base}...{head}","merges_url":"https://api.github.com/repos/2gis/contesto/merges","archive_url":"https://api.github.com/repos/2gis/contesto/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/2gis/contesto/downloads","issues_url":"https://api.github.com/repos/2gis/contesto/issues{/number}","pulls_url":"https://api.github.com/repos/2gis/contesto/pulls{/number}","milestones_url":"https://api.github.com/repos/2gis/contesto/milestones{/number}","notifications_url":"https://api.github.com/repos/2gis/contesto/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/2gis/contesto/labels{/name}","releases_url":"https://api.github.com/repos/2gis/contesto/releases{/id}","deployments_url":"https://api.github.com/repos/2gis/contesto/deployments","created_at":"2013-06-07T04:45:06Z","updated_at":"2016-01-19T07:06:18Z","pushed_at":"2016-02-26T05:25:52Z","git_url":"git://github.com/2gis/contesto.git","ssh_url":"git@github.com:2gis/contesto.git","clone_url":"https://github.com/2gis/contesto.git","svn_url":"https://github.com/2gis/contesto","homepage":"","size":151,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":7,"forks":4,"open_issues":7,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/2gis/contesto/pulls/77"},"html":{"href":"https://github.com/2gis/contesto/pull/77"},"issue":{"href":"https://api.github.com/repos/2gis/contesto/issues/77"},"comments":{"href":"https://api.github.com/repos/2gis/contesto/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/2gis/contesto/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/2gis/contesto/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/2gis/contesto/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/2gis/contesto/statuses/2e800bbad96c53be84bb9a459501c4e22d048738"}}}}