mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Merge pull request #2411 from ryanchen99/develop
change Root.roles to Dict [Issue #2410]
This commit is contained in:
commit
04c7cbbfc4
1 changed files with 1 additions and 2 deletions
|
|
@ -42,7 +42,6 @@
|
|||
Generic,
|
||||
Iterator,
|
||||
List,
|
||||
Mapping,
|
||||
Optional,
|
||||
Tuple,
|
||||
Type,
|
||||
|
|
@ -708,7 +707,7 @@ def __init__(
|
|||
spec_version: Optional[str] = None,
|
||||
expires: Optional[datetime] = None,
|
||||
keys: Optional[Dict[str, Key]] = None,
|
||||
roles: Optional[Mapping[str, Role]] = None,
|
||||
roles: Optional[Dict[str, Role]] = None,
|
||||
consistent_snapshot: Optional[bool] = True,
|
||||
unrecognized_fields: Optional[Dict[str, Any]] = None,
|
||||
):
|
||||
|
|
|
|||
Loading…
Reference in a new issue