{"action":"closed","issue":{"url":"https://api.github.com/repos/datacamp/pythonwhat/issues/78","repository_url":"https://api.github.com/repos/datacamp/pythonwhat","labels_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/78/comments","events_url":"https://api.github.com/repos/datacamp/pythonwhat/issues/78/events","html_url":"https://github.com/datacamp/pythonwhat/issues/78","id":175025127,"number":78,"title":"test_function_defintion with *args, **kwargs: BLOCK BETA 9/9","user":{"login":"hugobowne","id":4182382,"avatar_url":"https://avatars.githubusercontent.com/u/4182382?v=3","gravatar_id":"","url":"https://api.github.com/users/hugobowne","html_url":"https://github.com/hugobowne","followers_url":"https://api.github.com/users/hugobowne/followers","following_url":"https://api.github.com/users/hugobowne/following{/other_user}","gists_url":"https://api.github.com/users/hugobowne/gists{/gist_id}","starred_url":"https://api.github.com/users/hugobowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hugobowne/subscriptions","organizations_url":"https://api.github.com/users/hugobowne/orgs","repos_url":"https://api.github.com/users/hugobowne/repos","events_url":"https://api.github.com/users/hugobowne/events{/privacy}","received_events_url":"https://api.github.com/users/hugobowne/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datacamp/pythonwhat/labels/improvement","name":"improvement","color":"0052cc"}],"state":"closed","locked":false,"assignee":{"login":"filipsch","id":5768479,"avatar_url":"https://avatars.githubusercontent.com/u/5768479?v=3","gravatar_id":"","url":"https://api.github.com/users/filipsch","html_url":"https://github.com/filipsch","followers_url":"https://api.github.com/users/filipsch/followers","following_url":"https://api.github.com/users/filipsch/following{/other_user}","gists_url":"https://api.github.com/users/filipsch/gists{/gist_id}","starred_url":"https://api.github.com/users/filipsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipsch/subscriptions","organizations_url":"https://api.github.com/users/filipsch/orgs","repos_url":"https://api.github.com/users/filipsch/repos","events_url":"https://api.github.com/users/filipsch/events{/privacy}","received_events_url":"https://api.github.com/users/filipsch/received_events","type":"User","site_admin":false},"assignees":[{"login":"filipsch","id":5768479,"avatar_url":"https://avatars.githubusercontent.com/u/5768479?v=3","gravatar_id":"","url":"https://api.github.com/users/filipsch","html_url":"https://github.com/filipsch","followers_url":"https://api.github.com/users/filipsch/followers","following_url":"https://api.github.com/users/filipsch/following{/other_user}","gists_url":"https://api.github.com/users/filipsch/gists{/gist_id}","starred_url":"https://api.github.com/users/filipsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/filipsch/subscriptions","organizations_url":"https://api.github.com/users/filipsch/orgs","repos_url":"https://api.github.com/users/filipsch/repos","events_url":"https://api.github.com/users/filipsch/events{/privacy}","received_events_url":"https://api.github.com/users/filipsch/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-09-05T08:56:02Z","updated_at":"2016-09-14T08:58:55Z","closed_at":"2016-09-14T08:58:55Z","body":"I'm writing SCTs for user-defined functions, in which they use *args & **kwargs.\r\n\r\nSCT here: https://github.com/datacamp/courses-pythonista-data-science-toolbox-I/blame/SCT_edits/chapter2.md#L948\r\n\r\nExercise here: https://campus.datacamp.com/courses/1692/4443?ex=12\r\n\r\nIf I pass the parameter `args` instead of `*args` (very likely), the SCT throws this to the student:\r\n\r\n<img width=\"1269\" alt=\"screenshot 2016-09-05 18 52 11\" src=\"https://cloud.githubusercontent.com/assets/4182382/18242502/fd46e950-7399-11e6-94f3-0086be5c2bf5.png\">\r\n\r\n\r\nI wanted to check if I was using `extra_envs` correctly but I keep getting the 'line end' error described in #77. Eventually, I'll use a `test_correct()` and test the for loop, if necessary, but i wanted to raise the `*args` issue now as you may have thought about it.\r\n\r\nSimilarly, in the next exercise, the student will use `**kwargs`:\r\nhttps://campus.datacamp.com/courses/1692/4443?ex=13\r\n\r\nthanks for your attention!"}}
{"actor":{"display_login":"filipsch"}}