forked from orbit-oss/flask
fix mypy finding
This commit is contained in:
parent
273123f6b8
commit
860a25c390
1 changed files with 1 additions and 1 deletions
|
|
@ -91,7 +91,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 update_wrapper(decorator, generator_or_function) # type: ignore[arg-type, return-value]
|
||||
|
||||
def generator() -> t.Iterator[t.AnyStr | None]:
|
||||
ctx = _cv_request.get(None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue