Skip to content

Commit 4342ac9

Browse files
authored
update annofab v0.94.3 (#205)
1 parent 1230cc3 commit 4342ac9

File tree

4 files changed

+62
-62
lines changed

4 files changed

+62
-62
lines changed

annofabapi/models.py

+20-20
Original file line numberDiff line numberDiff line change
@@ -1363,23 +1363,6 @@ class AssigneeRuleOfResubmittedTask(Enum):
13631363
13641364
"""
13651365

1366-
EmptyAttribute = Dict[str, Any]
1367-
"""
1368-
属性が未入力であるエラー
1369-
1370-
Kyes of Dict
1371-
1372-
* label_id: str
1373-
1374-
* annotation_id: str
1375-
1376-
* additional_data_definition_id: str
1377-
1378-
* type: str
1379-
EmptyAttribute
1380-
1381-
"""
1382-
13831366
ErrorItem = Dict[str, Any]
13841367
"""
13851368
@@ -2146,9 +2129,9 @@ class InspectionSummary(Enum):
21462129
21472130
"""
21482131

2149-
InvalidCommentFormat = Dict[str, Any]
2132+
InvalidChoice = Dict[str, Any]
21502133
"""
2151-
コメントが正規表現に合致しないエラー
2134+
選択肢不正エラー
21522135
21532136
Kyes of Dict
21542137
@@ -2159,7 +2142,7 @@ class InspectionSummary(Enum):
21592142
* additional_data_definition_id: str
21602143
21612144
* type: str
2162-
InvalidCommentFormat
2145+
InvalidChoice
21632146
21642147
"""
21652148

@@ -2180,6 +2163,23 @@ class InspectionSummary(Enum):
21802163
21812164
"""
21822165

2166+
InvalidValue = Dict[str, Any]
2167+
"""
2168+
値制約に合致しないエラー
2169+
2170+
Kyes of Dict
2171+
2172+
* label_id: str
2173+
2174+
* annotation_id: str
2175+
2176+
* additional_data_definition_id: str
2177+
2178+
* type: str
2179+
InvalidValue
2180+
2181+
"""
2182+
21832183
InviteOrganizationMemberRequest = Dict[str, Any]
21842184
"""
21852185

generate/swagger/swagger-api-components.yaml

+40-40
Original file line numberDiff line numberDiff line change
@@ -4250,10 +4250,10 @@ components:
42504250
oneOf:
42514251
- $ref: "#/components/schemas/InvalidAnnotationData"
42524252
- $ref: "#/components/schemas/DuplicatedSegmentationV2"
4253-
- $ref: "#/components/schemas/InvalidCommentFormat"
4253+
- $ref: "#/components/schemas/InvalidValue"
42544254
- $ref: "#/components/schemas/UnknownLinkTarget"
42554255
- $ref: "#/components/schemas/InvalidLinkTarget"
4256-
- $ref: "#/components/schemas/EmptyAttribute"
4256+
- $ref: "#/components/schemas/InvalidChoice"
42574257
- $ref: "#/components/schemas/Duplicated"
42584258
- $ref: "#/components/schemas/UnknownAdditionalData"
42594259
- $ref: "#/components/schemas/OutOfImageBounds"
@@ -4264,10 +4264,10 @@ components:
42644264
mapping:
42654265
InvalidAnnotationData: "#/components/schemas/InvalidAnnotationData"
42664266
DuplicatedSegmentationV2: "#/components/schemas/DuplicatedSegmentationV2"
4267-
InvalidCommentFormat: "#/components/schemas/InvalidCommentFormat"
4267+
InvalidValue: "#/components/schemas/InvalidValue"
42684268
UnknownLinkTarget: "#/components/schemas/UnknownLinkTarget"
42694269
InvalidLinkTarget: "#/components/schemas/InvalidLinkTarget"
4270-
EmptyAttribute: "#/components/schemas/EmptyAttribute"
4270+
InvalidChoice: "#/components/schemas/InvalidChoice"
42714271
Duplicated: "#/components/schemas/Duplicated"
42724272
UnknownAdditionalData: "#/components/schemas/UnknownAdditionalData"
42734273
OutOfImageBounds: "#/components/schemas/OutOfImageBounds"
@@ -4277,9 +4277,9 @@ components:
42774277
type: object
42784278
description: アノテーションデータ不正エラー
42794279
properties:
4280-
labelId:
4280+
label_id:
42814281
type: string
4282-
annotationId:
4282+
annotation_id:
42834283
type: string
42844284
message:
42854285
type: string
@@ -4291,39 +4291,39 @@ components:
42914291
type: object
42924292
description: 塗りつぶしv2のラベルに対する1ラベルにつき1アノテーションまでの制約違反エラー
42934293
properties:
4294-
labelId:
4294+
label_id:
42954295
type: string
4296-
annotationIds:
4296+
annotation_ids:
42974297
type: array
42984298
items:
42994299
type: string
43004300
_type:
43014301
type: string
43024302
description: DuplicatedSegmentationV2
43034303
example: "DuplicatedSegmentationV2"
4304-
InvalidCommentFormat:
4304+
InvalidValue:
43054305
type: object
4306-
description: コメントが正規表現に合致しないエラー
4306+
description: 値制約に合致しないエラー
43074307
properties:
4308-
labelId:
4308+
label_id:
43094309
type: string
4310-
annotationId:
4310+
annotation_id:
43114311
type: string
4312-
additionalDataDefinitionId:
4312+
additional_data_definition_id:
43134313
type: string
43144314
_type:
43154315
type: string
4316-
description: InvalidCommentFormat
4317-
example: "InvalidCommentFormat"
4316+
description: InvalidValue
4317+
example: "InvalidValue"
43184318
UnknownLinkTarget:
43194319
type: object
43204320
description: 指定されたIDに該当するアノテーションが存在しないエラー
43214321
properties:
4322-
labelId:
4322+
label_id:
43234323
type: string
4324-
annotationId:
4324+
annotation_id:
43254325
type: string
4326-
additionalDataDefinitionId:
4326+
additional_data_definition_id:
43274327
type: string
43284328
_type:
43294329
type: string
@@ -4333,39 +4333,39 @@ components:
43334333
type: object
43344334
description: リンク先アノテーションが許可されているラベルでないエラー
43354335
properties:
4336-
labelId:
4336+
label_id:
43374337
type: string
4338-
annotationId:
4338+
annotation_id:
43394339
type: string
4340-
additionalDataDefinitionId:
4340+
additional_data_definition_id:
43414341
type: string
43424342
_type:
43434343
type: string
43444344
description: InvalidLinkTarget
43454345
example: "InvalidLinkTarget"
4346-
EmptyAttribute:
4346+
InvalidChoice:
43474347
type: object
4348-
description: 属性が未入力であるエラー
4348+
description: 選択肢不正エラー
43494349
properties:
4350-
labelId:
4350+
label_id:
43514351
type: string
4352-
annotationId:
4352+
annotation_id:
43534353
type: string
4354-
additionalDataDefinitionId:
4354+
additional_data_definition_id:
43554355
type: string
43564356
_type:
43574357
type: string
4358-
description: EmptyAttribute
4359-
example: "EmptyAttribute"
4358+
description: InvalidChoice
4359+
example: "InvalidChoice"
43604360
Duplicated:
43614361
type: object
43624362
description: 値の重複が許可されていない属性の重複エラー
43634363
properties:
4364-
labelId:
4364+
label_id:
43654365
type: string
4366-
annotationId:
4366+
annotation_id:
43674367
type: string
4368-
additionalData:
4368+
additional_data:
43694369
$ref: "#/components/schemas/AdditionalData"
43704370
_type:
43714371
type: string
@@ -4375,11 +4375,11 @@ components:
43754375
type: object
43764376
description: 何らかの原因で、アノテーション仕様にない属性がついているエラー
43774377
properties:
4378-
labelId:
4378+
label_id:
43794379
type: string
4380-
annotationId:
4380+
annotation_id:
43814381
type: string
4382-
additionalDataDefinitionId:
4382+
additional_data_definition_id:
43834383
type: string
43844384
_type:
43854385
type: string
@@ -4389,9 +4389,9 @@ components:
43894389
type: object
43904390
description: 画像範囲外にアノテーションがはみ出しているエラー
43914391
properties:
4392-
labelId:
4392+
label_id:
43934393
type: string
4394-
annotationId:
4394+
annotation_id:
43954395
type: string
43964396
_type:
43974397
type: string
@@ -4401,9 +4401,9 @@ components:
44014401
type: object
44024402
description: 区間が重複しているアノテーションが存在している場合に発生するエラー
44034403
properties:
4404-
labelId:
4404+
label_id:
44054405
type: string
4406-
annotationId:
4406+
annotation_id:
44074407
type: string
44084408
_type:
44094409
type: string
@@ -4413,9 +4413,9 @@ components:
44134413
type: object
44144414
description: 何らかの原因で、アノテーション仕様にないラベルがついているエラー
44154415
properties:
4416-
labelId:
4416+
label_id:
44174417
type: string
4418-
annotationId:
4418+
annotation_id:
44194419
type: string
44204420
_type:
44214421
type: string

generate/swagger/swagger.v2.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ info:
115115
116116
上記例 `account_id_count` は、タスクのフィールド `account_id` でタスクを分類したところ「`account_id` が `c5eee002` であるタスクが9件、`9f110e48` であるタスクが5件、`b25dfeb3` であるタスクが1件」だったという結果を表しています。
117117
118-
version: 0.94.1
118+
version: 0.94.3
119119
title: AnnoFab Web API
120120
x-logo:
121121
url: "https://annofab.com/images/logo_landscape.png"

generate/swagger/swagger.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ info:
116116
上記例 `account_id_count` は、タスクのフィールド `account_id` でタスクを分類したところ「`account_id` が `c5eee002` であるタスクが9件、`9f110e48` であるタスクが5件、`b25dfeb3` であるタスクが1件」だったという結果を表しています。
117117
また、AggregationResultの集約の件数は、合計で10000件以下に制限されており、それを超える件数がある場合は上位10000件が取得されます。もし、省略された部分を取得したい場合は、検索条件を縛って結果に上る集約の数を減らしてください。
118118
119-
version: 0.94.1
119+
version: 0.94.3
120120
title: AnnoFab Web API
121121
x-logo:
122122
url: "https://annofab.com/images/logo_landscape.png"

0 commit comments

Comments
 (0)