Skip to content

Commit 6d98ca3

Browse files
author
kevin
committed
fix files
1 parent 143be53 commit 6d98ca3

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.acli/history

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@
4747

4848
# 2026-05-29 15:33:37.319171
4949
+dashscope/cli/files.py:58: error: Argument "description" to "upload" of "Files" has incompatible type "Optional[str]"; expected "str" [arg-type]
50+
51+
# 2026-05-29 15:37:27.398322
52+
+dashscope/cli/deployments.py:109: error: Argument "suffix" to "call" of "Deployments" has incompatible type "Optional[str]"; expected "str" [arg-type]
53+
+Found 4 errors in 3 files (checked 215 source files)

.acli/session.json

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

dashscope/cli/deployments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def create(
106106
rsp = dashscope.Deployments.call(
107107
model=model,
108108
capacity=capacity,
109-
suffix=suffix,
109+
suffix=suffix, # type: ignore[arg-type]
110110
)
111111
output = ensure_ok(rsp)
112112
deployed_model = output["deployed_model"]

0 commit comments

Comments
 (0)