src/pybel/manager/cache_manager.py
def drop_nodes(self) -> None:
        """Drop all nodes in the database."""
        t = time.time()

        self.session.query(Node).delete()
        self.session.commit()

        logger.info('dropped all nodes in %.2f seconds', time.time() - t)
Drop all nodes in the database.
Drop all nodes in the database.
Drop all nodes in the database .
def drop_nodes(self) -> None:
        t = time.time()
        self.session.query(Node).delete()
        self.session.commit()
        logger.info('dropped all nodes in %.2f seconds', time.time() - t)
def drop_nodes ( self ) -> None : t = time . time ( ) self . session . query ( Node ) . delete ( ) self . session . commit ( ) logger . info ( 'dropped all nodes in %.2f seconds' , time . time ( ) - t )
Drop all nodes in the database.
Drop all nodes in the database .
"""Drop all nodes in the database."""
self