From 61e53f92371f672d92dc0e5f43e4614871aef97c Mon Sep 17 00:00:00 2001 From: Songki Choi Date: Mon, 20 Mar 2023 13:32:43 +0900 Subject: [PATCH 1/2] Add dill to requirements/api.txt Signed-off-by: Songki Choi --- requirements/api.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements/api.txt b/requirements/api.txt index 6baa41a1243..4db8862a507 100644 --- a/requirements/api.txt +++ b/requirements/api.txt @@ -9,3 +9,4 @@ pymongo==3.12.0 scikit-learn==0.24.* Shapely>=1.7.1,<=1.8.0 imagesize==1.4.1 +dill>=0.3.6 From f41079af5eee4f36a759875b5912a80cedb82e53 Mon Sep 17 00:00:00 2001 From: Songki Choi Date: Mon, 20 Mar 2023 13:41:18 +0900 Subject: [PATCH 2/2] Return None instead of raising NotImplementedError in IMedia2DEntity.path Signed-off-by: Songki Choi --- otx/api/entities/media.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otx/api/entities/media.py b/otx/api/entities/media.py index ac69461ff4a..b32deb8f831 100644 --- a/otx/api/entities/media.py +++ b/otx/api/entities/media.py @@ -54,4 +54,4 @@ def width(self) -> int: @property def path(self) -> Optional[str]: """Returns the path of the 2D Media object.""" - raise NotImplementedError + return None