Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More strongly-typed JSON->Metadata loading functions #15

Open
trishankatdatadog opened this issue Dec 1, 2020 · 0 comments
Open

More strongly-typed JSON->Metadata loading functions #15

trishankatdatadog opened this issue Dec 1, 2020 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@trishankatdatadog
Copy link
Owner

At the moment, we need to cast generic Metadata.signed objects into specific subclass types (such as Root), so that mypy (rightfully) does not complain.

Instead, we should write specific functions that will read and load specific signed metadata objects, such as Root, giving stronger static-typing and runtime checks.

@trishankatdatadog trishankatdatadog added the good first issue Good for newcomers label Dec 1, 2020
@trishankatdatadog trishankatdatadog added this to the 1.0.0 milestone Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant