fastapi-users-db-sqlmodel
fastapi-users-db-sqlmodel copied to clipboard
FastAPI Users - Database adapter for SQLModel
Add refresh token database classes that inherit base classes defined in fastapi-users in pull request #1367. Add tests with 100% coverage. Fix impossible to inherit models multiple times. Fix models...
## Use session.exec instead of session.execute - SQLModel recommends using session.execute instead of session.exec. So, I've updated parts of the project code that used execute to now use exec. -...
use config dict instead of class Config rename orm_mode to from_attributes
let’s not hardcode OAuthAccount type and use the protocol instead.
noticed readme is not updated regarding used technologies in project, imo described development configuration section ll be more helpful now
Set as deprecated to save time for people coming from fast API using sqlmodel by default trying to use that old package.
# Pydantic V2 Configuration Warning with FastAPI Users + SQLModel ## Describe the bug Pydantic V2 configuration warning appears when using FastAPI Users with SQLModel: `UserWarning: Valid config keys have...