Browse Source
Merge pull request #2280 from munahaf/Improper_Method_Call-4label.py4905339437058007098.diff
Update an incorrectly implemented method
master
Hiroki Nakayama
2 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
backend/data_import/pipeline/label.py
|
@ -26,7 +26,7 @@ class Label(BaseModel, abc.ABC): |
|
|
|
|
|
|
|
|
@abc.abstractmethod |
|
|
@abc.abstractmethod |
|
|
def __lt__(self, other): |
|
|
def __lt__(self, other): |
|
|
raise NotImplementedError() |
|
|
|
|
|
|
|
|
return NotImplemented |
|
|
|
|
|
|
|
|
@classmethod |
|
|
@classmethod |
|
|
def parse(cls, example_uuid: UUID4, obj: Any): |
|
|
def parse(cls, example_uuid: UUID4, obj: Any): |
|
|