From 06a0598dacbf9c6292934963843b6630b9ebf240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20BREDIN?= Date: Fri, 22 Sep 2023 22:14:31 +0200 Subject: [PATCH] Revert "feat: add option to get ParamDict keys by attribute" This reverts commit 02c9419ae1d5a61a2a4c768d599d3ec84ec068c8. --- pyannote/pipeline/parameter.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyannote/pipeline/parameter.py b/pyannote/pipeline/parameter.py index 9dc759c..16efd4f 100644 --- a/pyannote/pipeline/parameter.py +++ b/pyannote/pipeline/parameter.py @@ -202,6 +202,3 @@ def __iter__(self): def __getitem__(self, param_name): return getattr(self, param_name) - - def __getattr__(self, param_name): - return self.__getitem__(param_name)