Remove trailing whitespaces and unsused import.
This commit is contained in:
@@ -27,7 +27,7 @@ import json
|
||||
import xml.etree.ElementTree as ET
|
||||
from hashlib import sha256
|
||||
from typing import (Callable, ContextManager, Iterable, Iterator, Mapping,
|
||||
Optional, Sequence, Set, Tuple, Union, cast, overload)
|
||||
Optional, Sequence, Set, Tuple, Union, overload)
|
||||
|
||||
import vobject
|
||||
|
||||
@@ -283,9 +283,9 @@ class BaseStorage:
|
||||
self.configuration = configuration
|
||||
|
||||
def discover(
|
||||
self, path: str, depth: str = "0",
|
||||
self, path: str, depth: str = "0",
|
||||
child_context_manager: Optional[
|
||||
Callable[[str, Optional[str]], ContextManager[None]]] = None,
|
||||
Callable[[str, Optional[str]], ContextManager[None]]] = None,
|
||||
user_groups: Set[str] = set([])) -> Iterable["types.CollectionOrItem"]:
|
||||
"""Discover a list of collections under the given ``path``.
|
||||
|
||||
|
||||
@@ -36,9 +36,9 @@ def _null_child_context_manager(path: str,
|
||||
class StoragePartDiscover(StorageBase):
|
||||
|
||||
def discover(
|
||||
self, path: str, depth: str = "0",
|
||||
self, path: str, depth: str = "0",
|
||||
child_context_manager: Optional[
|
||||
Callable[[str, Optional[str]], ContextManager[None]]] = None,
|
||||
Callable[[str, Optional[str]], ContextManager[None]]] = None,
|
||||
user_groups: Set[str] = set([])
|
||||
) -> Iterator[types.CollectionOrItem]:
|
||||
# assert isinstance(self, multifilesystem.Storage)
|
||||
|
||||
Reference in New Issue
Block a user