feat: add project path to python path

This commit is contained in:
junjun
2025-04-25 20:47:26 +08:00
parent 8d58ec6614
commit ddbe612fb6
+6
View File
@@ -1,3 +1,9 @@
# alembic/env.py
import sys
from os.path import abspath, dirname
sys.path.insert(0, dirname(dirname(abspath(__file__))))
import os
from logging.config import fileConfig