def _store_key(self, obj, interval, idstring=""):
        if hasattr(obj, "db_key"):
            # create a store_key using the database representation
            objkey = pack_dbobj(obj)
            isdb = True
        else:
            # non-db object, look for a property "key" on it, otherwise
            # use its memory location.
            try:
                objkey = _GA(obj, "key")
            except AttributeError:
                objkey = id(obj)
            isdb = False
        # return sidb and store_key
        return isdb, (objkey, interval, idstring)
reset networking for specified instance.
dataset/ETHPy150Open evennia/evennia/evennia/scripts/tickerhandler.py/TickerHandler._store_key--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.reset_network