Commit
·
77a165e
1
Parent(s):
2d5fa12
Fix flash-attn build by installing packaging early
Browse files- api/auth.py +1 -1
- requirements.txt +1 -2
api/auth.py
CHANGED
|
@@ -6,7 +6,7 @@ from httpx_oauth.clients.google import GoogleOAuth2
|
|
| 6 |
from httpx_oauth.clients.github import GitHubOAuth2
|
| 7 |
from api.database import SessionLocal
|
| 8 |
from api.models import User
|
| 9 |
-
from fastapi_users_db_sqlalchemy import OAuthAccount
|
| 10 |
import os
|
| 11 |
|
| 12 |
# إعداد Cookie Transport
|
|
|
|
| 6 |
from httpx_oauth.clients.github import GitHubOAuth2
|
| 7 |
from api.database import SessionLocal
|
| 8 |
from api.models import User
|
| 9 |
+
from fastapi_users_db_sqlalchemy.generics import OAuthAccount
|
| 10 |
import os
|
| 11 |
|
| 12 |
# إعداد Cookie Transport
|
requirements.txt
CHANGED
|
@@ -25,8 +25,7 @@ Pillow==10.4.0
|
|
| 25 |
urllib3==2.0.7
|
| 26 |
itsdangerous
|
| 27 |
protobuf==3.19.6
|
| 28 |
-
fastapi-users[sqlalchemy
|
| 29 |
-
|
| 30 |
sqlalchemy>=2.0.0
|
| 31 |
python-jose[cryptography]>=3.3.0
|
| 32 |
passlib[bcrypt]>=1.7.4
|
|
|
|
| 25 |
urllib3==2.0.7
|
| 26 |
itsdangerous
|
| 27 |
protobuf==3.19.6
|
| 28 |
+
fastapi-users[sqlalchemy]>=13.0.0
|
|
|
|
| 29 |
sqlalchemy>=2.0.0
|
| 30 |
python-jose[cryptography]>=3.3.0
|
| 31 |
passlib[bcrypt]>=1.7.4
|