Skip to content

Commit

Permalink
Use patched logger everywhere (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii authored May 13, 2024
1 parent c9a7db5 commit 3bd4292
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from datetime import timedelta

from loguru import logger
from prediction_market_agent_tooling.config import PrivateCredentials
from prediction_market_agent_tooling.deploy.agent import DeployableAgent
from prediction_market_agent_tooling.loggers import logger
from prediction_market_agent_tooling.markets.data_models import Bet
from prediction_market_agent_tooling.markets.markets import MarketType
from prediction_market_agent_tooling.tools.utils import utcnow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from farcaster import Warpcast
from loguru import logger
from prediction_market_agent_tooling.loggers import logger

from prediction_market_agent.agents.autogen_general_agent.social_media.abstract_handler import (
AbstractSocialMediaHandler,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import tweepy
from loguru import logger
from prediction_market_agent_tooling.loggers import logger
from tweepy import Client

from prediction_market_agent.agents.autogen_general_agent.social_media.abstract_handler import (
Expand Down
2 changes: 1 addition & 1 deletion prediction_market_agent/db/db_storage.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
from typing import Any, Dict, Sequence

from loguru import logger
from prediction_market_agent_tooling.loggers import logger
from prediction_market_agent_tooling.tools.utils import check_not_none, utcnow
from sqlmodel import Session, SQLModel, create_engine, desc, select

Expand Down
2 changes: 1 addition & 1 deletion prediction_market_agent/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import json
import typing as t

from loguru import logger
from prediction_market_agent_tooling.config import APIKeys as APIKeysBase
from prediction_market_agent_tooling.loggers import logger
from prediction_market_agent_tooling.tools.utils import (
check_not_none,
should_not_happen,
Expand Down

0 comments on commit 3bd4292

Please sign in to comment.