Codebase list python-castellan / c046ed66-72a0-4215-8074-ec17906e3e71/main releasenotes / notes / add-to-dict-and-from-dict-conversions-to-managed-objects-95a9f0fdbd371a87.yaml
c046ed66-72a0-4215-8074-ec17906e3e71/main

Tree @c046ed66-72a0-4215-8074-ec17906e3e71/main (Download .tar.gz)

add-to-dict-and-from-dict-conversions-to-managed-objects-95a9f0fdbd371a87.yaml @c046ed66-72a0-4215-8074-ec17906e3e71/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.