fix: remove unused import and update requirements for pydantic-settings
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ import httpx
|
|||||||
from fastapi import HTTPException, Security
|
from fastapi import HTTPException, Security
|
||||||
from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
|
from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer
|
||||||
from jose import JWTError, jwk, jwt
|
from jose import JWTError, jwk, jwt
|
||||||
from pydantic import BaseModel, BaseSettings, Field, HttpUrl
|
from pydantic import BaseModel, Field, HttpUrl
|
||||||
|
from pydantic_settings import BaseSettings
|
||||||
|
|
||||||
security = HTTPBearer(auto_error=False)
|
security = HTTPBearer(auto_error=False)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
fastapi==0.109.0
|
fastapi==0.109.0
|
||||||
uvicorn[standard]==0.23.2
|
uvicorn[standard]==0.23.2
|
||||||
# Allow any 0.28.x httpx compatible with Python 3.12; exact 0.28.4 may not be available
|
|
||||||
httpx==0.28.1
|
httpx==0.28.1
|
||||||
python-jose[cryptography]==3.3.0
|
python-jose[cryptography]==3.3.0
|
||||||
pydantic==2.8.0
|
pydantic==2.8.0
|
||||||
|
pydantic-settings==2.4.0
|
||||||
|
|||||||
Reference in New Issue
Block a user