Skip to content

Commit

Permalink
put_labelコマンドの削除(使われていないため)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuji38kwmt committed Jul 31, 2022
1 parent 8cf1988 commit a310624
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions anno3d/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a310624

Please sign in to comment.