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
...
File "C:\Users\Elliot\dev\Olen-Spond\ical.py", line 34, in main
event["location"]["feature"], event["location"]["address"]
KeyError: 'address'
...
Presume a Spond event doesn't have any address.
Realise this script is only intended as an example implementation.
(Issues like this could be spotted more easily during dev by assuming most (all)? attributes are optional, adding type hints to Spond codebase accordingly, then using mypy or similar,...)
The text was updated successfully, but these errors were encountered:
Presume a Spond event doesn't have any
address
.Realise this script is only intended as an example implementation.
(Issues like this could be spotted more easily during dev by assuming most (all)? attributes are optional, adding type hints to Spond codebase accordingly, then using
mypy
or similar,...)The text was updated successfully, but these errors were encountered: