Skip to content

Commit

Permalink
Merge pull request #1668 from MVrachev/validate-rest-of-metadata-api
Browse files Browse the repository at this point in the history
Metadata API: make Root roles a Mapping
  • Loading branch information
Jussi Kukkonen authored Nov 22, 2021
2 parents 1b5df4c + 29da5da commit 747ec19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tuf/api/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ def __init__(
spec_version: str,
expires: datetime,
keys: Dict[str, Key],
roles: Dict[str, Role],
roles: Mapping[str, Role],
consistent_snapshot: Optional[bool] = None,
unrecognized_fields: Optional[Mapping[str, Any]] = None,
):
Expand Down

0 comments on commit 747ec19

Please sign in to comment.