You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to update fastapi-users from version 5 to 10, but it fails at the beginning when I am trying to import BeanieBaseUser ImportError: cannot import name 'BeanieBaseUser' from 'fastapi_users.db'
my user file looks like this:
from beanie import PydanticObjectId
from fastapi_users.db import BeanieBaseUser, BeanieUserDatabase
from fastapi_users import schemas
class User(BeanieBaseUser[PydanticObjectId]):
nick_name: str
A clear and concise description of what you expected to happen.
Configuration
Python version : 3.8
FastAPI version : 0.71.0
FastAPI Users version[beanie] : =5.1.0 ->10.0.0
The text was updated successfully, but these errors were encountered:
Hi, @frankie567 I'm using the 10.0.5 fastapi_users version, and I have the same problem. I verified the fastapi_users_db_beanie version and it's 1.0.1.
Describe the bug
I am trying to update fastapi-users from version 5 to 10, but it fails at the beginning when I am trying to import
BeanieBaseUser
ImportError: cannot import name 'BeanieBaseUser' from 'fastapi_users.db'
my user file looks like this:
A clear and concise description of what you expected to happen.
Configuration
[beanie]
: =5.1.0 ->10.0.0The text was updated successfully, but these errors were encountered: