input: 
  from typing import List
  
  
  def get_search_results(query: str, collection: str = None, start_record: int = 1, max_records: int = 1, record_schema: str = None) -> List[dict]:
      """
      Searches KB SRU using the provided query and optional parameters.
      Returns a list of dictionaries containing the search results.
      
      >>> get_search_results('python', 'GGC', 1, 1, 'dcx')
      [{'titles': ['Python for Data Analysis'], 'creators': ['Wes McKinney']}]
      >>> get_search_results('software', 'DPO', 1, 2)
      [{'titles': ['Software Engineering'], 'creators': ['Ian Sommerville']}, {'titles': ['Software Architecture'], 'creators': ['Mary Shaw']}]
      """
      sru_instance = sru()
      response_obj = sru_instance.search(query, collection, start_record, max_records, record_schema)
      results = []
      if response_obj:
          for rec in response_obj.records:
              result = {
                  'titles': rec.titles,
                  'creators': rec.creators
              }
              results.append(result)
      return results
  
output:     sru_instance = sru()
      response_obj = sru_instance.search(query, collection, start_record, max_records, record_schema)
      results = []
      if response_obj:
          for rec in response_obj.records:
              result = {
                  'titles': rec.titles,
                  'creators': rec.creators
              }
              results.append(result)
      return results