🔧 fix(auth.py): update import statements to reflect new file structure in langflow package
🔧 fix(auth.py): fix typo in verify_password function call 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect new file structure in langflow package 🔧 fix(auth.py): update get_current_user function signature to match the annotated type 🔧 fix(auth.py): update get_user function call to reflect
This commit is contained in:
parent
f3174033ed
commit
59a55b4371
11 changed files with 130 additions and 85 deletions
10
src/backend/langflow/database/models/token.py
Normal file
10
src/backend/langflow/database/models/token.py
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class Token(BaseModel):
|
||||
access_token: str
|
||||
token_type: str
|
||||
|
||||
|
||||
class TokenData(BaseModel):
|
||||
username: str | None = None
|
||||
Loading…
Add table
Add a link
Reference in a new issue