1
1
# flake8: noqa: W291
2
2
# pylint: disable=too-many-lines,trailing-whitespace
3
-
4
3
"""
5
4
AbstractAnnofabApi2のヘッダ部分
6
5
注意:このファイルはopenapi-generatorで自動生成される。詳細は generate/README.mdを参照
7
6
"""
8
7
9
8
import abc
10
- import warnings
9
+ import warnings # pylint: disable=unused-import
11
10
from typing import Any , Dict , List , Optional , Tuple , Union # pylint: disable=unused-import
12
11
13
12
import requests
@@ -27,12 +26,17 @@ def _request_wrapper(self,
27
26
request_body : Optional [Any ] = None
28
27
) -> Tuple [Any , requests .Response ]:
29
28
pass
29
+
30
30
#########################################
31
31
# Public Method : AfAnnotationSpecsV2Api
32
32
# NOTE: This method is auto generated by OpenAPI Generator
33
33
#########################################
34
34
35
- def get_annotation_specs_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
35
+ def get_annotation_specs_v2 (
36
+ self ,
37
+ project_id : str ,
38
+ query_params : Optional [Dict [str , Any ]] = None ,
39
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
36
40
"""アノテーション仕様取得
37
41
38
42
@@ -54,12 +58,16 @@ def get_annotation_specs_v2(self, project_id: str, query_params: Optional[Dict[s
54
58
'query_params' : query_params ,
55
59
}
56
60
return self ._request_wrapper (http_method , url_path , ** keyword_params )
61
+
57
62
#########################################
58
63
# Public Method : AfProjectV2Api
59
64
# NOTE: This method is auto generated by OpenAPI Generator
60
65
#########################################
61
66
62
- def get_project_cache_v2 (self , project_id : str , ) -> Tuple [Any , requests .Response ]: # noqa: E501
67
+ def get_project_cache_v2 (
68
+ self ,
69
+ project_id : str ,
70
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
63
71
"""キャッシュレコード
64
72
65
73
@@ -75,15 +83,19 @@ def get_project_cache_v2(self, project_id: str, ) -> Tuple[Any, requests.Respons
75
83
"""
76
84
url_path = f'/projects/{ project_id } /cache'
77
85
http_method = 'GET'
78
- keyword_params : Dict [str , Any ] = {
79
- }
86
+ keyword_params : Dict [str , Any ] = {}
80
87
return self ._request_wrapper (http_method , url_path , ** keyword_params )
88
+
81
89
#########################################
82
90
# Public Method : AfStatisticsV2Api
83
91
# NOTE: This method is auto generated by OpenAPI Generator
84
92
#########################################
85
93
86
- def get_account_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
94
+ def get_account_statistics_v2 (
95
+ self ,
96
+ project_id : str ,
97
+ query_params : Optional [Dict [str , Any ]] = None ,
98
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
87
99
"""ユーザー別タスク集計取得
88
100
89
101
@@ -106,7 +118,11 @@ def get_account_statistics_v2(self, project_id: str, query_params: Optional[Dict
106
118
}
107
119
return self ._request_wrapper (http_method , url_path , ** keyword_params )
108
120
109
- def get_inspection_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
121
+ def get_inspection_statistics_v2 (
122
+ self ,
123
+ project_id : str ,
124
+ query_params : Optional [Dict [str , Any ]] = None ,
125
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
110
126
"""検査コメント集計取得
111
127
112
128
@@ -129,7 +145,11 @@ def get_inspection_statistics_v2(self, project_id: str, query_params: Optional[D
129
145
}
130
146
return self ._request_wrapper (http_method , url_path , ** keyword_params )
131
147
132
- def get_label_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
148
+ def get_label_statistics_v2 (
149
+ self ,
150
+ project_id : str ,
151
+ query_params : Optional [Dict [str , Any ]] = None ,
152
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
133
153
"""ラベル別アノテーション数集計取得
134
154
135
155
@@ -152,7 +172,11 @@ def get_label_statistics_v2(self, project_id: str, query_params: Optional[Dict[s
152
172
}
153
173
return self ._request_wrapper (http_method , url_path , ** keyword_params )
154
174
155
- def get_task_phase_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
175
+ def get_task_phase_statistics_v2 (
176
+ self ,
177
+ project_id : str ,
178
+ query_params : Optional [Dict [str , Any ]] = None ,
179
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
156
180
"""フェーズ別タスク集計取得
157
181
158
182
@@ -175,7 +199,11 @@ def get_task_phase_statistics_v2(self, project_id: str, query_params: Optional[D
175
199
}
176
200
return self ._request_wrapper (http_method , url_path , ** keyword_params )
177
201
178
- def get_task_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
202
+ def get_task_statistics_v2 (
203
+ self ,
204
+ project_id : str ,
205
+ query_params : Optional [Dict [str , Any ]] = None ,
206
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
179
207
"""タスク集計取得
180
208
181
209
@@ -198,7 +226,11 @@ def get_task_statistics_v2(self, project_id: str, query_params: Optional[Dict[st
198
226
}
199
227
return self ._request_wrapper (http_method , url_path , ** keyword_params )
200
228
201
- def get_worktime_statistics_v2 (self , project_id : str , query_params : Optional [Dict [str , Any ]] = None , ) -> Tuple [Any , requests .Response ]: # noqa: E501
229
+ def get_worktime_statistics_v2 (
230
+ self ,
231
+ project_id : str ,
232
+ query_params : Optional [Dict [str , Any ]] = None ,
233
+ ) -> Tuple [Any , requests .Response ]: # noqa: E501
202
234
"""タスク作業時間集計取得
203
235
204
236
0 commit comments