Skip to content

Commit

Permalink
Refacto: remove useless lines
Browse files Browse the repository at this point in the history
  • Loading branch information
amelie-rondot committed Feb 12, 2024
1 parent 9bf9dc3 commit fd8613e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions frictionless/detector/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,21 +505,6 @@ def field_name_not_in_labels(
label.lower() for label in labels
]

# def add_missing_primary_key_to_schema_fields(
# self,
# field: Field,
# schema: Schema,
# labels: List[str],
# case_sensitive: bool,
# ):
# if self.primary_key_field_not_in_labels(
# field,
# schema,
# labels,
# case_sensitive,
# ):
# schema.add_field(field)

@staticmethod
def primary_key_field_name_not_in_labels(
field: Field,
Expand Down

0 comments on commit fd8613e

Please sign in to comment.