

@staticmethod
def serialize_entity(context, entity):
    return jsonutils.to_primitive(entity, convert_instances=True)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/rpc.py JsonPayloadSerializer.serialize_entity/original