Skip to content

Commit b53855f

Browse files
committed
Suppress return type warnings in base.py so build will be green
1 parent ce535f3 commit b53855f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ipfshttpclient/client/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def wrapper2(*args: ty.Any, **kwargs: ty.Any) \
209209
"when not streaming a response"
210210
)
211211
return ResponseWrapIterator(result, item_wrap_cb)
212-
return wrapper2
212+
return wrapper2 # type: ignore[return-value]
213213
return wrapper1
214214

215215

@@ -256,7 +256,7 @@ def wrapper2(*args: ty.Any, **kwargs: ty.Any) \
256256
"with a single item, when not streaming a response"
257257
)
258258
return ResponseWrapIterator(result, item_wrap_cb)
259-
return wrapper2
259+
return wrapper2 # type: ignore[return-value]
260260
return wrapper1
261261

262262

@@ -285,7 +285,7 @@ def wrapper(*args: ty.Any, **kwargs: ty.Any) \
285285
"object, when not streaming a response"
286286
)
287287
return ResponseWrapIterator(result, ident)
288-
return wrapper
288+
return wrapper # type: ignore[return-value]
289289

290290

291291
S = ty.TypeVar("S", bound="SectionBase")

0 commit comments

Comments
 (0)