๐ Features
- *(Client)* Supports AsyncIOMotorClient kwargs
- *(Database)* Now accepts only AsyncIOMotorClient as connection parameter argument
- *(Database)* Supports AsyncIOMotorDatabase kwargs
- *(Database)* Allows kwargs on get_collection method
- *(Client)* Motor client getter
๐ Bug Fixes
- *(Collection)* Update_one
- *(Collection)* Set
- *(tokka/kwargs)* FindKwargs session type
- *(Collection)* Find_one_and_set update behavior standardization
- *(Collection.set)* None as default argument for match parameter
๐ Refactor
- Update sample code to better mirrors README quick usage
- *(Client)* Motor client instance standardized as hidden property
๐ Documentation
- _make_projection docstring added
- Find_one docstring added
- Find_one_and_replace docstring added
- Find_one_and_delete docstring added
- Find_one_and_update docstring added
- Find_one_and_set docstring added
- Replace_one docstring added
- Insert_one docstring added
- Update_one docstring added
- Set docstring added
- Database class docstring added
- Client class docstring added
- Main package docstring
- Update package docstring
- Update readme
- Fix typo
- Kwargs module docstrings
- Docstrings
- *(Client)* Added link to MongoClient kwargs documentation
- *(readme)* Testing instructions
๐จ Styling
- Ruff format and check
- Removed unused imports
๐งช Testing
- Client, collection and other essential fixtures
- Test client fixture
- Insert_one
- Find_one
- Find one and replace
- Find_one_and_update
- Find_one_and_replace
- Find_one_and_set
- *(Collection)* Test_replace_one
- *(Collection)* Set
Dependencies
- Added pytest and pytest-asyncio
Refat
- *(Collection.replace_one)* Removed useless kwargs