File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ def test_get_split_recordset():
71
71
),
72
72
mlc .RecordSet (
73
73
id = 'splits' ,
74
- key = 'name' ,
74
+ key = 'splits/ name' ,
75
75
data_types = [mlc .DataType .SPLIT ],
76
76
fields = [
77
77
mlc .Field (
@@ -95,7 +95,7 @@ def test_get_split_recordset_with_no_split_recordset():
95
95
record_sets = [
96
96
mlc .RecordSet (
97
97
id = 'labels' ,
98
- key = 'name ' ,
98
+ key = 'labels/label ' ,
99
99
fields = [
100
100
mlc .Field (
101
101
id = 'labels/label' ,
Original file line number Diff line number Diff line change @@ -736,6 +736,7 @@ def dummy_croissant_file(
736
736
737
737
fields = [
738
738
mlc .Field (
739
+ id = 'index' ,
739
740
name = 'index' ,
740
741
description = 'The sample index.' ,
741
742
data_types = mlc .DataType .INTEGER ,
@@ -745,6 +746,7 @@ def dummy_croissant_file(
745
746
),
746
747
),
747
748
mlc .Field (
749
+ id = 'text' ,
748
750
name = 'text' ,
749
751
description = 'The dummy sample text.' ,
750
752
data_types = mlc .DataType .TEXT ,
@@ -758,6 +760,7 @@ def dummy_croissant_file(
758
760
record_sets = [
759
761
mlc .RecordSet (
760
762
id = 'jsonl' ,
763
+ name = 'jsonl' ,
761
764
description = 'Dummy record set.' ,
762
765
fields = fields ,
763
766
)
@@ -778,6 +781,7 @@ def dummy_croissant_file(
778
781
distribution = [
779
782
mlc .FileObject (
780
783
id = 'raw_data' ,
784
+ name = 'raw_data' ,
781
785
description = 'File with the data.' ,
782
786
encoding_format = 'application/jsonlines' ,
783
787
content_url = f'data/{ raw_data_filename } ' ,
You can’t perform that action at this time.
0 commit comments