{"action":"created","comment":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/comments/240993265","pull_request_review_id":184150897,"id":240993265,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDk5MzI2NQ==","diff_hunk":"@@ -156,8 +168,7 @@ def parse_args(self, args):\n             raise ValueError(\n                 \"Illegal argument(s) passed to {0} function. Expected either\"\n                 \"a string or a list [input_name [, key1/index1 [,...]]] but \"\n-                \"got {1}\".format(self.name, ','.join(\n-                    [str(arg) for arg in args])))\n+                \"got {1}\".format(self.name, args))","path":"dsl_parser/functions.py","position":34,"original_position":34,"commit_id":"5f08613bb8c6d79e2ef7aecc9e0f1807b1e596a2","original_commit_id":"5f08613bb8c6d79e2ef7aecc9e0f1807b1e596a2","user":{"login":"davidginzbourg","id":3932179,"node_id":"MDQ6VXNlcjM5MzIxNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3932179?v=4","gravatar_id":"","url":"https://api.github.com/users/davidginzbourg","html_url":"https://github.com/davidginzbourg","followers_url":"https://api.github.com/users/davidginzbourg/followers","following_url":"https://api.github.com/users/davidginzbourg/following{/other_user}","gists_url":"https://api.github.com/users/davidginzbourg/gists{/gist_id}","starred_url":"https://api.github.com/users/davidginzbourg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidginzbourg/subscriptions","organizations_url":"https://api.github.com/users/davidginzbourg/orgs","repos_url":"https://api.github.com/users/davidginzbourg/repos","events_url":"https://api.github.com/users/davidginzbourg/events{/privacy}","received_events_url":"https://api.github.com/users/davidginzbourg/received_events","type":"User","site_admin":false},"body":"I've tested in `ipython` and the output is basically the same.\r\n```\r\nIn [1]: a = [u'one',2,3]\r\n\r\nIn [2]: str(a)\r\nOut[2]: \"[u'one', 2, 3]\"\r\n\r\nIn [3]: ','.join([str(i) for i in a])\r\nOut[3]: 'one,2,3'\r\n```","created_at":"2018-12-12T12:22:47Z","updated_at":"2018-12-12T12:22:48Z","html_url":"https://github.com/cloudify-cosmo/cloudify-common/pull/155#discussion_r240993265","pull_request_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/comments/240993265"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-common/pull/155#discussion_r240993265"},"pull_request":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155"}},"in_reply_to_id":240987990},"pull_request":{"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155","id":236514820,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NTE0ODIw","html_url":"https://github.com/cloudify-cosmo/cloudify-common/pull/155","diff_url":"https://github.com/cloudify-cosmo/cloudify-common/pull/155.diff","patch_url":"https://github.com/cloudify-cosmo/cloudify-common/pull/155.patch","issue_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/155","number":155,"state":"open","locked":false,"title":"CY-866 Add ability to get_capability to get nested property","user":{"login":"davidginzbourg","id":3932179,"node_id":"MDQ6VXNlcjM5MzIxNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/3932179?v=4","gravatar_id":"","url":"https://api.github.com/users/davidginzbourg","html_url":"https://github.com/davidginzbourg","followers_url":"https://api.github.com/users/davidginzbourg/followers","following_url":"https://api.github.com/users/davidginzbourg/following{/other_user}","gists_url":"https://api.github.com/users/davidginzbourg/gists{/gist_id}","starred_url":"https://api.github.com/users/davidginzbourg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidginzbourg/subscriptions","organizations_url":"https://api.github.com/users/davidginzbourg/orgs","repos_url":"https://api.github.com/users/davidginzbourg/repos","events_url":"https://api.github.com/users/davidginzbourg/events{/privacy}","received_events_url":"https://api.github.com/users/davidginzbourg/received_events","type":"User","site_admin":false},"body":"- This makes it behave similarly to get_attribute.\r\n- Preserves old behavior.","created_at":"2018-12-06T12:35:47Z","updated_at":"2018-12-12T12:22:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70c7b75dafe820b76b21af95047b91c1db8fb033","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155/commits","review_comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155/comments","review_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/155/comments","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/statuses/5f08613bb8c6d79e2ef7aecc9e0f1807b1e596a2","head":{"label":"cloudify-cosmo:CY-866","ref":"CY-866","sha":"5f08613bb8c6d79e2ef7aecc9e0f1807b1e596a2","user":{"login":"cloudify-cosmo","id":6260555,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNjA1NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6260555?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":132621915,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MjE5MTU=","name":"cloudify-common","full_name":"cloudify-cosmo/cloudify-common","private":false,"owner":{"login":"cloudify-cosmo","id":6260555,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNjA1NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6260555?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cloudify-cosmo/cloudify-common","description":"Merging the following repos: cloudify-dsl-parser, cloudify-rest-client, cloudify-script-plugin, cloudify-plugins-common","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/deployments","created_at":"2018-05-08T14:35:12Z","updated_at":"2018-12-11T17:43:29Z","pushed_at":"2018-12-12T01:53:48Z","git_url":"git://github.com/cloudify-cosmo/cloudify-common.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-common.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-common.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-common","homepage":null,"size":6480,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"base":{"label":"cloudify-cosmo:master","ref":"master","sha":"9e9ba4208e18bc8a2ef2d9ace3d198a8ce966b9c","user":{"login":"cloudify-cosmo","id":6260555,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNjA1NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6260555?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"repo":{"id":132621915,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2MjE5MTU=","name":"cloudify-common","full_name":"cloudify-cosmo/cloudify-common","private":false,"owner":{"login":"cloudify-cosmo","id":6260555,"node_id":"MDEyOk9yZ2FuaXphdGlvbjYyNjA1NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/6260555?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudify-cosmo","html_url":"https://github.com/cloudify-cosmo","followers_url":"https://api.github.com/users/cloudify-cosmo/followers","following_url":"https://api.github.com/users/cloudify-cosmo/following{/other_user}","gists_url":"https://api.github.com/users/cloudify-cosmo/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudify-cosmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudify-cosmo/subscriptions","organizations_url":"https://api.github.com/users/cloudify-cosmo/orgs","repos_url":"https://api.github.com/users/cloudify-cosmo/repos","events_url":"https://api.github.com/users/cloudify-cosmo/events{/privacy}","received_events_url":"https://api.github.com/users/cloudify-cosmo/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cloudify-cosmo/cloudify-common","description":"Merging the following repos: cloudify-dsl-parser, cloudify-rest-client, cloudify-script-plugin, cloudify-plugins-common","fork":false,"url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common","forks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/forks","keys_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/teams","hooks_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/hooks","issue_events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/events{/number}","events_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/events","assignees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/assignees{/user}","branches_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/branches{/branch}","tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/tags","blobs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/languages","stargazers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/stargazers","contributors_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/contributors","subscribers_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/subscribers","subscription_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/subscription","commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/contents/{+path}","compare_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/merges","archive_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/downloads","issues_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues{/number}","pulls_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/labels{/name}","releases_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/releases{/id}","deployments_url":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/deployments","created_at":"2018-05-08T14:35:12Z","updated_at":"2018-12-11T17:43:29Z","pushed_at":"2018-12-12T01:53:48Z","git_url":"git://github.com/cloudify-cosmo/cloudify-common.git","ssh_url":"git@github.com:cloudify-cosmo/cloudify-common.git","clone_url":"https://github.com/cloudify-cosmo/cloudify-common.git","svn_url":"https://github.com/cloudify-cosmo/cloudify-common","homepage":null,"size":6480,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":11,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155"},"html":{"href":"https://github.com/cloudify-cosmo/cloudify-common/pull/155"},"issue":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/155"},"comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/issues/155/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/pulls/155/commits"},"statuses":{"href":"https://api.github.com/repos/cloudify-cosmo/cloudify-common/statuses/5f08613bb8c6d79e2ef7aecc9e0f1807b1e596a2"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"davidginzbourg"}}