summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-12-18 12:10:45 -0200
committerdrebs <drebs@leap.se>2017-12-18 12:10:45 -0200
commit07fcc2f12cac9a57cb78334aabe202e6be854589 (patch)
tree85f868f2772df26a0d87a708a531845fe3a90962
parent481afd8f268f567072b1f480870bbda5e1b46018 (diff)
[doc] add write_blob exceptions to interface docstring
-rw-r--r--src/leap/soledad/server/interfaces.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/leap/soledad/server/interfaces.py b/src/leap/soledad/server/interfaces.py
index 624c8ff6..46ab4a11 100644
--- a/src/leap/soledad/server/interfaces.py
+++ b/src/leap/soledad/server/interfaces.py
@@ -59,6 +59,10 @@ class IBlobsBackend(Interface):
:return: A deferred that fires when the blob has been written to the
backend storage.
:rtype: twisted.internet.defer.Deferred
+
+ :raise BlobExists: Raised when a blob with that id already exists.
+ :raise QuotaExceeded: Raised when the quota for that user would be
+ exceeded by this write operation.
"""
def delete_blob(user, blob_id, namespace=''):