Skip to content

Commit

Permalink
improve docs, remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ11teen committed Aug 29, 2022
1 parent 22602a4 commit 3060a07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/cloudmappings/cloudstoragemapping.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from functools import partial
from typing import Any, Callable, Dict, List, MutableMapping, Type
from typing import Any, Callable, Dict, List, MutableMapping

from .storageproviders.storageprovider import StorageProvider

Expand Down Expand Up @@ -81,9 +81,12 @@ def __init__(
read_blindly : bool, default=False
Whether to read blindly or not by default. See `read_blindly` attribute for more
information
read_blindly_error : bool, default=False
Whether to raise `KeyError`s when read_blindly is enabled and the key does not have a value
in the cloud
read_blindly_default : Any, default=None
The value to return when read_blindly is enabled and the key does not have
a value in the cloud
The value to return when read_blindly is enabled, the key does not have a value in the
cloud, and read_blindly_error is `False`
ordered_dumps_funcs : List[Callable], default=None
An ordered list of functions to pass values through before saving bytes to the cloud.
The last function must return a bytes-like object.
Expand Down

0 comments on commit 3060a07

Please sign in to comment.