Max

Results 11 issues of Max

Create chainable shorthands for pyvalid's validators. It may be useful for cases, when we just need to quickly verify some value without preparing comprehensive validators. Examples: ```python from pyvalid import...

enhancement

Provide an ability to turn off/on particular decorators. For example, it should be possible to turn off the `@accepts` decorator and keep the `@returns` decorator enabled. It should be done...

Provide an ability to validate objects against the schema

enhancement

enhancement

We need to make the pyvalid package lightweight and easy to install. Therefore it would be great to try to avoid too heavy deps such as `torch` (which is about...

enhancement

Provide the ability to validate input/output values base on [type hints](https://docs.python.org/3/library/typing.html). It's possible to use `inspect.signature`, `typing.get_origin()`, `typing.get_args()`, etc for retrieving information about type hints. We'll need to create decorator,...

enhancement

We need to improve unit tests coverage in order to reach the value close to 100% How to: 1. Analyze existing code base using the `coverage` package 2. Review report...

enhancement

enhancement

Provide a possibility to turn on the "logs only" mode, which will work in the following way: 1. Validation exceptions won't be raised anymore; 2. The pyvalid will keep working...

enhancement