ucscsdk/ucschandle.py
def remove_mo(self, mo, tag=None):
        """
        Removes a managed object.
        This method does not trigger a commit by itself.
        This needs to be followed by a handle.commit() either immediately or
        after more operations to ensure successful removal of object from the
        server.

        Args:
            mo (managedobject): Managed object to be removed.

        Returns:
            None

        Example:
            obj = handle.remove_mo(mo)\n
            handle.commit()\n
        """

        tag = self._auto_set_tag_context(tag)

        mo.status = "deleted"
        if mo.parent_mo:
            mo.parent_mo.child_remove(mo)

        self._update_commit_buf(mo, tag)

        Removes a managed object.
        This method does not trigger a commit by itself.
        This needs to be followed by a handle.commit() either immediately or
        after more operations to ensure successful removal of object from the
        server.

        Args:
            mo (managedobject): Managed object to be removed.

        Returns:
            None

        Example:
            obj = handle.remove_mo(mo)\n
            handle.commit()\n
        
Removes a managed object.
This method does not trigger a commit by itself.
This needs to be followed by a handle.commit() either immediately or
after more operations to ensure successful removal of object from the
server.
Removes a managed object . This method does not trigger a commit by itself . This needs to be followed by a handle . commit () either immediately or after more operations to ensure successful removal of object from the server .
def remove_mo(self, mo, tag=None):
        tag = self._auto_set_tag_context(tag)
        mo.status = "deleted"
        if mo.parent_mo:
            mo.parent_mo.child_remove(mo)
        self._update_commit_buf(mo, tag)
def remove_mo ( self , mo , tag = None ) : tag = self . _auto_set_tag_context ( tag ) mo . status = "deleted" if mo . parent_mo : mo . parent_mo . child_remove ( mo ) self . _update_commit_buf ( mo , tag )
Removes a managed object.
Removes a managed object .
"""
        Removes a managed object.
        This method does not trigger a commit by itself.
        This needs to be followed by a handle.commit() either immediately or
        after more operations to ensure successful removal of object from the
        server.

        Args:
            mo (managedobject): Managed object to be removed.

        Returns:
            None

        Example:
            obj = handle.remove_mo(mo)\n
            handle.commit()\n
        """
None
self
mo
Managed object to be removed.
Managed object to be removed .
tag
examples
obj = handle.remove_mo(mo)\n
handle.commit()\n
obj = handle . remove_mo ( mo ) \ n handle . commit () \ n