mypy · mypy/return
return
Missing Return Statement
A function with a non-None return type has a code path that does not return a value. Add a return statement or raise an exception on all paths.
A function with a non-None return type has a code path that does not return a value. Add a return statement or raise an exception on all paths.