From 4f12dfb402313bd80359e5c58428fa880b4b3568 Mon Sep 17 00:00:00 2001 From: munahaf Date: Wed, 6 Sep 2023 05:53:43 +0000 Subject: [PATCH] Comment: Updated an incorrectly implemented method. --- backend/data_import/pipeline/label.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/data_import/pipeline/label.py b/backend/data_import/pipeline/label.py index adc5bfee..82efa2a1 100644 --- a/backend/data_import/pipeline/label.py +++ b/backend/data_import/pipeline/label.py @@ -26,7 +26,7 @@ class Label(BaseModel, abc.ABC): @abc.abstractmethod def __lt__(self, other): - raise NotImplementedError() + return NotImplemented @classmethod def parse(cls, example_uuid: UUID4, obj: Any):