We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError: cannot import name 'BeanieUserDatabase' from 'fastapi_users.db'
>>> from fastapi_users_db_beanie import BeanieBaseUser >>> from fastapi_users import db >>> db <module 'fastapi_users.db' from 'C:\\Users\\user\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\aspect-weaver-backend-IEifFoga-py3.11\\Lib\\site-packages\\fastapi_users\\db\\__init__.py'> >>> from fastapi_users.db import BeanieUserDatabase, ObjectIDIDMixin Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name 'BeanieUserDatabase' from 'fastapi_users.db' (C:\Users\user\AppData\Local\pypoetry\Cache\virtualenvs\aspect-weaver-backend-IEifFoga-py3.11\Lib\site-packages\fastapi_users\db\__init__.py)
Expected behavior
The order of operations should not introduce circular dependencies.
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
probably installation was superficial: pip install fastapi-users
try instead reinstalling with this command: pip install 'fastapi-users[beanie]'
Sorry, something went wrong.
No branches or pull requests
Describe the bug
ImportError: cannot import name 'BeanieUserDatabase' from 'fastapi_users.db'
To Reproduce
The order of operations should not introduce circular dependencies.
Configuration
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: