Skip to content
This repository was archived by the owner on May 11, 2026. It is now read-only.

Commit b18afc7

Browse files
committed
Fix incorrect method name in get_events
The get_events method was calling parse_event which does not exist. Changed to parse_pydantic_event to match the actual method name in the class.
1 parent 081f2b5 commit b18afc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

agents/polymarket/gamma.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def get_events(
112112
else:
113113
events: list[PolymarketEvent] = []
114114
for market_event_obj in data:
115-
events.append(self.parse_event(market_event_obj))
115+
events.append(self.parse_pydantic_event(market_event_obj))
116116
return events
117117
else:
118118
raise Exception()

0 commit comments

Comments
 (0)