You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Here is the stacktrace that is printed when trying to call team_matches:
File "<stdin>", line 1, in <module>
File "C:\Python36\lib\site-packages\tbapy\main.py", line 139, in team_matches
return [Match(raw) for raw in self.__get('team/%s/event/%s/matches%s' % (self.team_key(team), event, '/simple' if simple else''))]
File "C:\Python36\lib\site-packages\tbapy\main.py", line 139, in <listcomp>
return [Match(raw) for raw in self.__get('team/%s/event/%s/matches%s' % (self.team_key(team), event, '/simple' if simple else''))]
File "C:\Python36\lib\site-packages\tbapy\models.py", line 3, in __init__
self.update(json)
ValueError: dictionary update sequence element #0 has length 1; 2 is required
I am running this on a Windows 10 laptop, too.
The text was updated successfully, but these errors were encountered:
I was inputting the year as in "2018" into the method instead of the event
key. I was confused by the readme page because I read it as "event or year."
Here is the stacktrace that is printed when trying to call team_matches:
I am running this on a Windows 10 laptop, too.
The text was updated successfully, but these errors were encountered: