diff --git a/caldav/davclient.py b/caldav/davclient.py index bb885f19..eeea9bd6 100644 --- a/caldav/davclient.py +++ b/caldav/davclient.py @@ -6,39 +6,29 @@ from types import TracebackType from typing import Optional from typing import Union -from urllib.parse import ParseResult -from urllib.parse import SplitResult from urllib.parse import unquote import requests import typing_extensions -from caldav.elements import cdav from caldav.elements import dav -from caldav.elements import ical from caldav.lib import error from caldav.lib.python_utilities import to_normal_str -from caldav.lib.python_utilities import to_unicode from caldav.lib.python_utilities import to_wire from caldav.lib.url import URL from caldav.objects import Calendar -from caldav.objects import errmsg from caldav.objects import log from caldav.objects import Principal -from caldav.objects import ScheduleInbox -from caldav.objects import ScheduleOutbox from caldav.requests import HTTPBearerAuth from lxml import etree from lxml.etree import _Element from requests.auth import AuthBase from requests.models import Response from requests.structures import CaseInsensitiveDict -from typing_extensions import Self -from typing_extensions import TypeAlias from .elements.base import BaseElement if typing.TYPE_CHECKING: - from caldav.objects import DAVObject + pass if sys.version_info < (3, 9): from typing import Iterable, Mapping