Address a mypy failure in CI
mypy 1.11.1 is reporting that `return-value` is an unused ignore.
This commit is contained in:
parent
2fec0b206c
commit
e5bfe3d078
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) # type: ignore[arg-type]
|
||||
|
||||
def generator() -> t.Iterator[t.AnyStr | None]:
|
||||
ctx = _cv_request.get(None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue