Skip to content
Myr

fix mypy findings

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Lord · committed by David Lord · parent c5a5576 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/flask/helpers.py+1 added-1 removed
101 unmodified lines
102 def decorator(*args: t.Any, **kwargs: t.Any) -> t.Any:103 gen = generator_or_function(*args, **kwargs) # type: ignore[operator]104 return stream_with_context(gen)105106 return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type, return-value]106 return update_wrapper(decorator, generator_or_function) # type: ignore[arg-type]107108 def generator() -> t.Iterator[t.AnyStr | None]:109 ctx = _cv_request.get(None)110 if ctx is None:
523 unmodified lines