Skip to content

Commit fea9f49

Browse files
authored
Merge pull request #66 from kurusugawa-computer/feature/v0.18.0
AnnoFab v0.64.0に対応
2 parents 1264023 + eb3a28a commit fea9f49

38 files changed

+625
-569
lines changed

Pipfile.lock

+74-74
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

annofabapi/__version__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.18.0'
1+
__version__ = '0.19.0'

annofabapi/dataclass/input.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
@dataclass
2020
class Resolution:
2121
"""
22-
画像などの解像度
22+
2323
"""
2424
width: float
2525
""""""

annofabapi/dataclass/instruction.py

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# flake8: noqa: W291
2+
# pylint: disable=too-many-lines,trailing-whitespace
3+
"""
4+
annofabapiのmodelをDataClassで定義したクラス
5+
6+
Note:
7+
このファイルはopenapi-generatorで自動生成される。詳細は generate/README.mdを参照.
8+
oneOf, allOfなどは正しく表現できない可能性がある。
9+
"""
10+
11+
import warnings # pylint: disable=unused-import
12+
from dataclasses import dataclass
13+
from typing import Any, Dict, List, NewType, Optional, Tuple, Union # pylint: disable=unused-import
14+
15+
from dataclasses_json import dataclass_json
16+
17+
18+
@dataclass_json
19+
@dataclass
20+
class Instruction:
21+
"""
22+
23+
"""
24+
html: Optional[str]
25+
""""""
26+
27+
last_updated_datetime: Optional[str]
28+
"""* `GetInstruction` の場合: 最後に作業ガイドを更新した日時。 * `PutInstruction` の場合: 最後に作業ガイドを更新した日時を指定する。まだ一度も保存した事がない場合は指定しない。 """
29+
@dataclass_json
30+
@dataclass
31+
class InstructionHistory:
32+
"""
33+
34+
"""
35+
history_id: Optional[str]
36+
""""""
37+
38+
account_id: Optional[str]
39+
""""""
40+
41+
updated_datetime: Optional[str]
42+
""""""
43+
@dataclass_json
44+
@dataclass
45+
class InstructionImage:
46+
"""
47+
48+
"""
49+
image_id: Optional[str]
50+
""""""
51+
52+
path: Optional[str]
53+
""""""
54+
55+
url: Optional[str]
56+
""""""
57+
58+
etag: Optional[str]
59+
""""""

annofabapi/dataclass/project.py

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ class ProjectConfiguration:
3131
"""
3232
3333
"""
34-
project_rule: Optional[str]
35-
""""""
36-
3734
number_of_inspections: Optional[int]
3835
"""検査回数。 * 0回:教師付け -> 受入 * 1回:教師付け -> 検査 -> 受入 * n回(n >= 2):教師付け -> 検査1 -> ... -> 検査n -> 受入 """
3936

0 commit comments

Comments
 (0)