Load dotenv in cli.py before model import
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
All checks were successful
ci/woodpecker/push/docker Pipeline was successful
This commit is contained in:
parent
44e6f85da1
commit
e5c5e94989
1 changed files with 1 additions and 2 deletions
|
@ -10,10 +10,9 @@ from sqlalchemy import select
|
|||
from sqlalchemy.orm import Session
|
||||
from argon2 import PasswordHasher
|
||||
|
||||
from app.models import *
|
||||
|
||||
load_dotenv()
|
||||
|
||||
from app.models import *
|
||||
from app.database import SessionLocal
|
||||
|
||||
def __get_user_by_email(db: Session, email: str):
|
||||
|
|
Loading…
Add table
Reference in a new issue