class_docstr: Basic MONAILabel Client to invoke infer/train APIs over http/https
class_docstr_tok: ["Basic","MONAILabel","Client","to","invoke","infer\/train","APIs","over","http\/https"]
code: def update_auth(self, token):
      if token:
          self._headers[
              "Authorization"
          ] = f"{token['token_type']} {token['access_token']}"
  
imports: import cgi
  import http.client
  import json
  import logging
  import mimetypes
  import os
  import re
  import ssl
  import tempfile
  from pathlib import Path
  from urllib.parse import quote_plus, unquote, urlencode, urlparse
  import requests
label_desc: Use image node_id 3 for calling the MONAILabelClient obj's underlying member method code with example usage: obj.update_auth(token) without return types