<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def delete(self, uri, **kwargs):
 """Sends a HTTP DELETE command to the BIGIP REST Server. Use this method to send a DELETE command to the BIGIP. When calling this method with the optional arguments ``name`` and ``partition`` as part of ``**kwargs`` they will be added to the ``uri`` passed in separated by ~ to create a proper BIGIP REST API URL for objects. All other parameters passed in as ``**kwargs`` are passed directly to the :meth:`requests.Session.delete` :param uri: A HTTP URI :type uri: str :param name: The object name that will be appended to the uri :type name: str :arg partition: The partition name that will be appened to the uri :type partition: str :param \**kwargs: The :meth:`reqeusts.Session.delete` optional params """

        args1 = get_request_args(kwargs)
        args2 = get_send_args(kwargs)
        req = requests.Request('DELETE', uri, **args1)
        prepared = self.session.prepare_request(req)
        if self.debug:
            self._debug_output.append(debug_prepared_request(prepared))
        return self.session.send(prepared, **args2)