Codebase list python-castellan / 751ab3c5-bc5d-4339-a3f2-2795a2b41657/main releasenotes / notes / add-to-dict-and-from-dict-conversions-to-managed-objects-95a9f0fdbd371a87.yaml
751ab3c5-bc5d-4339-a3f2-2795a2b41657/main

Tree @751ab3c5-bc5d-4339-a3f2-2795a2b41657/main (Download .tar.gz)

add-to-dict-and-from-dict-conversions-to-managed-objects-95a9f0fdbd371a87.yaml @751ab3c5-bc5d-4339-a3f2-2795a2b41657/mainraw · history · blame

---
features:
  - |
    Historically, the vault key manager backend converts its managed objects
    to dictionaries in order to send them as a json object.  To promote
    cross-backend compatibility, suck feature should be migrated to managed
    objects.  Methods from_dict() and to_dict() added to class ManagedObject.
    The Method from_dict() is a class method to create instances based on a
    dictionary while the method to_dict() is an instance method to translate
    an instance to a dictionary.