|
9 | 9 | """
|
10 | 10 |
|
11 | 11 | import re # noqa: F401
|
12 |
| -from typing import TYPE_CHECKING, Dict, List, Optional, Union # noqa: F401 |
| 12 | +from typing import TYPE_CHECKING, Dict, IO, List, Optional, Union # noqa: F401 |
13 | 13 | from . import ApiBase
|
14 | 14 |
|
15 | 15 |
|
16 | 16 | if TYPE_CHECKING:
|
| 17 | + import pathlib |
17 | 18 | from ..models import *
|
18 | 19 |
|
19 | 20 |
|
@@ -187,10 +188,8 @@ def _v1alpha_job_queue_files_post_with_http_info(
|
187 | 188 | ["text/plain", "application/json", "text/json"]
|
188 | 189 | )
|
189 | 190 |
|
190 |
| - # HTTP header 'Content-Type' |
191 |
| - header_params["Content-Type"] = self.api_client.select_header_content_type( |
192 |
| - ["multipart/form-data"] |
193 |
| - ) |
| 191 | + # multipart/form-data request detected. Content-Type header will be |
| 192 | + # populated by openapi-common based on request content. |
194 | 193 |
|
195 | 194 | response_type_map = {
|
196 | 195 | 200: "str",
|
@@ -279,6 +278,8 @@ def _v1alpha_job_queue_jobs_delete_with_http_info(
|
279 | 278 | "application/*+json",
|
280 | 279 | ]
|
281 | 280 | )
|
| 281 | + # multipart/form-data request detected. Content-Type header will be |
| 282 | + # populated by openapi-common based on request content. |
282 | 283 |
|
283 | 284 | response_type_map = {
|
284 | 285 | 200: "list[str]",
|
@@ -846,6 +847,8 @@ def _v1alpha_job_queue_jobs_id_patch_with_http_info(
|
846 | 847 | "application/*+json",
|
847 | 848 | ]
|
848 | 849 | )
|
| 850 | + # multipart/form-data request detected. Content-Type header will be |
| 851 | + # populated by openapi-common based on request content. |
849 | 852 |
|
850 | 853 | response_type_map = {
|
851 | 854 | 200: "GrantaServerApiAsyncJobsJob",
|
@@ -1027,6 +1030,8 @@ def _v1alpha_job_queue_jobs_idresubmit_post_with_http_info(
|
1027 | 1030 | "application/*+json",
|
1028 | 1031 | ]
|
1029 | 1032 | )
|
| 1033 | + # multipart/form-data request detected. Content-Type header will be |
| 1034 | + # populated by openapi-common based on request content. |
1030 | 1035 |
|
1031 | 1036 | response_type_map = {
|
1032 | 1037 | 200: "GrantaServerApiAsyncJobsJob",
|
@@ -1202,6 +1207,8 @@ def _v1alpha_job_queue_jobs_post_with_http_info(
|
1202 | 1207 | "application/*+json",
|
1203 | 1208 | ]
|
1204 | 1209 | )
|
| 1210 | + # multipart/form-data request detected. Content-Type header will be |
| 1211 | + # populated by openapi-common based on request content. |
1205 | 1212 |
|
1206 | 1213 | response_type_map = {
|
1207 | 1214 | 200: "GrantaServerApiAsyncJobsJob",
|
|
0 commit comments