{"action":"created","issue":{"url":"https://api.github.com/repos/mila-udem/fuel/issues/162","labels_url":"https://api.github.com/repos/mila-udem/fuel/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/mila-udem/fuel/issues/162/comments","events_url":"https://api.github.com/repos/mila-udem/fuel/issues/162/events","html_url":"https://github.com/mila-udem/fuel/pull/162","id":88043626,"number":162,"title":"Add a SourcesSubsetTransformer","user":{"login":"bouthilx","id":2099418,"avatar_url":"https://avatars.githubusercontent.com/u/2099418?v=3","gravatar_id":"","url":"https://api.github.com/users/bouthilx","html_url":"https://github.com/bouthilx","followers_url":"https://api.github.com/users/bouthilx/followers","following_url":"https://api.github.com/users/bouthilx/following{/other_user}","gists_url":"https://api.github.com/users/bouthilx/gists{/gist_id}","starred_url":"https://api.github.com/users/bouthilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouthilx/subscriptions","organizations_url":"https://api.github.com/users/bouthilx/orgs","repos_url":"https://api.github.com/users/bouthilx/repos","events_url":"https://api.github.com/users/bouthilx/events{/privacy}","received_events_url":"https://api.github.com/users/bouthilx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-13T18:17:36Z","updated_at":"2015-06-13T19:10:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mila-udem/fuel/pulls/162","html_url":"https://github.com/mila-udem/fuel/pull/162","diff_url":"https://github.com/mila-udem/fuel/pull/162.diff","patch_url":"https://github.com/mila-udem/fuel/pull/162.patch"},"body":"SourcesSubsetTransformer selects a subset of given stream sources.\r\n\r\nThe order of stream.sources is not maintained. The output order of\r\nSourcesSubsetTransformer is defined by the order of its given sources\r\nparameter."},"comment":{"url":"https://api.github.com/repos/mila-udem/fuel/issues/comments/111741256","html_url":"https://github.com/mila-udem/fuel/pull/162#issuecomment-111741256","issue_url":"https://api.github.com/repos/mila-udem/fuel/issues/162","id":111741256,"user":{"login":"bouthilx","id":2099418,"avatar_url":"https://avatars.githubusercontent.com/u/2099418?v=3","gravatar_id":"","url":"https://api.github.com/users/bouthilx","html_url":"https://github.com/bouthilx","followers_url":"https://api.github.com/users/bouthilx/followers","following_url":"https://api.github.com/users/bouthilx/following{/other_user}","gists_url":"https://api.github.com/users/bouthilx/gists{/gist_id}","starred_url":"https://api.github.com/users/bouthilx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bouthilx/subscriptions","organizations_url":"https://api.github.com/users/bouthilx/orgs","repos_url":"https://api.github.com/users/bouthilx/repos","events_url":"https://api.github.com/users/bouthilx/events{/privacy}","received_events_url":"https://api.github.com/users/bouthilx/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T19:10:11Z","updated_at":"2015-06-13T19:10:11Z","body":"It think SourcesSubset would be better if stream.sources order is not maintained. However, I personally prefer FilterSources semantic, so I would be inclined to adapt the code to keep stream.sources order fixed and rename the class."}}