def METHOD_NAME(self):
    self.initialized = True
    # initialize should not overwrite any values that have allready been set
    attrs = self.__dict__
    for v in self.get_values().select_related("attribute"):
        attrs.setdefault(v.attribute.code, v.value)