

def _clone_properties(self):
    'Internal helper to clone self._properties if necessary.'
    cls = cls.__class__
    if (self._properties is cls._properties):
        self._properties = dict(cls._properties)

dataset/ETHPy150Open GoogleCloudPlatform/datastore-ndb-python/ndb/model.py Model._clone_properties/VarMisuse@14/33 `self`->`cls`