Add automatic comment handling in .env files

This commit is contained in:
yangdx
2025-02-22 13:25:12 +08:00
parent f9780830ad
commit e935fed50e
3 changed files with 13 additions and 1 deletions

View File

@@ -48,6 +48,10 @@ from .utils import (
set_logger,
)
from .types import KnowledgeGraph
from dotenv import load_dotenv
# Load environment variables
load_dotenv(override=True)
# TODO: TO REMOVE @Yannick
config = configparser.ConfigParser()