Fix copy/paste mistakes in calendar update docs (#1596)

This commit is contained in:
Allen Porter 2022-12-29 07:19:33 -08:00 committed by GitHub
parent 7a4f541851
commit 08f2a6f65a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,9 +95,9 @@ class MyCalendar(CalendarEntity):
### Update Events ### Update Events
A calendar entity may support deleting events by specifying the `UPDATE_EVENT` supported feature. Integrations that support mutation must support rfc5545 recurring events. A calendar entity may support updating events by specifying the `UPDATE_EVENT` supported feature. Integrations that support mutation must support rfc5545 recurring events.
There are three ways that recurring events may be deleted: There are three ways that recurring events may be updated:
- Specifying only the `uid` will update the entire series - Specifying only the `uid` will update the entire series
- Specifying the `uid` and `recurrence_id` will update the specific event instance in the series - Specifying the `uid` and `recurrence_id` will update the specific event instance in the series
- Specifying `uid`, `recurrence_id`, and a `recurrence_range` value may update a range of events starting at `recurrence_id`. Currently rfc5545 allows the [range](https://www.rfc-editor.org/rfc/rfc5545#section-3.2.13) value of `THISANDFUTURE`. - Specifying `uid`, `recurrence_id`, and a `recurrence_range` value may update a range of events starting at `recurrence_id`. Currently rfc5545 allows the [range](https://www.rfc-editor.org/rfc/rfc5545#section-3.2.13) value of `THISANDFUTURE`.
@ -112,7 +112,7 @@ class MyCalendar(CalendarEntity):
recurrence_id: str | None = None, recurrence_id: str | None = None,
recurrence_range: str | None = None, recurrence_range: str | None = None,
) -> None: ) -> None:
"""Delete an event on the calendar.""" """Update an event on the calendar."""
``` ```