🔄 chore(router.py): add users_router and api_key_router to the APIRouter to include the new routes for users and api keys
🔄 chore(__init__.py): add users_router and api_key_router to the __all__ list to include the new routes for users and api keys 🆕 feat(api_key.py): add new routes for retrieving, creating, and deleting API keys 🆕 feat(login.py): add new routes for user login, auto login, and token refresh 🆕 feat(schemas.py): add new schemas for API key response and users response 🆕 feat(users.py): add new routes for adding, reading, updating, and deleting users 🗑️ chore(health.py): remove health router as it is no longer needed 🔄 chore(utils.py): update import statements for User model and update_user_last_login_at function
This commit is contained in:
parent
1a51cc0848
commit
d9cbf17b1a
8 changed files with 27 additions and 21 deletions
|
|
@ -4,8 +4,8 @@ from jose import JWTError, jwt
|
|||
from typing import Annotated
|
||||
from uuid import UUID
|
||||
from langflow.services.auth.service import AuthManager
|
||||
from langflow.services.database.models.user import (
|
||||
User,
|
||||
from langflow.services.database.models.user.user import User
|
||||
from langflow.services.database.models.user.utils import (
|
||||
get_user_by_id,
|
||||
get_user_by_username,
|
||||
update_user_last_login_at,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue