connectordb/_connectordb.py
def reset_apikey(self):
        """invalidates the device's current api key, and generates a new one. Resets current auth to use the new apikey,
        since the change would have future queries fail if they use the old api key."""
        apikey = Device.reset_apikey(self)
        self.db.setauth(apikey)
        return apikey
def reset_apikey(self):
        """invalidates the device's current api key, and generates a new one. Resets current auth to use the new apikey,
        since the change would have future queries fail if they use the old api key."""
        apikey = Device.reset_apikey(self)
        self.db.setauth(apikey)
        return apikey
invalidates the device's current api key, and generates a new one. Resets current auth to use the new apikey,
        since the change would have future queries fail if they use the old api key.