saattrupdan commited on
Commit
376ac1a
·
1 Parent(s): 3fe1ead

fix: Add unused `split` argument to `_generate_examples`

Browse files
Files changed (1) hide show
  1. scandiqa.py +1 -1
scandiqa.py CHANGED
@@ -159,7 +159,7 @@ class ScandiQA(GeneratorBasedBuilder):
159
  ),
160
  ]
161
 
162
- def _generate_examples(self, filepath: str, _):
163
  with Path(filepath).open(encoding="utf-8") as f:
164
  for key, row in enumerate(f):
165
  data = json.loads(row)
 
159
  ),
160
  ]
161
 
162
+ def _generate_examples(self, filepath: str, split):
163
  with Path(filepath).open(encoding="utf-8") as f:
164
  for key, row in enumerate(f):
165
  data = json.loads(row)