mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: docstring for run_upsert_validator_new didn't cover the raised exception
Solution: Added a :raises: entry
This commit is contained in:
parent
6263c6779e
commit
88f5563e2a
@ -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 = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user