File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -415,8 +415,8 @@ def detect_schema(
415415 note = '"schema_sync" requires unique labels in the header'
416416 raise FrictionlessException (note )
417417
418- mapped_fields = self .mapped_schema_fields_names (
419- schema .fields , # type: ignore
418+ mapped_fields = self .map_schema_fields_by_name (
419+ schema .fields ,
420420 case_sensitive ,
421421 )
422422
@@ -445,7 +445,7 @@ def detect_schema(
445445 return schema
446446
447447 @staticmethod
448- def mapped_schema_fields_names (
448+ def map_schema_fields_by_name (
449449 fields : List [Field ], case_sensitive : bool
450450 ) -> Dict [str , Field ]:
451451 """Create a dictionnary to map field names with schema fields"""
Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ def row_stream():
382382 for field in self .schema .fields :
383383 self .remove_missing_required_label_from_field_info (field , field_info )
384384
385- # Create row stream
386385 self .__row_stream = row_stream ()
387386
388387 def remove_missing_required_label_from_field_info (
You can’t perform that action at this time.
0 commit comments