platypush/plugins/variable/__init__.py
def unset(self, name):
        """
        Unset a variable by name if it's set on the local db.

        :param name: Name of the variable to remove
        :type name: str
        """

        records = [{'name': name}]

        self.db_plugin.delete(table=self._variable_table_name,
                              records=records, engine=self.db_config['engine'],
                              *self.db_config['args'],
                              **self.db_config['kwargs'])

        return True

        Unset a variable by name if it's set on the local db.

        :param name: Name of the variable to remove
        :type name: str
        
Unset a variable by name if it's set on the local db.
Unset a variable by name if it ' s set on the local db .
def unset(self, name):
        records = [{'name': name}]
        self.db_plugin.delete(table=self._variable_table_name,
                              records=records, engine=self.db_config['engine'],
                              *self.db_config['args'],
                              **self.db_config['kwargs'])
        return True
def unset ( self , name ) : records = [ { 'name' : name } ] self . db_plugin . delete ( table = self . _variable_table_name , records = records , engine = self . db_config [ 'engine' ] , * self . db_config [ 'args' ] , ** self . db_config [ 'kwargs' ] ) return True
Unset a variable by name if it's set on the local db.
Unset a variable by name if it ' s set on the local db .
"""
        Unset a variable by name if it's set on the local db.

        :param name: Name of the variable to remove
        :type name: str
        """
self
name
Name of the variable to remove
Name of the variable to remove