def delete(classObj, instance):
        for instanceID, _instance in classObj._instanceMap.items():
            if isinstance(_instance, weakref.ref):
                _instance = _instance()
            if _instance is instance:
                #break the circular reference if it exists
                namespace['entities'].get(
                    _instance.__class__.__name__,
                    {}
                ).pop(instanceID, None)
                classObj._instanceMap.pop(instanceID, None)
                return
Deletes the stored reference to an instance of the class.
dataset/ETHPy150Open OrbitzWorldwide/droned/romeo/lib/romeo/entity.py/ParameterizedSingleton.delete