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 PUT request to the URL with the data specified. Returns an
  object that is parsed from the response JSON.
docstr_tok: ["Issues","a","PUT","request","to","the","URL","with","the","data","specified",".","Returns","an","object","that","is","parsed","from","the","response","JSON","."]
code: def PUT(self, url, data, timeout=None):
      """Issues a PUT request to the URL with the data specified. Returns an
      object that is parsed from the response JSON."""
      data = self._encode_request(data)
  
      logger.info(f"PUT {url} with {data}")
  
      response = self.session.put(
          url,
          data=data,
          headers={"content-type": "application/json"},
          timeout=timeout,
          auth=self.auth,
      )
      if response.status_code != 200:
          self.raise_error(response)
  
      return response.json()
  
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 7 for calling the RequestsNetworkWrapper obj's underlying member method code with example usage: obj.PUT(url, data, timeout) and returns: response