Problem: docstring for run_upsert_validator_new didn't cover the raised exception

Solution: Added a :raises: entry
This commit is contained in:
z-bowen 2018-08-08 15:19:15 +02:00
parent 6263c6779e
commit 88f5563e2a

View File

@ -115,6 +115,7 @@ def run_upsert_validator_new(args, bigchain):
}
:param bigchain: an instance of BigchainDB
:return: election_id (tx_id)
:raises: OperationError if the write transaction fails for any reason
"""
new_validator = {