Skip to content

Commit 143be53

Browse files
author
kevin
committed
fix files
1 parent 1c3e3d9 commit 143be53

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

.acli/history

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,6 @@
4444
+dashscope/cli/fine_tunes.py:199: error: Argument "mode" to "call" of "FineTunes" has incompatible type "Optional[str]"; expected "str" [arg-type]
4545
+dashscope/cli/fine_tunes.py:200: error: Argument "hyper_parameters" to "call" of "FineTunes" has incompatible type "Optional[dict[str, int]]"; expected "dict[Any, Any]" [arg-type]
4646
+
47+
48+
# 2026-05-29 15:33:37.319171
49+
+dashscope/cli/files.py:58: error: Argument "description" to "upload" of "Files" has incompatible type "Optional[str]"; expected "str" [arg-type]

.acli/session.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dashscope/cli/files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def upload(
5555
rsp = dashscope.Files.upload(
5656
file_path=file,
5757
purpose=purpose,
58-
description=description,
58+
description=description, # type: ignore[arg-type]
5959
base_address=base_url,
6060
)
6161
output = ensure_ok(rsp)

0 commit comments

Comments
 (0)