8000
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
Right now our functions that might fail mid-simulation have a signature that looks like:
def function_that_might_fail() -> Tuple[Optional[Exception], Optional[Type]]:
We could add in this Result type such that the signature would be reduced to:
def function_that_might_fail() -> Result[Type, str]:
This be especially useful if we implement #83 as it would give us a mypy error if we don't handle the result properly.
The text was updated successfully, but these errors were encountered:
Another possible solution: https://github.com/keithasaurus/koda
Sorry, something went wrong.
No branches or pull requests
Right now our functions that might fail mid-simulation have a signature that looks like:
We could add in this Result type such that the signature would be reduced to:
This be especially useful if we implement #83 as it would give us a mypy error if we don't handle the result properly.
The text was updated successfully, but these errors were encountered: