Skip to content

Commit

Permalink
fix gname
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Feb 15, 2024
1 parent 72248a1 commit 21a2d11
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions prediction_market_agent_tooling/deploy/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,8 @@ def run(self, market_type: MarketType, _place_bet: bool = True) -> None:
omen_auto_deposit=True,
)

@classmethod
def get_gcloud_fname(cls, market_type: MarketType) -> str:
return f"{cls.__class__.__name__.lower()}-{market_type}-{int(time.time())}"
def get_gcloud_fname(self, market_type: MarketType) -> str:
return f"{self.__class__.__name__.lower()}-{market_type}-{int(time.time())}"


def get_tiny_bet(market_type: MarketType) -> BetAmount:
Expand Down

0 comments on commit 21a2d11

Please sign in to comment.