Remove apache_beam import from module level in natural_questions dataset
NONE
_The documentation is not available anymore as the PR was closed or merged._
2022-08-02T15:41:17Z
https://github.com/huggingface/datasets/pull/4780#issuecomment-1202855784
https://api.github.com/repos/huggingface/datasets/issues/4780
IC_kwDODunzps5Hsh9o
https://api.github.com/repos/huggingface/datasets/issues/comments/1202855784/reactions
2022-08-02T16:16:32Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1202855784
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
Instead of importing `apache_beam` at the module level, import it in the method `_build_pcollection`.

Fix #4779.