Skip to content

Feature/annofab v0.67.0 #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Dec 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion annofabapi/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.21.4'
__version__ = '0.22.0'
3 changes: 3 additions & 0 deletions annofabapi/dataclass/my.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ class MyAccount:
lang: str
""""""

biography: Optional[str]
"""人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。 """

keylayout: str
""""""

Expand Down
3 changes: 3 additions & 0 deletions annofabapi/dataclass/organization_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class OrganizationMember:
status: OrganizationMemberStatus
""""""

biography: Optional[str]
"""人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。 """

created_datetime: Optional[str]
""""""

Expand Down
3 changes: 3 additions & 0 deletions annofabapi/dataclass/project_member.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ class ProjectMember:
member_role: ProjectMemberRole
""""""

biography: Optional[str]
"""人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。 """

updated_datetime: Optional[str]
""""""

Expand Down
10 changes: 5 additions & 5 deletions annofabapi/generated_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,7 +1014,7 @@ def get_project_job(self, project_id: str, query_params: Optional[Dict[str, Any]
authorizations: AllProjectMember


バックグラウンドジョブの情報を取得する。 取得されるジョブの情報は作成日付の新しい順にソートされる。
バックグラウンドジョブの情報を取得する。 取得されるジョブの情報は作成日付の新しい順にソートされる。 バックグラウンドジョブ情報は完了(失敗含む)から14日経過後に削除される。

Args:
project_id (str): プロジェクトID (required)
Expand Down Expand Up @@ -2228,14 +2228,14 @@ def get_tasks(self, project_id: str, query_params: Optional[Dict[str, Any]] = No
limit (int): 1ページあたりの取得するデータ件数
task_id (str): タスクIDでの部分一致検索で使用。1文字以上あれば使用します。利便性のため、大文字小文字は区別しません
input_data_ids (str): 指定された入力データIDを使用しているタスクを絞り込みます。カンマ区切りで複数の入力データIDを指定可能です。1文字以上あれば使用します。利便性のため、大文字小文字は区別しません
phase (str): 絞り込み条件となるフェーズ名。未指定時は全フェーズ
phase_stage (str): 絞り込み条件となるステージ。未指定時は全ステージ
status (str): 絞り込み条件となる状態名。未指定時は全ステータス。
phase (TaskPhase): 絞り込み条件となるフェーズ名。未指定時は全フェーズ
phase_stage (int): 絞り込み条件となるステージ。未指定時は全ステージ
status (TaskStatus): 絞り込み条件となる状態名。未指定時は全ステータス。
account_id (str): 絞り込み条件となる作業中のアカウントID。未指定時は全アカウント
no_user (str): 未割り当てのタスクを絞り込む時に、キーのみ指定します(値は無視されます)。
previous_account_id (str): そのタスクをこれまでに担当したことのあるユーザー(現在の担当者含む)のアカウントID。未指定時は全ユーザ
previous_phase (TaskPhase): そのタスクがこれまでに遷移したことのあるフェーズ名(現在のフェーズ含む)。未指定時は全フェーズ
previous_phase_stage (str): そのタスクがこれまでに遷移したことのあるステージ(現在のステージ含む)。未指定時は全ステージ
previous_phase_stage (int): そのタスクがこれまでに遷移したことのあるステージ(現在のステージ含む)。未指定時は全ステージ
rejected_only (str): 差し戻されたタスクだけを絞り込む時に、キーのみ指定します(値は無視されます)。
auto_accepted_only (str): 「抜取検査の対象外となり、自動受入されたタスク」だけを絞り込む時に、キーのみ指定します(値は無視されます)。
sort (str): ソート順の指定。 使用可能キーはtask_id、updated_datetime、number_of_rejections、phase、phase_stage、status、account_idのいずれかです。降順指定時は先頭に-(ハイフン)を付与します。 複数指定時は,(カンマ)区切りで列挙します。複数キーを列挙した場合は、先頭から優先順位を割り振られます。
Expand Down
12 changes: 12 additions & 0 deletions annofabapi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@

* lang: str

* biography: str
人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
* keylayout: str

* authority: AccountAuthority
Expand Down Expand Up @@ -562,6 +564,8 @@ class AnnotationDataHoldingType(Enum):
定型指摘
* comment: str

* auto_marking: bool
trueが指定された場合、各統計グラフにマーカーを自動追加します。 マーカーのタイトルには `comment` に指定された文字列が設定されます。 `comment` が指定されていなかった場合は \"アノテーション仕様の変更\" という文字列が設定されます。

"""

Expand Down Expand Up @@ -2262,6 +2266,8 @@ class JobType(Enum):

* lang: str

* biography: str
人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
* keylayout: str

* authority: AccountAuthority
Expand Down Expand Up @@ -2371,6 +2377,8 @@ class JobType(Enum):

* status: OrganizationMemberStatus

* biography: str
人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
* created_datetime: str

* updated_datetime: str
Expand Down Expand Up @@ -2618,6 +2626,8 @@ class PricePlan(Enum):

* member_role: ProjectMemberRole

* biography: str
人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
* updated_datetime: str

* created_datetime: str
Expand Down Expand Up @@ -2744,6 +2754,8 @@ class ProjectStatus(Enum):

* keylayout: str

* biography: str
人物紹介、略歴。 この属性は、AnnoFab外の所属先や肩書などを表すために用います。 AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
* token: Token

* last_updated_datetime: str
Expand Down
34 changes: 30 additions & 4 deletions generate/swagger/swagger-api-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,8 @@
format: email
lang:
type: string
biography:
$ref: "#/components/schemas/UserBiography"
keylayout:
type: string
authority:
Expand Down Expand Up @@ -680,6 +682,8 @@
type: string
keylayout:
type: string
biography:
$ref: "#/components/schemas/UserBiography"
token:
$ref: "#/components/schemas/Token"
last_updated_datetime:
Expand Down Expand Up @@ -769,6 +773,8 @@
$ref: "#/components/schemas/OrganizationMemberRole"
status:
$ref: "#/components/schemas/OrganizationMemberStatus"
biography:
$ref: "#/components/schemas/UserBiography"
created_datetime:
type: string
format: date-time
Expand Down Expand Up @@ -936,6 +942,16 @@
Duration:
type: string
example: "PT34H17M36.789S"
UserBiography:
type: string
description: |
人物紹介、略歴。

この属性は、AnnoFab外の所属先や肩書などを表すために用います。
AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
minLength: 0
maxLength: 100
example: "Annotation Manager, ABC Company"
AnnotationFormatVersion:
type: string
example: "1.0.0"
Expand Down Expand Up @@ -1289,7 +1305,9 @@
$ref: "#/components/schemas/ProjectMemberStatus"
member_role:
$ref: "#/components/schemas/ProjectMemberRole"
updated_datetime:
biography:
$ref: "#/components/schemas/UserBiography"
pdated_datetime:
type: string
format: date-time
created_datetime:
Expand Down Expand Up @@ -1585,6 +1603,13 @@
定型指摘
comment:
type: string
autoMarking:
type: boolean
default: false
description: |
trueが指定された場合、各統計グラフにマーカーを自動追加します。
マーカーのタイトルには `comment` に指定された文字列が設定されます。
`comment` が指定されていなかった場合は "アノテーション仕様の変更" という文字列が設定されます。
AnnotationSpecsHistory:
type: object
properties:
Expand Down Expand Up @@ -1801,9 +1826,7 @@
phase:
$ref: "#/components/schemas/TaskPhase"
phase_stage:
type: integer
default: 1
minimum: 1
$ref: "#/components/schemas/TaskPhaseStage"
status:
$ref: "#/components/schemas/TaskStatus"
input_data_id_list:
Expand Down Expand Up @@ -1859,6 +1882,9 @@
* `annotation` - 教師付け。
* `inspection` - 中間検査。ワークフローが3フェーズのときのみ。
* `acceptance` - 受入。
TaskPhaseStage:
type: integer
minimum: 1
TaskStatus:
type: string
enum:
Expand Down
36 changes: 31 additions & 5 deletions generate/swagger/swagger.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ info:
WebhookID | プロジェクト内で一意
入力データセットID | 組織内で一意

version: 0.66.7
version: 0.67.0
title: AnnoFab Web API
x-logo:
url: "https://annofab.com/images/logo_landscape.png"
Expand Down Expand Up @@ -1219,6 +1219,8 @@ components:
format: email
lang:
type: string
biography:
$ref: "#/components/schemas/UserBiography"
keylayout:
type: string
authority:
Expand Down Expand Up @@ -1262,6 +1264,8 @@ components:
type: string
keylayout:
type: string
biography:
$ref: "#/components/schemas/UserBiography"
token:
$ref: "#/components/schemas/Token"
last_updated_datetime:
Expand Down Expand Up @@ -1351,6 +1355,8 @@ components:
$ref: "#/components/schemas/OrganizationMemberRole"
status:
$ref: "#/components/schemas/OrganizationMemberStatus"
biography:
$ref: "#/components/schemas/UserBiography"
created_datetime:
type: string
format: date-time
Expand Down Expand Up @@ -1518,6 +1524,16 @@ components:
Duration:
type: string
example: "PT34H17M36.789S"
UserBiography:
type: string
description: |
人物紹介、略歴。

この属性は、AnnoFab外の所属先や肩書などを表すために用います。
AnnoFab上の「複数の組織」で活動する場合、本籍を示すのに便利です。
minLength: 0
maxLength: 100
example: "Annotation Manager, ABC Company"
AnnotationFormatVersion:
type: string
example: "1.0.0"
Expand Down Expand Up @@ -1871,7 +1887,9 @@ components:
$ref: "#/components/schemas/ProjectMemberStatus"
member_role:
$ref: "#/components/schemas/ProjectMemberRole"
updated_datetime:
biography:
$ref: "#/components/schemas/UserBiography"
pdated_datetime:
type: string
format: date-time
created_datetime:
Expand Down Expand Up @@ -2167,6 +2185,13 @@ components:
定型指摘
comment:
type: string
autoMarking:
type: boolean
default: false
description: |
trueが指定された場合、各統計グラフにマーカーを自動追加します。
マーカーのタイトルには `comment` に指定された文字列が設定されます。
`comment` が指定されていなかった場合は "アノテーション仕様の変更" という文字列が設定されます。
AnnotationSpecsHistory:
type: object
properties:
Expand Down Expand Up @@ -2383,9 +2408,7 @@ components:
phase:
$ref: "#/components/schemas/TaskPhase"
phase_stage:
type: integer
default: 1
minimum: 1
$ref: "#/components/schemas/TaskPhaseStage"
status:
$ref: "#/components/schemas/TaskStatus"
input_data_id_list:
Expand Down Expand Up @@ -2441,6 +2464,9 @@ components:
* `annotation` - 教師付け。
* `inspection` - 中間検査。ワークフローが3フェーズのときのみ。
* `acceptance` - 受入。
TaskPhaseStage:
type: integer
minimum: 1
TaskStatus:
type: string
enum:
Expand Down
Loading