icalendar.parser.xcal.wrapper module#

Convenience methods for parsing.

icalendar.parser.xcal.wrapper.from_xcal_wrapper(func)[source]#

Wrap a property's from_xcal() with convenience functions.

Use it below @classmethod so that type checkers and linters see a class method.

Return type:

Callable[[type[TypeVar(VProp)], XCalParser | ElementAdapter | Element], TypeVar(VProp)]