code: def get_session(session=None):
      """Get session object
  
      Args:
          session (requests.Session): request session object
  
      Returns:
          requests.Session: request session object
      """
  
      if session is None:
          global SESSION
          if SESSION is None:
              SESSION = requests.Session()
          session = SESSION
  
      return session
  
file_path: recommenders/recommenders/datasets/wikidata.py
imports: import pandas
  import requests
  import logging
  from retrying import retry
label_desc: Use image node_id 1 for calling a global function with example usage: get_session(session) and returns: session