Skip to content

Commit

Permalink
fix record (#113)
Browse files Browse the repository at this point in the history
* fix record

* fix type

* add loguru-mypy
  • Loading branch information
you-n-g authored Jul 25, 2024
1 parent e5015b0 commit df68078
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ coverage.xml

# Django stuff:
*.log
log/
/log/
local_settings.py
db.sqlite3
db.sqlite3-journal
Expand Down
2 changes: 1 addition & 1 deletion rdagent/log/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from typing import Union, Generator, Dict, Any
from logging import LogRecord

from loguru import logger, Record
from loguru import Record, logger
from psutil import Process

from rdagent.core.conf import RD_AGENT_SETTINGS
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ scipy
python-Levenshtein
scikit-learn
filelock
loguru-mypy

# PDF related
pypdf
Expand Down

0 comments on commit df68078

Please sign in to comment.