code: def get(self):
          
  
          if not HAS_SQL:  # pragma: nocover
              return requests.session()
  
          try:
              conn, c = self.connect()
          except:
              log.traceback(logging.DEBUG)
              return requests.session()
  
          session = None
          try:
              c.execute('BEGIN IMMEDIATE')
              c.execute('SELECT value FROM {0} LIMIT 1'.format(self.table_name))
              row = c.fetchone()
              if row is not None:
                  session = pickle.loads(row[0])
          except:  # pragma: nocover
              log.traceback(logging.DEBUG)
  
          try:
              conn.close()
          except:  # pragma: nocover
              log.traceback(logging.DEBUG)
  
          return session if session is not None else requests.session()
docs: Returns a requests.Session object.
  
          Gets Session from sqlite3 cache or creates a new Session.