jnpr/space/resource.py
def delete(self):
        """Deletes this resource on Space by sending a DELETE request with the
        url of this resource.

        :returns: ``None``
        :raises: ``jnpr.space.rest.RestException`` if the DELETE method results
            in an error response. The exception's ``response`` attribute will
            have the full response from Space.

        """
        if self._meta_object.use_uri_for_delete:
            url = self._xml_data.get('uri')
            if url is None:
                url = '/'.join([self._parent.get_href(), str(self.id)])
        else:
            url = self.get_href()
        response = self._rest_end_point.delete(url)
        if response.status_code != 204 and response.status_code != 200 and \
           response.status_code != 202:
            raise rest.RestException("DELETE failed on %s" % url, response)
Deletes this resource on Space by sending a DELETE request with the
        url of this resource.

        :returns: ``None``
        :raises: ``jnpr.space.rest.RestException`` if the DELETE method results
            in an error response. The exception's ``response`` attribute will
            have the full response from Space.

        
Deletes this resource on Space by sending a DELETE request with the
url of this resource.
Deletes this resource on Space by sending a DELETE request with the url of this resource .
def delete(self):
        if self._meta_object.use_uri_for_delete:
            url = self._xml_data.get('uri')
            if url is None:
                url = '/'.join([self._parent.get_href(), str(self.id)])
        else:
            url = self.get_href()
        response = self._rest_end_point.delete(url)
        if response.status_code != 204 and response.status_code != 200 and \
           response.status_code != 202:
            raise rest.RestException("DELETE failed on %s" % url, response)
def delete ( self ) : if self . _meta_object . use_uri_for_delete : url = self . _xml_data . get ( 'uri' ) if url is None : url = '/' . join ( [ self . _parent . get_href ( ) , str ( self . id ) ] ) else : url = self . get_href ( ) response = self . _rest_end_point . delete ( url ) if response . status_code != 204 and response . status_code != 200 and response . status_code != 202 : raise rest . RestException ( "DELETE failed on %s" % url , response )
Deletes this resource on Space by sending a DELETE request with the
url of this resource.
Deletes this resource on Space by sending a DELETE request with the url of this resource .
"""Deletes this resource on Space by sending a DELETE request with the
        url of this resource.

        :returns: ``None``
        :raises: ``jnpr.space.rest.RestException`` if the DELETE method results
            in an error response. The exception's ``response`` attribute will
            have the full response from Space.

        """
None
``jnpr.space.rest.RestException`` if the DELETE method results
in an error response. The exception's ``response`` attribute will
have the full response from Space.
` ` jnpr . space . rest . RestException ` ` if the DELETE method results in an error response . The exception ' s ` ` response ` ` attribute will have the full response from Space .
self