vsoch / oci-python

Python implementation of Open Containers Initiative (OCI) specifications
https://vsoch.github.io/oci-python/
Mozilla Public License 2.0
23 stars 12 forks source link

Struct should have a load function #1

Closed vsoch closed 4 years ago

vsoch commented 4 years ago

A likely use case is to want to load a dict (or serialized json object) into it's respective object, so the base Struct class should have a function to allow this. It should also automatically validate (unless the user requests that it not be).