mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
verify_delegate() doc ValueError and TypeError
Add missing documentation for ValueError and TypeError inside Metadata.verify_delegate(). Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
This commit is contained in:
parent
b497180e6c
commit
5f515791df
1 changed files with 3 additions and 1 deletions
|
|
@ -364,7 +364,9 @@ def verify_delegate(
|
|||
|
||||
Raises:
|
||||
UnsignedMetadataError: ``delegated_role`` was not signed with
|
||||
required threshold of keys for ``role_name``
|
||||
required threshold of keys for ``role_name``.
|
||||
ValueError: no delegation was found for ``delegated_role``.
|
||||
TypeError: called this function on non-delegating metadata class.
|
||||
"""
|
||||
|
||||
# Find the keys and role in delegator metadata
|
||||
|
|
|
|||
Loading…
Reference in a new issue