Skip to content

Commit 8821466

Browse files
author
Yuriy Peshkichev
committed
dotenv
1 parent 274f898 commit 8821466

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/check_metrics.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# tracemalloc.start()
33
import os
44
import json
5+
from dotenv import load_dotenv
56
from pathlib import Path
67
from typing import Optional
78
from datetime import datetime
@@ -23,6 +24,7 @@
2324

2425
# disable_progress_bar()
2526

27+
load_dotenv()
2628
engine = create_engine(os.getenv("SQLALCHEMY_DATABASE_URI"))
2729
set_llm_cache(SQLAlchemyMd5Cache(engine=engine))
2830

0 commit comments

Comments
 (0)