Datasets:

ArXiv:
Giguru Scheuer commited on
Commit
40ec04a
1 Parent(s): a6e9fec

Unpacked two variables is required for legacy reasons

Browse files
Files changed (1) hide show
  1. canard_quretec.py +1 -1
canard_quretec.py CHANGED
@@ -167,4 +167,4 @@ class CanardQuretec(datasets.GeneratorBasedBuilder):
167
  data_array = json.load(f)
168
  for item_dict in data_array:
169
  # if self.config.name == "first_domain":
170
- yield item_dict
 
167
  data_array = json.load(f)
168
  for item_dict in data_array:
169
  # if self.config.name == "first_domain":
170
+ yield item_dict.get('id'), item_dict