-
Notifications
You must be signed in to change notification settings - Fork 292
Closed
Description
Description of issue or feature request:
I think it will be useful to have a constant module in the new API.
This will help us to minimize the errors when writing hardcoded strings.
For example, the "snapshot.json" string is used often in the Timestamp class in tuf/api/metadata.py.
@joshuagl raised awareness for that in this comment:
#1223 (comment)
Current behavior:
Harcoded strings.
Expected behavior:
Use constant containing the string.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels