code: def instantiate_session():
      # Reconstruct session in process, and force singular execution thread to reduce session
      # connections to server
      token = unpickle_object("_token")
      session = requests_oauthlib.OAuth2Session(
          client_id, redirect_uri=redirect_url, scope=scope, token=token
      )
      adapter = requests.adapters.HTTPAdapter(
          pool_connections=1, pool_maxsize=1
      )
      session.mount("http://", adapter)
      return session
  
file_path: NeMo/scripts/freesound_download_resample/freesound_download.py
imports: import argparse
  import os
  import pickle
  import time
label_desc: Use image node_id 2 for calling a global function with example usage: instantiate_session() and returns: session