helpers.py
The type: ignore[return-value] was used to suppress a return type mismatch that likely no longer exists. Since mypy is now flagging it as unused, the directive can be safely removed.
This commit is contained in:
parent
2fec0b206c
commit
b6ac6c4ff6
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ def stream_with_context(
|
|||
gen = generator_or_function(*args, **kwargs) # type: ignore[operator]
|
||||
return stream_with_context(gen)
|
||||
|
||||
return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type, return-value]
|
||||
return update_wrapper(decorator, generator_or_function)
|
||||
|
||||
def generator() -> t.Iterator[t.AnyStr | None]:
|
||||
ctx = _cv_request.get(None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue