mirror of
				https://github.com/fastapi-users/fastapi-users.git
				synced 2025-11-01 01:48:46 +08:00 
			
		
		
		
	 7fbab34f98
			
		
	
	7fbab34f98
	
	
	
		
			
			New features ------------ * SQLAlchemy 2.0 support [[Documentation](https://fastapi-users.github.io/fastapi-users/10.4/configuration/databases/sqlalchemy/)] * If you need to stay on SQLAlchemy 1.4, you can pin this dependency: `fastapi-users-db-sqlalchemy<5.0.0` * Allow to set `is_verified` flag to `True` by default after OAuth registration [[Documentation](https://fastapi-users.github.io/fastapi-users/10.4/configuration/oauth/#set-is_verified-to-true-by-default)] Improvements ------------ * Bump dependencies * `httpx-oauth >=0.4,<0.12`
		
			
				
	
	
		
			24 lines
		
	
	
		
			574 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			574 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| """Ready-to-use and customizable users management for FastAPI."""
 | |
| 
 | |
| __version__ = "10.4.0"
 | |
| 
 | |
| from fastapi_users import models, schemas  # noqa: F401
 | |
| from fastapi_users.exceptions import InvalidID, InvalidPasswordException
 | |
| from fastapi_users.fastapi_users import FastAPIUsers  # noqa: F401
 | |
| from fastapi_users.manager import (  # noqa: F401
 | |
|     BaseUserManager,
 | |
|     IntegerIDMixin,
 | |
|     UUIDIDMixin,
 | |
| )
 | |
| 
 | |
| __all__ = [
 | |
|     "models",
 | |
|     "schemas",
 | |
|     "FastAPIUsers",
 | |
|     "BaseUserManager",
 | |
|     "InvalidPasswordException",
 | |
|     "InvalidID",
 | |
|     "UUIDIDMixin",
 | |
|     "IntegerIDMixin",
 | |
| ]
 |