88"""
99from __future__ import annotations
1010
11- from enum import Enum
1211import functools
1312from typing import TYPE_CHECKING , Callable , Optional , TypeVar , Union
1413
1514from icalendar import enums
1615
1716if TYPE_CHECKING :
17+ from enum import Enum
18+
1819 from icalendar .parser import Parameters
1920
2021
@@ -67,7 +68,6 @@ def fdel(self: IcalendarProperty):
6768 """ALTREP - Specify an alternate text representation for the property value.
6869
6970Description:
70-
7171 This parameter specifies a URI that points to an
7272 alternate representation for a textual property value. A property
7373 specifying this parameter MUST also include a value that reflects
@@ -87,7 +87,6 @@ def fdel(self: IcalendarProperty):
8787 """Specify the common name to be associated with the calendar user specified.
8888
8989Description:
90-
9190 This parameter can be specified on properties with a
9291 CAL-ADDRESS value type. The parameter specifies the common name
9392 to be associated with the calendar user specified by the property.
@@ -117,7 +116,6 @@ def convert(value: str) -> str:
117116 """Identify the type of calendar user specified by the property.
118117
119118Description:
120-
121119 This parameter can be specified on properties with a
122120 CAL-ADDRESS value type. The parameter identifies the type of
123121 calendar user specified by the property. If not specified on a
@@ -155,7 +153,6 @@ def fdel(self: IcalendarProperty):
155153 """Specify the calendar users that have delegated their participation to the calendar user specified by the property.
156154
157155Description:
158-
159156 This parameter can be specified on properties with a
160157 CAL-ADDRESS value type. This parameter specifies those calendar
161158 users that have delegated their participation in a group-scheduled
@@ -169,7 +166,6 @@ def fdel(self: IcalendarProperty):
169166 """Specify the calendar users to whom the calendar user specified by the property has delegated participation.
170167
171168Description:
172-
173169 This parameter can be specified on properties with a
174170 CAL-ADDRESS value type. This parameter specifies those calendar
175171 users whom have been delegated participation in a group-scheduled
@@ -183,7 +179,6 @@ def fdel(self: IcalendarProperty):
183179 """Specify reference to a directory entry associated with the calendar user specified by the property.
184180
185181Description:
186-
187182 This parameter can be specified on properties with a
188183 CAL-ADDRESS value type. The parameter specifies a reference to
189184 the directory entry associated with the calendar user specified by
@@ -208,7 +203,6 @@ def _default_return_busy() -> enums.FBTYPE|str:
208203 """Specify the free or busy time type.
209204
210205Description:
211-
212206 This parameter specifies the free or busy time type.
213207 The value FREE indicates that the time interval is free for
214208 scheduling. The value BUSY indicates that the time interval is
@@ -228,7 +222,6 @@ def _default_return_busy() -> enums.FBTYPE|str:
228222 """Specify the language for text values in a property or property parameter.
229223
230224Description:
231-
232225 This parameter identifies the language of the text in
233226 the property value and of all property parameter values of the
234227 property. The value of the "LANGUAGE" property parameter is that
@@ -244,7 +237,6 @@ def _default_return_busy() -> enums.FBTYPE|str:
244237 """Specify the group or list membership of the calendar user specified by the property.
245238
246239Description:
247-
248240 This parameter can be specified on properties with a
249241 CAL-ADDRESS value type. The parameter identifies the groups or
250242 list membership for the calendar user specified by the property.
@@ -264,7 +256,6 @@ def _default_return_needs_action() -> enums.PARTSTAT|str:
264256 """Specify the participation status for the calendar user specified by the property.
265257
266258Description:
267-
268259 This parameter can be specified on properties with a
269260 CAL-ADDRESS value type. The parameter identifies the
270261 participation status for the calendar user specified by the
@@ -285,7 +276,6 @@ def _default_range_none() -> Optional[enums.RANGE|str]:
285276 """Specify the effective range of recurrence instances from the instance specified by the recurrence identifier specified by the property.
286277
287278Description:
288-
289279 This parameter can be specified on a property that
290280 specifies a recurrence identifier. The parameter specifies the
291281 effective range of recurrence instances that is specified by the
@@ -307,7 +297,6 @@ def _default_related() -> enums.RELATED|str:
307297 """Specify the relationship of the alarm trigger with respect to the start or end of the calendar component.
308298
309299Description:
310-
311300 This parameter can be specified on properties that
312301 specify an alarm trigger with a "DURATION" value type. The
313302 parameter specifies whether the alarm will trigger relative to the
@@ -328,7 +317,6 @@ def _default_req_participant() -> enums.ROLE|str:
328317 """Specify the participation role for the calendar user specified by the property.
329318
330319Description:
331-
332320 This parameter can be specified on properties with a
333321 CAL-ADDRESS value type. The parameter specifies the participation
334322 role for the calendar user specified by the property in the group
@@ -358,7 +346,6 @@ def _default() -> bool:
358346 """Specify whether there is an expectation of a favor of anreply from the calendar user specified by the property value.
359347
360348Description:
361-
362349 This parameter can be specified on properties with a
363350 CAL-ADDRESS value type. The parameter identifies the expectation
364351 of a reply from the calendar user specified by the property value.
@@ -373,12 +360,13 @@ def _default() -> bool:
373360 "SENT-BY" ,
374361 """Specify the calendar user that is acting on behalf of the calendar user specified by the property.
375362
376- This parameter can be specified on properties with a
377- CAL-ADDRESS value type. The parameter specifies the calendar user
378- that is acting on behalf of the calendar user specified by the
379- property. The parameter value MUST be a mailto URI as defined in
380- :rfc:`2368`. The individual calendar address parameter values MUST
381- each be specified in a quoted-string.
363+ Description:
364+ This parameter can be specified on properties with a
365+ CAL-ADDRESS value type. The parameter specifies the calendar user
366+ that is acting on behalf of the calendar user specified by the
367+ property. The parameter value MUST be a mailto URI as defined in
368+ :rfc:`2368`. The individual calendar address parameter values MUST
369+ each be specified in a quoted-string.
382370"""
383371)
384372
@@ -387,7 +375,6 @@ def _default() -> bool:
387375 """Specify the identifier for the time zone definition for a time component in the property value.
388376
389377Description:
390-
391378 This parameter MUST be specified on the "DTSTART",
392379 "DTEND", "DUE", "EXDATE", and "RDATE" properties when either a
393380 DATE-TIME or TIME value type is specified and when the value is
@@ -431,7 +418,6 @@ def _default_return_parent() -> enums.RELTYPE:
431418 """Specify the type of hierarchical relationship associated with the calendar component specified by the property.
432419
433420Description:
434-
435421 This parameter can be specified on a property that
436422 references another related calendar. The parameter specifies the
437423 hierarchical relationship type of the calendar component
0 commit comments