mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-04 18:22:26 +00:00
mypy check fix
This commit is contained in:
parent
acf65e9d6a
commit
7d39354c37
1 changed files with 3 additions and 4 deletions
|
@ -24,12 +24,11 @@ import posixpath
|
||||||
import socket
|
import socket
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from http import client
|
from http import client
|
||||||
from typing import (Callable, Iterable, Iterator, List, Optional, Sequence,
|
from typing import (Any, Callable, Iterable, Iterator, List, Optional,
|
||||||
Tuple, Union)
|
Sequence, Tuple, Union)
|
||||||
from urllib.parse import unquote, urlparse
|
from urllib.parse import unquote, urlparse
|
||||||
|
|
||||||
import vobject.base
|
import vobject.base
|
||||||
from dateutil import rrule
|
|
||||||
from vobject.base import ContentLine
|
from vobject.base import ContentLine
|
||||||
|
|
||||||
import radicale.item as radicale_item
|
import radicale.item as radicale_item
|
||||||
|
@ -229,7 +228,7 @@ def _expand(
|
||||||
|
|
||||||
def _make_vobject_expanded_item(
|
def _make_vobject_expanded_item(
|
||||||
item: radicale_item.Item
|
item: radicale_item.Item
|
||||||
) -> Tuple[radicale_item.Item, Optional[rrule.rruleset]]:
|
) -> Tuple[radicale_item.Item, Optional[Any]]:
|
||||||
# https://www.rfc-editor.org/rfc/rfc4791#section-9.6.5
|
# https://www.rfc-editor.org/rfc/rfc4791#section-9.6.5
|
||||||
# The returned calendar components MUST NOT use recurrence
|
# The returned calendar components MUST NOT use recurrence
|
||||||
# properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and MUST NOT
|
# properties (i.e., EXDATE, EXRULE, RDATE, and RRULE) and MUST NOT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue