@@ -112,26 +112,22 @@ def ical_uid(self):
112112
113113 @property
114114 def importance (self ):
115- """
116- The importance of the event. The possible values are: low, normal, high.
117- :rtype: str
118- """
115+ # type: () -> Optional[str]
116+ """The importance of the event. The possible values are: low, normal, high."""
119117 return self .properties .get ("importance" , None )
120118
121119 @property
122120 def is_all_day (self ):
121+ # type: () -> Optional[bool]
123122 """
124123 Set to true if the event lasts all day. If true, regardless of whether it's a single-day or multi-day event,
125124 start and end time must be set to midnight and be in the same time zone.
126- :rtype: bool or None
127125 """
128126 return self .properties .get ("isAllDay" , None )
129127
130128 @property
131129 def start (self ):
132- """
133- The date, time, and time zone that the event starts. By default, the start time is in UTC.
134- """
130+ """The date, time, and time zone that the event starts. By default, the start time is in UTC."""
135131 return self .properties .get ("start" , DateTimeTimeZone ())
136132
137133 @start .setter
@@ -145,9 +141,7 @@ def start(self, value):
145141
146142 @property
147143 def end (self ):
148- """
149- The date, time, and time zone that the event starts. By default, the start time is in UTC.
150- """
144+ """The date, time, and time zone that the event starts. By default, the start time is in UTC."""
151145 return self .properties .get ("end" , DateTimeTimeZone ())
152146
153147 @end .setter
@@ -187,40 +181,30 @@ def multi_value_extended_properties(self):
187181
188182 @property
189183 def body (self ):
190- """
191- The body of the message associated with the event. It can be in HTML or text format.
192- """
184+ """The body of the message associated with the event. It can be in HTML or text format."""
193185 return self .properties .get ("body" , ItemBody ())
194186
195187 @body .setter
196188 def body (self , value ):
197- """
198- Sets The body of the message associated with the event. It can be in HTML or text format.
199- """
189+ """Sets The body of the message associated with the event. It can be in HTML or text format."""
200190 self .set_property ("body" , ItemBody (value , "HTML" ))
201191
202192 @property
203193 def body_preview (self ):
204- """
205- The preview of the message associated with the event. It is in text format.
206- :rtype: str or None
207- """
194+ # type: () -> Optional[str]
195+ """The preview of the message associated with the event. It is in text format."""
208196 return self .properties .get ("bodyPreview" , None )
209197
210198 @property
211199 def subject (self ):
212200 # type: () -> Optional[str]
213- """
214- The text of the event's subject line.
215- """
201+ """The text of the event's subject line."""
216202 return self .properties .get ("subject" , None )
217203
218204 @subject .setter
219205 def subject (self , value ):
220- """
221- Sets The text of the event's subject line.
222- :type: str or None
223- """
206+ # type: (str) -> None
207+ """Sets The text of the event's subject line."""
224208 self .set_property ("subject" , value )
225209
226210 @property
0 commit comments