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
commit c776646c67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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