Skip to content

Commit

Permalink
fix mypy findings
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Oct 18, 2024
1 parent c5a5576 commit dffe303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flask/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def decorator(*args: t.Any, **kwargs: t.Any) -> t.Any:
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)
Expand Down

0 comments on commit dffe303

Please sign in to comment.