Resultify

Latest version: v1.3.1

Safety actively analyzes 688917 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3.0

This release drops Python 3.6 and 3.7 due to being EOL

resultify now has better autocompletion as the decorated method's signature is now available for autocompletion.

typing_extensions backport is opportunistically used on older python versions

1.2.1

Expand support to Python 3.6

1.2.0

Allow positional pattern matching via __match_args__ for Python 3.10+ runtimes

1.1.0

This release brings the `retry` decorator. See the readme and the tests for further explanation on what it does.

1.0.1

This result leaves behind the `Optional` nature of the upstream `result` package, and instead `raise`s when trying to unwrap a value from and error, or vice-versa. Also, it introduces the `resultify` decorator, which allows to easily convert ordinary functions raising `Exception` types into functions returning `Ok`/`Err`.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.