def serialize(self):
        return dict((f, getattr(self, f)) for f in self.serializable_fields)
Turn this object into a dict.
dataset/ETHPy150Open openstack/ironic-python-agent/ironic_python_agent/encoding.py/Serializable.serialize