class_docstr: The NetworkWrapper wraps the underlying network connection to simplify
  the interface a bit. This can be replaced with something that can be built
  on some other type of network connection, such as PyCURL.
  
  This version requires you to instantiate a requests session object to your
  liking. It will create a generic session for you if you don't specify it,
  which you can modify later.
  
  For authentication, use::
  
      session.auth = (username, password)
class_docstr_tok: ["The","NetworkWrapper","wraps","the","underlying","network","connection","to","simplify","the","interface","a","bit",".","This","can","be","replaced","with","something","that","can","be","built","on","some","other","type","of","network","connection",",","such","as","PyCURL",".","This","version","requires","you","to","instantiate","a","requests","session","object","to","your","liking",".","It","will","create","a","generic","session","for","you","if","you","do","n't","specify","it",",","which","you","can","modify","later",".","For","authentication",",","use",":",":","session.auth","=","(","username",",","password",")"]
docstr: Issues a DELETE request to the URL with the data specified. Returns an
  object that is parsed from the response JSON.
docstr_tok: ["Issues","a","DELETE","request","to","the","URL","with","the","data","specified",".","Returns","an","object","that","is","parsed","from","the","response","JSON","."]
code: def DELETE(self, url, data, timeout=None):
      """
      Issues a DELETE request to the URL with the data specified. Returns an
      object that is parsed from the response JSON.
      """
      if data is not None:
          data = json.dumps(data)
  
      logger.info(f"DELETE {url} with {data}")
  
      response = self.session.delete(
          url, data=data, timeout=timeout, auth=self.auth
      )
  
      if response.status_code <= 499 and response.status_code >= 400:
          raise RuntimeError(response.text)
  
      if response.status_code not in (200, 201, 204):
          raise RuntimeError(
              f"Error with server response code: {response.status_code}"
          )
  
imports: import abc
  from collections.abc import MutableMapping
  import logging
  import requests
  from requests.auth import HTTPBasicAuth
  from re import compile
  import json
label_desc: Use image node_id 8 for calling the RequestsNetworkWrapper obj's underlying member method code with example usage: obj.DELETE(url, data, timeout) without return types