Adapt imports.
This commit is contained in:
@@ -24,11 +24,10 @@ Take a look at the class ``BaseCollection`` if you want to implement your own.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import json
|
import json
|
||||||
from typing import Callable, ContextManager, Iterator, Optional, Set, cast
|
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
from hashlib import sha256
|
from hashlib import sha256
|
||||||
from typing import (Iterable, Iterator, Mapping, Optional, Sequence, Set,
|
from typing import (Callable, ContextManager, Iterable, Iterator, Mapping,
|
||||||
Tuple, Union, overload)
|
Optional, Sequence, Set, Tuple, Union, cast, overload)
|
||||||
|
|
||||||
import vobject
|
import vobject
|
||||||
|
|
||||||
|
|||||||
@@ -16,9 +16,9 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
|
# along with Radicale. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
import base64
|
||||||
import os
|
import os
|
||||||
import posixpath
|
import posixpath
|
||||||
import base64
|
|
||||||
from typing import Callable, ContextManager, Iterator, Optional, Set, cast
|
from typing import Callable, ContextManager, Iterator, Optional, Set, cast
|
||||||
|
|
||||||
from radicale import pathutils, types
|
from radicale import pathutils, types
|
||||||
|
|||||||
Reference in New Issue
Block a user