src/pybel/manager/cache_manager.py
def drop_namespace_by_url(self, url: str) -> None:
        """Drop the namespace at the given URL.

        Won't work if the edge store is in use.

        :param url: The URL of the namespace to drop
        """
        namespace = self.get_namespace_by_url(url)
        self.session.query(NamespaceEntry).filter(NamespaceEntry.namespace == namespace).delete()
        self.session.delete(namespace)
        self.session.commit()
Drop the namespace at the given URL.

        Won't work if the edge store is in use.

        :param url: The URL of the namespace to drop
        
Drop the namespace at the given URL.
Won't work if the edge store is in use.
Drop the namespace at the given URL . Won ' t work if the edge store is in use .
def drop_namespace_by_url(self, url: str) -> None:
        namespace = self.get_namespace_by_url(url)
        self.session.query(NamespaceEntry).filter(NamespaceEntry.namespace == namespace).delete()
        self.session.delete(namespace)
        self.session.commit()
def drop_namespace_by_url ( self , url : str ) -> None : namespace = self . get_namespace_by_url ( url ) self . session . query ( NamespaceEntry ) . filter ( NamespaceEntry . namespace == namespace ) . delete ( ) self . session . delete ( namespace ) self . session . commit ( )
Drop the namespace at the given URL.
Drop the namespace at the given URL .
"""Drop the namespace at the given URL.

        Won't work if the edge store is in use.

        :param url: The URL of the namespace to drop
        """
self
url
str
The URL of the namespace to drop
The URL of the namespace to drop