Datasets:

Languages:
English
ArXiv:
License:
albertvillanova HF staff commited on
Commit
f309767
1 Parent(s): 1d6d31f

Refactor download (#4384)

Browse files

* Refactor download

* Fix textvqa dataset

* Move download module one level up

* Fix test mock fsspec

* Fix docs

* Fix import of DownloadConfig

* Refactor mock_download_manager

* Refactor DownloadConfig

* Fix docs

* Add sections to docs of builder classes

* Use relative imports

* Fix path

* Fix import

Commit from https://github.com/huggingface/datasets/commit/82258b47dcf6e12a9b9f2aec68ea18fb3fd3d9fc

Files changed (1) hide show
  1. textvqa.py +1 -1
textvqa.py CHANGED
@@ -93,7 +93,7 @@ class Textvqa(datasets.GeneratorBasedBuilder):
93
  citation=_CITATION,
94
  )
95
 
96
- def _split_generators(self, dl_manager: datasets.utils.DownloadManager):
97
  downloaded_files = dl_manager.download_and_extract(_URLS)
98
  return [
99
  datasets.SplitGenerator(
 
93
  citation=_CITATION,
94
  )
95
 
96
+ def _split_generators(self, dl_manager):
97
  downloaded_files = dl_manager.download_and_extract(_URLS)
98
  return [
99
  datasets.SplitGenerator(