Skip to content

Commit df68078

Browse files
authored
fix record (microsoft#113)
* fix record * fix type * add loguru-mypy
1 parent e5015b0 commit df68078

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ coverage.xml
6464

6565
# Django stuff:
6666
*.log
67-
log/
67+
/log/
6868
local_settings.py
6969
db.sqlite3
7070
db.sqlite3-journal

rdagent/log/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from typing import Union, Generator, Dict, Any
1010
from logging import LogRecord
1111

12-
from loguru import logger, Record
12+
from loguru import Record, logger
1313
from psutil import Process
1414

1515
from rdagent.core.conf import RD_AGENT_SETTINGS

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ scipy
77
python-Levenshtein
88
scikit-learn
99
filelock
10+
loguru-mypy
1011

1112
# PDF related
1213
pypdf

0 commit comments

Comments
 (0)