Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Beanie outdated documentation #1559

@omseervi098

Description

@omseervi098

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:

  1. Go to https://fastapi-users.github.io/fastapi-users/latest/configuration/databases/beanie/ (documentation page)
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions