Closed MartinBernstorff closed 2 weeks ago
I'll gladly submit a PR if we agree on returning the empty string 👍
Hi @MartinBernstorff, thanks for the submission of the issues!
In both cases (here and #189) it is a Google's API behavior unrelated to gcsa (just checked, gcsa passes empty string and microseconds to the API).
The warning log would be great (for both cases). But I wouldn't replace the None
in summary for an empty string as it would lead to inconsistencies in case the user passes None
as a summary
(even though it's against the type annotation of the Event
).
PRs are welcome!
Excellent! I've submitted a PR, let me know what you think 👍
If I create an event with the empty string as a summary, and then download the newly created event, the new event has a summary of
None
. This breaks identity, making syncing harder.Perhaps warn, or return a summary of "" if no summary is set on Google calendar?