icalendar.attr.property_list module#
A list-like view for RFC 5545 Section 3.8 component property values.
- class icalendar.attr.property_list.PropertyListView(component, name)[source]#
Bases:
MutableSequenceA list-like view of an RFC 5545 Section 3.8 property within a component.
This view synchronizes modifications, such as
append,extend,insert,clear, anddelete, with the underlying component dictionary.Initialize the property list view for a given component and property name.
- Parameters:
- replace_with(values)[source]#
Replace all values in the property with
values.The values are added with
Component.add, so they are converted to the correct types.