{"action":"created","comment":{"url":"https://api.github.com/repos/Syncano/syncano-python/pulls/comments/62988690","id":62988690,"diff_hunk":"@@ -849,6 +849,39 @@ def run(self, *args, **kwargs):\n         response = self.request()\n         return registry.ScriptTrace(**response)\n \n+    @clone\n+    def get_runtimes(self):\n+        \"\"\"\n+        Method which get available runtimes from CORE;\n+        :return:\n+        \"\"\"\n+        self.method = 'GET'\n+        self.endpoint = 'runtimes'\n+        self._serialize = False\n+        response = self.request()\n+\n+        class RuntimeChoices(object):","path":"syncano/models/manager.py","position":15,"original_position":15,"commit_id":"ecddd5f5b0fcf614e48f168337381649623872e5","original_commit_id":"ecddd5f5b0fcf614e48f168337381649623872e5","user":{"login":"dancio","id":1325987,"avatar_url":"https://avatars.githubusercontent.com/u/1325987?v=3","gravatar_id":"","url":"https://api.github.com/users/dancio","html_url":"https://github.com/dancio","followers_url":"https://api.github.com/users/dancio/followers","following_url":"https://api.github.com/users/dancio/following{/other_user}","gists_url":"https://api.github.com/users/dancio/gists{/gist_id}","starred_url":"https://api.github.com/users/dancio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancio/subscriptions","organizations_url":"https://api.github.com/users/dancio/orgs","repos_url":"https://api.github.com/users/dancio/repos","events_url":"https://api.github.com/users/dancio/events{/privacy}","received_events_url":"https://api.github.com/users/dancio/received_events","type":"User","site_admin":false},"body":"why do u have class inside method?","created_at":"2016-05-12T09:19:17Z","updated_at":"2016-05-12T09:19:17Z","html_url":"https://github.com/Syncano/syncano-python/pull/194#discussion_r62988690","pull_request_url":"https://api.github.com/repos/Syncano/syncano-python/pulls/194","_links":{"self":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/comments/62988690"},"html":{"href":"https://github.com/Syncano/syncano-python/pull/194#discussion_r62988690"},"pull_request":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/194"}}},"pull_request":{"url":"https://api.github.com/repos/Syncano/syncano-python/pulls/194","id":69798210,"html_url":"https://github.com/Syncano/syncano-python/pull/194","diff_url":"https://github.com/Syncano/syncano-python/pull/194.diff","patch_url":"https://github.com/Syncano/syncano-python/pull/194.patch","issue_url":"https://api.github.com/repos/Syncano/syncano-python/issues/194","number":194,"state":"open","locked":false,"title":"[LIB-701] BUGFIX Pull request","user":{"login":"opalczynski","id":15612410,"avatar_url":"https://avatars.githubusercontent.com/u/15612410?v=3","gravatar_id":"","url":"https://api.github.com/users/opalczynski","html_url":"https://github.com/opalczynski","followers_url":"https://api.github.com/users/opalczynski/followers","following_url":"https://api.github.com/users/opalczynski/following{/other_user}","gists_url":"https://api.github.com/users/opalczynski/gists{/gist_id}","starred_url":"https://api.github.com/users/opalczynski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opalczynski/subscriptions","organizations_url":"https://api.github.com/users/opalczynski/orgs","repos_url":"https://api.github.com/users/opalczynski/repos","events_url":"https://api.github.com/users/opalczynski/events{/privacy}","received_events_url":"https://api.github.com/users/opalczynski/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-12T08:36:16Z","updated_at":"2016-05-12T09:19:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c3a18a5bc8ac96efdb7599e234cbd322d7288a4c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Syncano/syncano-python/pulls/194/commits","review_comments_url":"https://api.github.com/repos/Syncano/syncano-python/pulls/194/comments","review_comment_url":"https://api.github.com/repos/Syncano/syncano-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Syncano/syncano-python/issues/194/comments","statuses_url":"https://api.github.com/repos/Syncano/syncano-python/statuses/ecddd5f5b0fcf614e48f168337381649623872e5","head":{"label":"Syncano:LIB-701","ref":"LIB-701","sha":"ecddd5f5b0fcf614e48f168337381649623872e5","user":{"login":"Syncano","id":6367703,"avatar_url":"https://avatars.githubusercontent.com/u/6367703?v=3","gravatar_id":"","url":"https://api.github.com/users/Syncano","html_url":"https://github.com/Syncano","followers_url":"https://api.github.com/users/Syncano/followers","following_url":"https://api.github.com/users/Syncano/following{/other_user}","gists_url":"https://api.github.com/users/Syncano/gists{/gist_id}","starred_url":"https://api.github.com/users/Syncano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syncano/subscriptions","organizations_url":"https://api.github.com/users/Syncano/orgs","repos_url":"https://api.github.com/users/Syncano/repos","events_url":"https://api.github.com/users/Syncano/events{/privacy}","received_events_url":"https://api.github.com/users/Syncano/received_events","type":"Organization","site_admin":false},"repo":{"id":16406574,"name":"syncano-python","full_name":"Syncano/syncano-python","owner":{"login":"Syncano","id":6367703,"avatar_url":"https://avatars.githubusercontent.com/u/6367703?v=3","gravatar_id":"","url":"https://api.github.com/users/Syncano","html_url":"https://github.com/Syncano","followers_url":"https://api.github.com/users/Syncano/followers","following_url":"https://api.github.com/users/Syncano/following{/other_user}","gists_url":"https://api.github.com/users/Syncano/gists{/gist_id}","starred_url":"https://api.github.com/users/Syncano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syncano/subscriptions","organizations_url":"https://api.github.com/users/Syncano/orgs","repos_url":"https://api.github.com/users/Syncano/repos","events_url":"https://api.github.com/users/Syncano/events{/privacy}","received_events_url":"https://api.github.com/users/Syncano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Syncano/syncano-python","description":"Python library for http://syncano.com API","fork":false,"url":"https://api.github.com/repos/Syncano/syncano-python","forks_url":"https://api.github.com/repos/Syncano/syncano-python/forks","keys_url":"https://api.github.com/repos/Syncano/syncano-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Syncano/syncano-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Syncano/syncano-python/teams","hooks_url":"https://api.github.com/repos/Syncano/syncano-python/hooks","issue_events_url":"https://api.github.com/repos/Syncano/syncano-python/issues/events{/number}","events_url":"https://api.github.com/repos/Syncano/syncano-python/events","assignees_url":"https://api.github.com/repos/Syncano/syncano-python/assignees{/user}","branches_url":"https://api.github.com/repos/Syncano/syncano-python/branches{/branch}","tags_url":"https://api.github.com/repos/Syncano/syncano-python/tags","blobs_url":"https://api.github.com/repos/Syncano/syncano-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Syncano/syncano-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Syncano/syncano-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Syncano/syncano-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Syncano/syncano-python/statuses/{sha}","languages_url":"https://api.github.com/repos/Syncano/syncano-python/languages","stargazers_url":"https://api.github.com/repos/Syncano/syncano-python/stargazers","contributors_url":"https://api.github.com/repos/Syncano/syncano-python/contributors","subscribers_url":"https://api.github.com/repos/Syncano/syncano-python/subscribers","subscription_url":"https://api.github.com/repos/Syncano/syncano-python/subscription","commits_url":"https://api.github.com/repos/Syncano/syncano-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Syncano/syncano-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Syncano/syncano-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Syncano/syncano-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Syncano/syncano-python/contents/{+path}","compare_url":"https://api.github.com/repos/Syncano/syncano-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Syncano/syncano-python/merges","archive_url":"https://api.github.com/repos/Syncano/syncano-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Syncano/syncano-python/downloads","issues_url":"https://api.github.com/repos/Syncano/syncano-python/issues{/number}","pulls_url":"https://api.github.com/repos/Syncano/syncano-python/pulls{/number}","milestones_url":"https://api.github.com/repos/Syncano/syncano-python/milestones{/number}","notifications_url":"https://api.github.com/repos/Syncano/syncano-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Syncano/syncano-python/labels{/name}","releases_url":"https://api.github.com/repos/Syncano/syncano-python/releases{/id}","deployments_url":"https://api.github.com/repos/Syncano/syncano-python/deployments","created_at":"2014-01-31T11:46:19Z","updated_at":"2016-01-18T09:01:18Z","pushed_at":"2016-05-12T08:36:16Z","git_url":"git://github.com/Syncano/syncano-python.git","ssh_url":"git@github.com:Syncano/syncano-python.git","clone_url":"https://github.com/Syncano/syncano-python.git","svn_url":"https://github.com/Syncano/syncano-python","homepage":"","size":11811,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":4,"default_branch":"develop"}},"base":{"label":"Syncano:develop","ref":"develop","sha":"63cf6376d01664bc3af36114f7a938afadabc63b","user":{"login":"Syncano","id":6367703,"avatar_url":"https://avatars.githubusercontent.com/u/6367703?v=3","gravatar_id":"","url":"https://api.github.com/users/Syncano","html_url":"https://github.com/Syncano","followers_url":"https://api.github.com/users/Syncano/followers","following_url":"https://api.github.com/users/Syncano/following{/other_user}","gists_url":"https://api.github.com/users/Syncano/gists{/gist_id}","starred_url":"https://api.github.com/users/Syncano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syncano/subscriptions","organizations_url":"https://api.github.com/users/Syncano/orgs","repos_url":"https://api.github.com/users/Syncano/repos","events_url":"https://api.github.com/users/Syncano/events{/privacy}","received_events_url":"https://api.github.com/users/Syncano/received_events","type":"Organization","site_admin":false},"repo":{"id":16406574,"name":"syncano-python","full_name":"Syncano/syncano-python","owner":{"login":"Syncano","id":6367703,"avatar_url":"https://avatars.githubusercontent.com/u/6367703?v=3","gravatar_id":"","url":"https://api.github.com/users/Syncano","html_url":"https://github.com/Syncano","followers_url":"https://api.github.com/users/Syncano/followers","following_url":"https://api.github.com/users/Syncano/following{/other_user}","gists_url":"https://api.github.com/users/Syncano/gists{/gist_id}","starred_url":"https://api.github.com/users/Syncano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Syncano/subscriptions","organizations_url":"https://api.github.com/users/Syncano/orgs","repos_url":"https://api.github.com/users/Syncano/repos","events_url":"https://api.github.com/users/Syncano/events{/privacy}","received_events_url":"https://api.github.com/users/Syncano/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Syncano/syncano-python","description":"Python library for http://syncano.com API","fork":false,"url":"https://api.github.com/repos/Syncano/syncano-python","forks_url":"https://api.github.com/repos/Syncano/syncano-python/forks","keys_url":"https://api.github.com/repos/Syncano/syncano-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Syncano/syncano-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Syncano/syncano-python/teams","hooks_url":"https://api.github.com/repos/Syncano/syncano-python/hooks","issue_events_url":"https://api.github.com/repos/Syncano/syncano-python/issues/events{/number}","events_url":"https://api.github.com/repos/Syncano/syncano-python/events","assignees_url":"https://api.github.com/repos/Syncano/syncano-python/assignees{/user}","branches_url":"https://api.github.com/repos/Syncano/syncano-python/branches{/branch}","tags_url":"https://api.github.com/repos/Syncano/syncano-python/tags","blobs_url":"https://api.github.com/repos/Syncano/syncano-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Syncano/syncano-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Syncano/syncano-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/Syncano/syncano-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Syncano/syncano-python/statuses/{sha}","languages_url":"https://api.github.com/repos/Syncano/syncano-python/languages","stargazers_url":"https://api.github.com/repos/Syncano/syncano-python/stargazers","contributors_url":"https://api.github.com/repos/Syncano/syncano-python/contributors","subscribers_url":"https://api.github.com/repos/Syncano/syncano-python/subscribers","subscription_url":"https://api.github.com/repos/Syncano/syncano-python/subscription","commits_url":"https://api.github.com/repos/Syncano/syncano-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/Syncano/syncano-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/Syncano/syncano-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/Syncano/syncano-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/Syncano/syncano-python/contents/{+path}","compare_url":"https://api.github.com/repos/Syncano/syncano-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Syncano/syncano-python/merges","archive_url":"https://api.github.com/repos/Syncano/syncano-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Syncano/syncano-python/downloads","issues_url":"https://api.github.com/repos/Syncano/syncano-python/issues{/number}","pulls_url":"https://api.github.com/repos/Syncano/syncano-python/pulls{/number}","milestones_url":"https://api.github.com/repos/Syncano/syncano-python/milestones{/number}","notifications_url":"https://api.github.com/repos/Syncano/syncano-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Syncano/syncano-python/labels{/name}","releases_url":"https://api.github.com/repos/Syncano/syncano-python/releases{/id}","deployments_url":"https://api.github.com/repos/Syncano/syncano-python/deployments","created_at":"2014-01-31T11:46:19Z","updated_at":"2016-01-18T09:01:18Z","pushed_at":"2016-05-12T08:36:16Z","git_url":"git://github.com/Syncano/syncano-python.git","ssh_url":"git@github.com:Syncano/syncano-python.git","clone_url":"https://github.com/Syncano/syncano-python.git","svn_url":"https://github.com/Syncano/syncano-python","homepage":"","size":11811,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/194"},"html":{"href":"https://github.com/Syncano/syncano-python/pull/194"},"issue":{"href":"https://api.github.com/repos/Syncano/syncano-python/issues/194"},"comments":{"href":"https://api.github.com/repos/Syncano/syncano-python/issues/194/comments"},"review_comments":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/194/comments"},"review_comment":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Syncano/syncano-python/pulls/194/commits"},"statuses":{"href":"https://api.github.com/repos/Syncano/syncano-python/statuses/ecddd5f5b0fcf614e48f168337381649623872e5"}}}}