From a3106242064e22f3de9002d3f3ccfba6d6b35822 Mon Sep 17 00:00:00 2001 From: yuji38kwmt Date: Mon, 1 Aug 2022 01:20:02 +0900 Subject: [PATCH] =?UTF-8?q?put=5Flabel=E3=82=B3=E3=83=9E=E3=83=B3=E3=83=89?= =?UTF-8?q?=E3=81=AE=E5=89=8A=E9=99=A4=EF=BC=88=E4=BD=BF=E3=82=8F=E3=82=8C?= =?UTF-8?q?=E3=81=A6=E3=81=84=E3=81=AA=E3=81=84=E3=81=9F=E3=82=81=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- anno3d/app.py | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/anno3d/app.py b/anno3d/app.py index e675d52..7f97efa 100644 --- a/anno3d/app.py +++ b/anno3d/app.py @@ -46,10 +46,6 @@ def add_stdout_handler(target: logging.Logger, level: int = logging.INFO): logger = logging.getLogger(__name__) -resources = Path(__file__).parent / "resources" -hidari = resources / "hidari.png" -migi = resources / "migi.png" - env_annofab_user_id = os.environ.get("ANNOFAB_USER_ID") env_annofab_password = os.environ.get("ANNOFAB_PASSWORD") env_annofab_endpoint = os.environ.get("ANNOFAB_ENDPOINT") @@ -140,18 +136,6 @@ def create( ) logger.info("プロジェクト(=%s)を作成しました。", created_project_id) - @staticmethod - def put_label( - project_id: str, - label_id: str, - ja_name: str, - en_name: str, - color: Tuple[int, int, int], - annofab_id: Optional[str] = env_annofab_user_id, - annofab_pass: Optional[str] = env_annofab_password, - ) -> None: - raise RuntimeError("この関数は廃止されました put_cuboid_label を利用してください") - @staticmethod def put_cuboid_label( project_id: str,