@classmethod
def get_by_uuid(cls, context, uuid):
    """Find a DB Device_profile and return an Obj Device_profile."""
    db_devprof = cls.dbapi.device_profile_get_by_uuid(context, uuid)
    obj_devprof = cls._from_db_object(cls(context), db_devprof)
    return obj_devprof
