graphit/graph_storage_drivers/graph_dictstorage_driver.py
def remove(self, key):
        """
        Remove key, value pairs from the dictionary
        
        If the DictStorage instance represent a selective view of the main
        dictionary, only allow item deletion for keys in the respective view.
        
        ..  note:: Do not use this method directly to remove nodes or edges
                   from the graph as it may leave the graph in a funny state.
                   Use the graph remove_node or remove_edge methods instead.
        
        :param key: dictionary key to remove
        """

        if key not in self.keys():
            raise KeyError('"{0}" not in storage or not part of selective view'.format(key))

        if self.is_view:
            self._view.remove(key)
        
        del self._storage[key]

        Remove key, value pairs from the dictionary
        
        If the DictStorage instance represent a selective view of the main
        dictionary, only allow item deletion for keys in the respective view.
        
        ..  note:: Do not use this method directly to remove nodes or edges
                   from the graph as it may leave the graph in a funny state.
                   Use the graph remove_node or remove_edge methods instead.
        
        :param key: dictionary key to remove
        
Remove key, value pairs from the dictionary
If the DictStorage instance represent a selective view of the main
dictionary, only allow item deletion for keys in the respective view.

: Do not use this method directly to remove nodes or edges
from the graph as it may leave the graph in a funny state.
Use the graph remove_node or remove_edge methods instead.
Remove key value pairs from the dictionary If the DictStorage instance represent a selective view of the main dictionary only allow item deletion for keys in the respective view . : Do not use this method directly to remove nodes or edges from the graph as it may leave the graph in a funny state . Use the graph remove_node or remove_edge methods instead .
def remove(self, key):
        if key not in self.keys():
            raise KeyError('"{0}" not in storage or not part of selective view'.format(key))
        if self.is_view:
            self._view.remove(key)
        del self._storage[key]
def remove ( self , key ) : if key not in self . keys ( ) : raise KeyError ( '"{0}" not in storage or not part of selective view' . format ( key ) ) if self . is_view : self . _view . remove ( key ) del self . _storage [ key ]
Remove key, value pairs from the dictionary
If the DictStorage instance represent a selective view of the main
dictionary, only allow item deletion for keys in the respective view.
Remove key value pairs from the dictionary If the DictStorage instance represent a selective view of the main dictionary only allow item deletion for keys in the respective view .
"""
        Remove key, value pairs from the dictionary
        
        If the DictStorage instance represent a selective view of the main
        dictionary, only allow item deletion for keys in the respective view.
        
        ..  note:: Do not use this method directly to remove nodes or edges
                   from the graph as it may leave the graph in a funny state.
                   Use the graph remove_node or remove_edge methods instead.
        
        :param key: dictionary key to remove
        """
self
key
dictionary key to remove
dictionary key to remove