{"action":"created","comment":{"url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/comments/57996908","id":57996908,"diff_hunk":"@@ -116,9 +122,13 @@ def pipeline_factory(self, data, schema):\n \n         if options['options'].get('schema') is None:\n             options['options']['schema'] = {}\n-\n+            \n         options['options']['schema']['schema'] = schema\n-\n+            \n+        if encoding: options['encoding'] = encoding\n+        if format:   options['format'] = format\n+        \n+        print(options)","path":"goodtables/pipeline/batch.py","position":69,"original_position":69,"commit_id":"1c031e2660869954abea9753f718eee542665402","original_commit_id":"1c031e2660869954abea9753f718eee542665402","user":{"login":"pwalsh","id":791678,"avatar_url":"https://avatars.githubusercontent.com/u/791678?v=3","gravatar_id":"","url":"https://api.github.com/users/pwalsh","html_url":"https://github.com/pwalsh","followers_url":"https://api.github.com/users/pwalsh/followers","following_url":"https://api.github.com/users/pwalsh/following{/other_user}","gists_url":"https://api.github.com/users/pwalsh/gists{/gist_id}","starred_url":"https://api.github.com/users/pwalsh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwalsh/subscriptions","organizations_url":"https://api.github.com/users/pwalsh/orgs","repos_url":"https://api.github.com/users/pwalsh/repos","events_url":"https://api.github.com/users/pwalsh/events{/privacy}","received_events_url":"https://api.github.com/users/pwalsh/received_events","type":"User","site_admin":false},"body":"Don't leave print functions from debugging in code","created_at":"2016-03-31T03:27:14Z","updated_at":"2016-03-31T03:27:14Z","html_url":"https://github.com/frictionlessdata/goodtables/pull/79#discussion_r57996908","pull_request_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/comments/57996908"},"html":{"href":"https://github.com/frictionlessdata/goodtables/pull/79#discussion_r57996908"},"pull_request":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79","id":64718264,"html_url":"https://github.com/frictionlessdata/goodtables/pull/79","diff_url":"https://github.com/frictionlessdata/goodtables/pull/79.diff","patch_url":"https://github.com/frictionlessdata/goodtables/pull/79.patch","issue_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/79","number":79,"state":"open","locked":false,"title":"Add format_key and encoding_key to batch","user":{"login":"georgiana-b","id":8862002,"avatar_url":"https://avatars.githubusercontent.com/u/8862002?v=3","gravatar_id":"","url":"https://api.github.com/users/georgiana-b","html_url":"https://github.com/georgiana-b","followers_url":"https://api.github.com/users/georgiana-b/followers","following_url":"https://api.github.com/users/georgiana-b/following{/other_user}","gists_url":"https://api.github.com/users/georgiana-b/gists{/gist_id}","starred_url":"https://api.github.com/users/georgiana-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgiana-b/subscriptions","organizations_url":"https://api.github.com/users/georgiana-b/orgs","repos_url":"https://api.github.com/users/georgiana-b/repos","events_url":"https://api.github.com/users/georgiana-b/events{/privacy}","received_events_url":"https://api.github.com/users/georgiana-b/received_events","type":"User","site_admin":false},"body":"Allow setting format and encoding for each source in sources by including  optional `format` and `encoding` columns.  ","created_at":"2016-03-31T00:25:05Z","updated_at":"2016-03-31T03:27:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf5f2be87d000986723ddf62f79f8a14e00a7133","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79/commits","review_comments_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79/comments","review_comment_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/79/comments","statuses_url":"https://api.github.com/repos/frictionlessdata/goodtables/statuses/1c031e2660869954abea9753f718eee542665402","head":{"label":"frictionlessdata:feature/format_and_encoding_key_for_batch","ref":"feature/format_and_encoding_key_for_batch","sha":"1c031e2660869954abea9753f718eee542665402","user":{"login":"frictionlessdata","id":5912125,"avatar_url":"https://avatars.githubusercontent.com/u/5912125?v=3","gravatar_id":"","url":"https://api.github.com/users/frictionlessdata","html_url":"https://github.com/frictionlessdata","followers_url":"https://api.github.com/users/frictionlessdata/followers","following_url":"https://api.github.com/users/frictionlessdata/following{/other_user}","gists_url":"https://api.github.com/users/frictionlessdata/gists{/gist_id}","starred_url":"https://api.github.com/users/frictionlessdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frictionlessdata/subscriptions","organizations_url":"https://api.github.com/users/frictionlessdata/orgs","repos_url":"https://api.github.com/users/frictionlessdata/repos","events_url":"https://api.github.com/users/frictionlessdata/events{/privacy}","received_events_url":"https://api.github.com/users/frictionlessdata/received_events","type":"Organization","site_admin":false},"repo":{"id":28409905,"name":"goodtables","full_name":"frictionlessdata/goodtables","owner":{"login":"frictionlessdata","id":5912125,"avatar_url":"https://avatars.githubusercontent.com/u/5912125?v=3","gravatar_id":"","url":"https://api.github.com/users/frictionlessdata","html_url":"https://github.com/frictionlessdata","followers_url":"https://api.github.com/users/frictionlessdata/followers","following_url":"https://api.github.com/users/frictionlessdata/following{/other_user}","gists_url":"https://api.github.com/users/frictionlessdata/gists{/gist_id}","starred_url":"https://api.github.com/users/frictionlessdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frictionlessdata/subscriptions","organizations_url":"https://api.github.com/users/frictionlessdata/orgs","repos_url":"https://api.github.com/users/frictionlessdata/repos","events_url":"https://api.github.com/users/frictionlessdata/events{/privacy}","received_events_url":"https://api.github.com/users/frictionlessdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frictionlessdata/goodtables","description":"Validate and process tabular data.","fork":false,"url":"https://api.github.com/repos/frictionlessdata/goodtables","forks_url":"https://api.github.com/repos/frictionlessdata/goodtables/forks","keys_url":"https://api.github.com/repos/frictionlessdata/goodtables/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frictionlessdata/goodtables/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frictionlessdata/goodtables/teams","hooks_url":"https://api.github.com/repos/frictionlessdata/goodtables/hooks","issue_events_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/events{/number}","events_url":"https://api.github.com/repos/frictionlessdata/goodtables/events","assignees_url":"https://api.github.com/repos/frictionlessdata/goodtables/assignees{/user}","branches_url":"https://api.github.com/repos/frictionlessdata/goodtables/branches{/branch}","tags_url":"https://api.github.com/repos/frictionlessdata/goodtables/tags","blobs_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/refs{/sha}","trees_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frictionlessdata/goodtables/statuses/{sha}","languages_url":"https://api.github.com/repos/frictionlessdata/goodtables/languages","stargazers_url":"https://api.github.com/repos/frictionlessdata/goodtables/stargazers","contributors_url":"https://api.github.com/repos/frictionlessdata/goodtables/contributors","subscribers_url":"https://api.github.com/repos/frictionlessdata/goodtables/subscribers","subscription_url":"https://api.github.com/repos/frictionlessdata/goodtables/subscription","commits_url":"https://api.github.com/repos/frictionlessdata/goodtables/commits{/sha}","git_commits_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/commits{/sha}","comments_url":"https://api.github.com/repos/frictionlessdata/goodtables/comments{/number}","issue_comment_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/comments{/number}","contents_url":"https://api.github.com/repos/frictionlessdata/goodtables/contents/{+path}","compare_url":"https://api.github.com/repos/frictionlessdata/goodtables/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frictionlessdata/goodtables/merges","archive_url":"https://api.github.com/repos/frictionlessdata/goodtables/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frictionlessdata/goodtables/downloads","issues_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues{/number}","pulls_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls{/number}","milestones_url":"https://api.github.com/repos/frictionlessdata/goodtables/milestones{/number}","notifications_url":"https://api.github.com/repos/frictionlessdata/goodtables/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frictionlessdata/goodtables/labels{/name}","releases_url":"https://api.github.com/repos/frictionlessdata/goodtables/releases{/id}","deployments_url":"https://api.github.com/repos/frictionlessdata/goodtables/deployments","created_at":"2014-12-23T17:11:11Z","updated_at":"2016-03-29T17:28:11Z","pushed_at":"2016-03-31T00:56:08Z","git_url":"git://github.com/frictionlessdata/goodtables.git","ssh_url":"git@github.com:frictionlessdata/goodtables.git","clone_url":"https://github.com/frictionlessdata/goodtables.git","svn_url":"https://github.com/frictionlessdata/goodtables","homepage":"http://goodtables.readthedocs.org/","size":748,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":17,"forks":10,"open_issues":17,"watchers":32,"default_branch":"master"}},"base":{"label":"frictionlessdata:master","ref":"master","sha":"f3eb674829eee0cb48b9671d92982e71d17486f5","user":{"login":"frictionlessdata","id":5912125,"avatar_url":"https://avatars.githubusercontent.com/u/5912125?v=3","gravatar_id":"","url":"https://api.github.com/users/frictionlessdata","html_url":"https://github.com/frictionlessdata","followers_url":"https://api.github.com/users/frictionlessdata/followers","following_url":"https://api.github.com/users/frictionlessdata/following{/other_user}","gists_url":"https://api.github.com/users/frictionlessdata/gists{/gist_id}","starred_url":"https://api.github.com/users/frictionlessdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frictionlessdata/subscriptions","organizations_url":"https://api.github.com/users/frictionlessdata/orgs","repos_url":"https://api.github.com/users/frictionlessdata/repos","events_url":"https://api.github.com/users/frictionlessdata/events{/privacy}","received_events_url":"https://api.github.com/users/frictionlessdata/received_events","type":"Organization","site_admin":false},"repo":{"id":28409905,"name":"goodtables","full_name":"frictionlessdata/goodtables","owner":{"login":"frictionlessdata","id":5912125,"avatar_url":"https://avatars.githubusercontent.com/u/5912125?v=3","gravatar_id":"","url":"https://api.github.com/users/frictionlessdata","html_url":"https://github.com/frictionlessdata","followers_url":"https://api.github.com/users/frictionlessdata/followers","following_url":"https://api.github.com/users/frictionlessdata/following{/other_user}","gists_url":"https://api.github.com/users/frictionlessdata/gists{/gist_id}","starred_url":"https://api.github.com/users/frictionlessdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frictionlessdata/subscriptions","organizations_url":"https://api.github.com/users/frictionlessdata/orgs","repos_url":"https://api.github.com/users/frictionlessdata/repos","events_url":"https://api.github.com/users/frictionlessdata/events{/privacy}","received_events_url":"https://api.github.com/users/frictionlessdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/frictionlessdata/goodtables","description":"Validate and process tabular data.","fork":false,"url":"https://api.github.com/repos/frictionlessdata/goodtables","forks_url":"https://api.github.com/repos/frictionlessdata/goodtables/forks","keys_url":"https://api.github.com/repos/frictionlessdata/goodtables/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frictionlessdata/goodtables/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frictionlessdata/goodtables/teams","hooks_url":"https://api.github.com/repos/frictionlessdata/goodtables/hooks","issue_events_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/events{/number}","events_url":"https://api.github.com/repos/frictionlessdata/goodtables/events","assignees_url":"https://api.github.com/repos/frictionlessdata/goodtables/assignees{/user}","branches_url":"https://api.github.com/repos/frictionlessdata/goodtables/branches{/branch}","tags_url":"https://api.github.com/repos/frictionlessdata/goodtables/tags","blobs_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/refs{/sha}","trees_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frictionlessdata/goodtables/statuses/{sha}","languages_url":"https://api.github.com/repos/frictionlessdata/goodtables/languages","stargazers_url":"https://api.github.com/repos/frictionlessdata/goodtables/stargazers","contributors_url":"https://api.github.com/repos/frictionlessdata/goodtables/contributors","subscribers_url":"https://api.github.com/repos/frictionlessdata/goodtables/subscribers","subscription_url":"https://api.github.com/repos/frictionlessdata/goodtables/subscription","commits_url":"https://api.github.com/repos/frictionlessdata/goodtables/commits{/sha}","git_commits_url":"https://api.github.com/repos/frictionlessdata/goodtables/git/commits{/sha}","comments_url":"https://api.github.com/repos/frictionlessdata/goodtables/comments{/number}","issue_comment_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues/comments{/number}","contents_url":"https://api.github.com/repos/frictionlessdata/goodtables/contents/{+path}","compare_url":"https://api.github.com/repos/frictionlessdata/goodtables/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frictionlessdata/goodtables/merges","archive_url":"https://api.github.com/repos/frictionlessdata/goodtables/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frictionlessdata/goodtables/downloads","issues_url":"https://api.github.com/repos/frictionlessdata/goodtables/issues{/number}","pulls_url":"https://api.github.com/repos/frictionlessdata/goodtables/pulls{/number}","milestones_url":"https://api.github.com/repos/frictionlessdata/goodtables/milestones{/number}","notifications_url":"https://api.github.com/repos/frictionlessdata/goodtables/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frictionlessdata/goodtables/labels{/name}","releases_url":"https://api.github.com/repos/frictionlessdata/goodtables/releases{/id}","deployments_url":"https://api.github.com/repos/frictionlessdata/goodtables/deployments","created_at":"2014-12-23T17:11:11Z","updated_at":"2016-03-29T17:28:11Z","pushed_at":"2016-03-31T00:56:08Z","git_url":"git://github.com/frictionlessdata/goodtables.git","ssh_url":"git@github.com:frictionlessdata/goodtables.git","clone_url":"https://github.com/frictionlessdata/goodtables.git","svn_url":"https://github.com/frictionlessdata/goodtables","homepage":"http://goodtables.readthedocs.org/","size":748,"stargazers_count":32,"watchers_count":32,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":17,"forks":10,"open_issues":17,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79"},"html":{"href":"https://github.com/frictionlessdata/goodtables/pull/79"},"issue":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/issues/79"},"comments":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/frictionlessdata/goodtables/statuses/1c031e2660869954abea9753f718eee542665402"}}}}