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: Set credentials for all the TabPy client-server communication
  where client is tabpy-tools and server is tabpy-server.
  
  Parameters
  ----------
  username : str
      User name (login). Username is case insensitive.
  
  password : str
      Password in plain text.
docstr_tok: ["Set","credentials","for","all","the","TabPy","client-server","communication","where","client","is","tabpy-tools","and","server","is","tabpy-server",".","Parameters","--","--","--","--","--","username",":","str","User","name","(","login",")",".","Username","is","case","insensitive",".","password",":","str","Password","in","plain","text","."]
code: def set_credentials(self, username, password):
      """
      Set credentials for all the TabPy client-server communication
      where client is tabpy-tools and server is tabpy-server.
  
      Parameters
      ----------
      username : str
          User name (login). Username is case insensitive.
  
      password : str
          Password in plain text.
      """
      logger.info(f"Setting credentials (username: {username})")
      self.auth = HTTPBasicAuth(username, password)
  
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 9 for calling the RequestsNetworkWrapper obj's underlying member method code with example usage: obj.set_credentials(username, password) without return types