Describe the bug
The Beanie database configuration documentation is outdated. It currently instructs users to use motor.motor_asyncio.AsyncIOMotorClient. However, the latest versions of fastapi-users and Beanie now install pymongo 4.16+, which includes a native asynchronous client.
To Reproduce
Steps to reproduce the behavior:
- Go to https://fastapi-users.github.io/fastapi-users/latest/configuration/databases/beanie/ (documentation page)
- It has old motor configuration
Expected behavior
The documentation should reflect the new PyMongo Async Client.
Configuration
- Python version : 3.12
- FastAPI version : 0.128.0
- FastAPI Users version : 15.0.3
FastAPI Users configuration
N/A
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Describe the bug
The Beanie database configuration documentation is outdated. It currently instructs users to use motor.motor_asyncio.AsyncIOMotorClient. However, the latest versions of fastapi-users and Beanie now install pymongo 4.16+, which includes a native asynchronous client.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The documentation should reflect the new PyMongo Async Client.
Configuration
FastAPI Users configuration
N/A
Additional context
Add any other context about the problem here.