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
An update of the timetree SDK breaks the current code base as it does not support the location_lat and location_lon attributes. Add these two attribute to the method EventAttributes in responses.py to make the SDK compatible again.
The text was updated successfully, but these errors were encountered:
I am getting this error even when not specifying anything related to location_lat or location_lon. When I execute: events = api.get_upcoming_events(CALENDAR_KEY, timezone='UTC', days=7)
I get the error: TypeError: __init__() got an unexpected keyword argument 'location_lat'
There seems to be a bug in the code that breaks this get_upcoming_events function, or there is another error that is being mislabeled. Strangely enough, in this case setting timezone to be 'Asia/Tokyo' removed the error (I just got an empty list, probably no events in the next 7 days), but in other cases I'm still getting the same error even with timezone set to be Asia/Tokyo. Not sure what's going on here. This was the only post I found related to this error.
An update of the timetree SDK breaks the current code base as it does not support the location_lat and location_lon attributes. Add these two attribute to the method
EventAttributes
inresponses.py
to make the SDK compatible again.The text was updated successfully, but these errors were encountered: