Skip to content

Commit

Permalink
update modules.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
yuji38kwmt committed Jun 11, 2019
1 parent 4c78e15 commit 92b1e44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/modules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,3 @@ annofab-api-python-client
:maxdepth: 4

annofabapi
setup
tests
2 changes: 1 addition & 1 deletion examples/annofabcli/deprecated_complete_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@

import argparse
import logging
import time
from typing import Any, Callable, Dict, List, Optional # pylint: disable=unused-import

import requests

import annofabapi
import annofabcli
import time
from annofabapi.typing import Inspection, Task
from annofabcli.common.utils import AnnofabApiFacade

Expand Down
3 changes: 2 additions & 1 deletion examples/annofabcli/invite_user_to_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def assign_role_with_project_id(project_id_list: List[str],
except requests.exceptions.HTTPError as e:
if e.response.status_code == requests.codes.not_found:
logger.warning(
f"プロジェクトが存在しない or プロジェクトオーナでないので、招待できなかった。project_id={project_id}")
f"プロジェクトが存在しない or プロジェクトオーナでないので、招待できなかった。project_id={project_id}"
)
else:
logger.warning(e)
logger.warning(f"エラーのため、招待できなかった。project_id={project_id}")
Expand Down

0 comments on commit 92b1e44

Please sign in to comment.