Pyodmongo

Latest version: v1.0.1

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

Scan your dependencies

Page 1 of 10

2.3.0

1.0.1

What's Changed

**Fix**
* ✏️ Type hints response in engines by mauro-andre in https://github.com/mauro-andre/pyodmongo/pull/134


**Full Changelog**: https://github.com/mauro-andre/pyodmongo/compare/1.0.0...1.0.1

1.0.0

What's Changed
I'm excited to release version 1.0.0 of **PyODMongo.**
Although the library was built on top of Pydantic V2, from this release onwards the dependency on Pydantic is at a higher abstraction layer.
In the first versions of PyODMongo, to guarantee certain behaviors I had to rewrite the Pydantic metaclass, making some changes, I did the same thing with the Field function, this meant that with each Pydantic update I had to do countless tests to ensure that nothing broke .
In this new version of PyODMongo I created a new metaclass that inherits from the pydantic metaclass and adds certain behaviors, I followed the same reasoning with the Fields function.
Basically a lot of thing has been refactored to improve performance, code simplicity and a higher abstraction of Pydantic

**Refactor**
- All sync and async engine methods: `find_one`, `find_many`, `save`, `save_all` and `delete`
- There's no more `SaveResponse` or `DeleteResponse`, both have been replaced by `DbResponse`
- `DbModel` now inherits from Pydantic's `BaseModel` and the new `DbMeta` metaclass

**New features**
- `DbMeta` and `PyOdmongoMeta`
- `MainBaseModel` class to use in embedded documents


**Full Changelog**: https://github.com/mauro-andre/pyodmongo/compare/0.10.2...1.0.0

1.0.0rc1

Release candidate

**Full Changelog**: https://github.com/mauro-andre/pyodmongo/compare/0.10.2...1.0.0rc1

0.10.2

What's Changed
**Fix**
* 🐛 Fix class QueryOperators types tuples by mauro-andre in https://github.com/mauro-andre/pyodmongo/pull/132


**Full Changelog**: https://github.com/mauro-andre/pyodmongo/compare/0.10.1...0.10.2

0.10.1

What's Changed
**Fix**
* 🐛 Verify in _union_collector_info if any model has model field by mauro-andre in https://github.com/mauro-andre/pyodmongo/pull/131


**Full Changelog**: https://github.com/mauro-andre/pyodmongo/compare/0.10.0...0.10.1

Page 1 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.