Pydantic-aiohttp

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 3

1.0.1

1.0.0

**Full Changelog**: https://github.com/pylakey/pydantic_aiohttp/compare/0.8.0...1.0.0

0.8.0

This update introduces a new model, EmptyResponse, which provides a placeholder response class when a response model is not provided. This improves handling of cases where a response model is None by returning an instance of EmptyResponse instead of raising a ValueError, enhancing error management.

Additionally, the version constraint of pydantic has been adjusted to be less than 2, ensuring compatibility. All latest versions will work with Pydantic v2 only.

**Full Changelog**: https://github.com/pylakey/pydantic_aiohttp/compare/0.7.1...0.8.0

0.7.1

0.7.0

**BREAKING**

* All types moved from `client` to separate `types` module

* Removed unused `error_response_class` from `Client` constructur parameters

___

* Added custom `url_compatible_encoder` for params, cookies and headers because Aiohttp expects their values to be `int`, `float` or `str` instances

* `model_to_dict` now accepts all `pydantic.BaseModel.dict` parameters

* `utils` module added to package export

* `encoders` module added to package export

* All absolute package path exports replaced with relative

0.6.1

What's Changed
* Upgraded dependencies


**Full Changelog**: https://github.com/pylakey/pydantic_aiohttp/compare/0.6.0...0.6.1

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.