<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unset_fields(self, fields):
 """ Removes this list of fields from both the local object and the DB. """


        self.mongokat_collection.update_one({"_id": self["_id"]}, {"$unset": {
            f: 1 for f in fields
        }})

        for f in fields:
            if f in self:
                del self[f]