docs: def db(self):
          """
          Obtain a handle for the database.  This allows lazy
          initialization of the database handle.
          """
  
          # Initialize the database handle; we're running in a separate
          # process, so we need to get_database() ourself
          if not self._db:
              self._db = self.config.get_database()
  
          return self._db