def propset_dict(propset):
    if propset is None:
        return {}

    return {prop.name: prop.val for prop in propset}
REST controller for CAP Alerts and Components
dataset/ETHPy150Open openstack/nova/nova/virt/vmwareapi/vm_util.py/propset_dict--crossover with--dataset/ETHPy150Open sahana/eden/controllers/cap.py/alert