@@ -498,7 +498,8 @@ def put_annotation(self, project_id: str, task_id: str, input_data_id: str, requ
498
498
# NOTE: This method is auto generated by OpenAPI Generator
499
499
#########################################
500
500
501
- def get_annotation_specs (self , project_id : str , ** kwargs ) -> Tuple [Any , requests .Response ]:
501
+ def get_annotation_specs (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None ,
502
+ ** kwargs ) -> Tuple [Any , requests .Response ]:
502
503
"""アノテーション仕様取得
503
504
504
505
@@ -508,6 +509,8 @@ def get_annotation_specs(self, project_id: str, **kwargs) -> Tuple[Any, requests
508
509
509
510
Args:
510
511
project_id (str): プロジェクトID (required)
512
+ query_params (Dict[str, Any]): Query Parameters
513
+ history_id (str): 過去のアノテーション仕様を取得する場合、[アノテーション仕様履歴取得](#operation/getAnnotationSpecsHistories)APIで取得した `history_id` の値を指定します。 未指定時は最新のアノテーション仕様を取得します。
511
514
512
515
Returns:
513
516
Tuple[AnnotationSpecs, requests.Response]
@@ -516,7 +519,9 @@ def get_annotation_specs(self, project_id: str, **kwargs) -> Tuple[Any, requests
516
519
"""
517
520
url_path = f'/projects/{ project_id } /annotation-specs'
518
521
http_method = 'GET'
519
- keyword_params : Dict [str , Any ] = {}
522
+ keyword_params : Dict [str , Any ] = {
523
+ 'query_params' : query_params ,
524
+ }
520
525
return self ._request_wrapper (http_method , url_path , ** keyword_params )
521
526
522
527
def get_annotation_specs_histories (self , project_id : str , ** kwargs ) -> Tuple [Any , requests .Response ]:
@@ -2189,11 +2194,12 @@ def get_task_histories(self, project_id: str, task_id: str, **kwargs) -> Tuple[A
2189
2194
def get_task_validation (self , project_id : str , task_id : str , ** kwargs ) -> Tuple [Any , requests .Response ]:
2190
2195
"""タスク自動検査
2191
2196
2197
+ .. deprecated:: X
2192
2198
2193
2199
authorizations: AllProjectMember
2194
2200
2195
2201
2196
- 指定したタスクの自動検査で見つかった警告やエラーを一括で取得します。
2202
+ 指定したタスクの自動検査で見つかった警告やエラーを一括で取得します。 [タスクの状態遷移](#operation/operateTask)の際に検査を行うようになったので、本APIは非推奨となります。
2197
2203
2198
2204
Args:
2199
2205
project_id (str): プロジェクトID (required)
@@ -2204,6 +2210,7 @@ def get_task_validation(self, project_id: str, task_id: str, **kwargs) -> Tuple[
2204
2210
2205
2211
2206
2212
"""
2213
+ warnings .warn ("deprecated" , DeprecationWarning )
2207
2214
url_path = f'/projects/{ project_id } /tasks/{ task_id } /validation'
2208
2215
http_method = 'GET'
2209
2216
keyword_params : Dict [str , Any ] = {}
0 commit comments