We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: https://returns.readthedocs.io/en/latest/pages/result.html#safe
from returns.result import safe @safe def function(param: int) -> int: return param reveal_type(function) # Actual => def (*Any, **Any) -> builtins.int # Expected => def (int) -> builtins.int
We need to change the return type, while leaving the input types untouched. Original issue: python/mypy#3157
The text was updated successfully, but these errors were encountered:
Closed with #88
Sorry, something went wrong.
No branches or pull requests
Problem: https://returns.readthedocs.io/en/latest/pages/result.html#safe
We need to change the return type, while leaving the input types untouched.
Original issue: python/mypy#3157
The text was updated successfully, but these errors were encountered: