File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed 
tensorflow_datasets/testing Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -736,6 +736,7 @@ def dummy_croissant_file(
736736
737737  fields  =  [
738738      mlc .Field (
739+           id = 'index' ,
739740          name = 'index' ,
740741          description = 'The sample index.' ,
741742          data_types = mlc .DataType .INTEGER ,
@@ -745,6 +746,7 @@ def dummy_croissant_file(
745746          ),
746747      ),
747748      mlc .Field (
749+           id = 'text' ,
748750          name = 'text' ,
749751          description = 'The dummy sample text.' ,
750752          data_types = mlc .DataType .TEXT ,
@@ -758,6 +760,7 @@ def dummy_croissant_file(
758760  record_sets  =  [
759761      mlc .RecordSet (
760762          id = 'jsonl' ,
763+           name = 'jsonl' ,
761764          description = 'Dummy record set.' ,
762765          fields = fields ,
763766      )
@@ -778,6 +781,7 @@ def dummy_croissant_file(
778781    distribution  =  [
779782        mlc .FileObject (
780783            id = 'raw_data' ,
784+             name = 'raw_data' ,
781785            description = 'File with the data.' ,
782786            encoding_format = 'application/jsonlines' ,
783787            content_url = f'data/{ raw_data_filename }  ,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments