Skip to content

Commit 0ab8c4f

Browse files
committed
fix: add arg-type ignore for type checker warnings
1 parent ff47d56 commit 0ab8c4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/replicate/lib/_predictions_use.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,7 +884,7 @@ def use(
884884

885885
if is_async:
886886
# TODO: Fix type inference for AsyncFunction return type
887-
return AsyncFunction(client, str(ref), streaming=streaming) # type: ignore[return-value]
887+
return AsyncFunction(client, str(ref), streaming=streaming) # type: ignore[return-value,arg-type]
888888
else:
889889
# TODO: Fix type inference for Function return type
890-
return Function(client, str(ref), streaming=streaming) # type: ignore[return-value]
890+
return Function(client, str(ref), streaming=streaming) # type: ignore[return-value,arg-type]

0 commit comments

Comments
 (0)