Fixed: ModuleNotFoundError: No module named 'app'

This commit is contained in:
Aykhan 2023-09-19 02:28:49 +04:00
parent f5da2cb51d
commit 7f69b8ec92

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