From fd8613e43c7b13c2f332273def601c47a3eb9475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Am=C3=A9lie=20Rondot?= Date: Mon, 12 Feb 2024 11:55:40 +0100 Subject: [PATCH] Refacto: remove useless lines --- frictionless/detector/detector.py | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/frictionless/detector/detector.py b/frictionless/detector/detector.py index c05bb82804..3639380600 100644 --- a/frictionless/detector/detector.py +++ b/frictionless/detector/detector.py @@ -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,