tmp_file referenced before assignment
{'login': 'avloss', 'id': 17853685, 'node_id': 'MDQ6VXNlcjE3ODUzNjg1', 'avatar_url': 'https://avatars.githubusercontent.com/u/17853685?v=4', 'gravatar_id': '', 'url': 'https://api.github.com/users/avloss', 'html_url': 'https://github.com/avloss', 'followers_url': 'https://api.github.com/users/avloss/followers', 'following_url': 'https://api.github.com/users/avloss/following{/other_user}', 'gists_url': 'https://api.github.com/users/avloss/gists{/gist_id}', 'starred_url': 'https://api.github.com/users/avloss/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/avloss/subscriptions', 'organizations_url': 'https://api.github.com/users/avloss/orgs', 'repos_url': 'https://api.github.com/users/avloss/repos', 'events_url': 'https://api.github.com/users/avloss/events{/privacy}', 'received_events_url': 'https://api.github.com/users/avloss/received_events', 'type': 'User', 'site_admin': False}
[]
[]
Thanks for reporting the issue ! I'm creating a new PR to fix it and add tests.
(I'm doing a new PR because I know there's some other place where it needs to be fixed) I'm closing this one as I created the other PR.
Just learning about this library - so might've not set up all the flags correctly, but was getting this error about "tmp_file".
{'url': 'https://api.github.com/repos/huggingface/datasets/issues/505/reactions', 'total_count': 1, '+1': 1, '-1': 0, 'laugh': 0, 'hooray': 0, 'confused': 0, 'heart': 0, 'rocket': 0, 'eyes': 0}
{'url': 'https://api.github.com/repos/huggingface/datasets/pulls/505', 'html_url': 'https://github.com/huggingface/datasets/pull/505', 'diff_url': 'https://github.com/huggingface/datasets/pull/505.diff', 'patch_url': 'https://github.com/huggingface/datasets/pull/505.patch', 'merged_at': None}