code: def get_config(self):
          
          rows = list(self._conn.execute("SELECT * FROM config"))
          if not rows:
              raise ValueError("work-db has no config")
          (config_str,) = rows[0]
  
          return deserialize_config(config_str)
docs: Get the work parameters (if set) for the session.
  
          Returns: a Configuration object.
  
          Raises:
            ValueError: If is no config set for the session.