@@ -73,6 +73,13 @@ def _parse_response(*, client: AuthenticatedClient | Client, response: httpx.Res
7373
7474 return response_404
7575
76+ if response .status_code == 413 :
77+ response_413 = Error .from_dict (response .json ())
78+
79+
80+
81+ return response_413
82+
7683 if client .raise_on_unexpected_status :
7784 raise errors .UnexpectedStatus (response .status_code , response .content )
7885 else :
@@ -102,8 +109,9 @@ def sync_detailed(
102109 volcano-config.yaml rendering with `Accept: application/yaml` or
103110 `?format=yaml`; the YAML is returned verbatim as the raw response body
104111 (`Content-Type: application/yaml`) and is meant to be saved as-is.
105- Write-only secrets (SMTP password, OAuth client secrets, TLS material)
106- are omitted from the export; the YAML rendering adds a header comment
112+ Variable values and write-only secrets (SMTP password, OAuth client secrets, TLS material)
113+ are omitted from the export; shared_variables contains names only; the YAML rendering adds a header
114+ comment
107115 describing how to set them via CLI environment interpolation.
108116
109117 Args:
@@ -145,8 +153,9 @@ def sync(
145153 volcano-config.yaml rendering with `Accept: application/yaml` or
146154 `?format=yaml`; the YAML is returned verbatim as the raw response body
147155 (`Content-Type: application/yaml`) and is meant to be saved as-is.
148- Write-only secrets (SMTP password, OAuth client secrets, TLS material)
149- are omitted from the export; the YAML rendering adds a header comment
156+ Variable values and write-only secrets (SMTP password, OAuth client secrets, TLS material)
157+ are omitted from the export; shared_variables contains names only; the YAML rendering adds a header
158+ comment
150159 describing how to set them via CLI environment interpolation.
151160
152161 Args:
@@ -183,8 +192,9 @@ async def asyncio_detailed(
183192 volcano-config.yaml rendering with `Accept: application/yaml` or
184193 `?format=yaml`; the YAML is returned verbatim as the raw response body
185194 (`Content-Type: application/yaml`) and is meant to be saved as-is.
186- Write-only secrets (SMTP password, OAuth client secrets, TLS material)
187- are omitted from the export; the YAML rendering adds a header comment
195+ Variable values and write-only secrets (SMTP password, OAuth client secrets, TLS material)
196+ are omitted from the export; shared_variables contains names only; the YAML rendering adds a header
197+ comment
188198 describing how to set them via CLI environment interpolation.
189199
190200 Args:
@@ -226,8 +236,9 @@ async def asyncio(
226236 volcano-config.yaml rendering with `Accept: application/yaml` or
227237 `?format=yaml`; the YAML is returned verbatim as the raw response body
228238 (`Content-Type: application/yaml`) and is meant to be saved as-is.
229- Write-only secrets (SMTP password, OAuth client secrets, TLS material)
230- are omitted from the export; the YAML rendering adds a header comment
239+ Variable values and write-only secrets (SMTP password, OAuth client secrets, TLS material)
240+ are omitted from the export; shared_variables contains names only; the YAML rendering adds a header
241+ comment
231242 describing how to set them via CLI environment interpolation.
232243
233244 Args:
0 commit comments