Skip to content

Commit 38f77f4

Browse files
liuhuiqi.7潘婉宁
authored andcommitted
fix: error optional
Change-Id: Iabdefb7268908048dd3b6bb5d745a142dec2e4c0
1 parent 19f3561 commit 38f77f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

volcenginesdkarkruntime/_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from collections import defaultdict
99

1010
from httpx import Timeout, URL, Client, AsyncClient
11-
from typing import Dict, Tuple
11+
from typing import Dict, Tuple, Optional
1212

1313
from volcenginesdkcore.rest import ApiException
1414
from ._exceptions import ArkAPIError
@@ -379,7 +379,7 @@ def _load_api_key(
379379

380380

381381
class CertificateResponse(BaseModel):
382-
error: Dict[str, str] = None
382+
error: Optional[Dict[str,str]] = None
383383
"""The error information."""
384384

385385
Certificate: str

0 commit comments

Comments
 (0)