Closed Ambrose997 closed 1 year ago
Hi, I can't seem to figure out what the problem is here:
TypeError Traceback (most recent call last) in <cell line: 2>() 1 events = [] 2 for data in odds_response: ----> 3 events.append(Event(data)) 4 print(data) 5 print()
in init(self, data) 7 def init(self, data): 8 self.data = data ----> 9 self.sport_key = data['sport_key'] 10 self.id = data['id'] 11
Not sure why this is causing issues. Anyone able to help?
Hi, I can't seem to figure out what the problem is here:
TypeError Traceback (most recent call last) in <cell line: 2>()
1 events = []
2 for data in odds_response:
----> 3 events.append(Event(data))
4 print(data)
5 print()