Merge pull request #5 from Aykhan-s/bugfix/Create-User-App-ImportError

Fixed: ModuleNotFoundError: No module named 'app'
This commit is contained in:
Aykhan Shahsuvarov
2023-09-19 02:31:16 +04:00
committed by GitHub

View File

@@ -7,6 +7,9 @@ from pydantic import (
ConfigDict ConfigDict
) )
from sys import path
path.append('.')
from app import crud from app import crud
from app.schemas import UserCreate from app.schemas import UserCreate
from app.views.depends import get_db from app.views.depends import get_db