input: 
  from typing import List
  
  
  def search_kb_sru(query: str, collection: str = None, start_record: int = 1, 
                    max_records: int = 1, record_schema: str = None) -> List[str]:
      """
      Search the KB SRU API with the given parameters and return a list of titles of the search results.
      
      >>> search_kb_sru("python", "GGC", 1, 5)
      ['Python (programming language)', 'Python for Data Analysis', 'The Python Standard Library by Example', 'Python Crash Course', 'Learning Python']
      >>> search_kb_sru("data science", "DPO", 1, 3)
      ['Data Science Essentials', 'The Data Science Handbook', 'Data Science from Scratch']
      """
      sru_instance = sru()
      response = sru_instance.search(query, collection, start_record, max_records, record_schema)
      
      if response:
          return response.titles
      return []
  
output:     sru_instance = sru()
      response = sru_instance.search(query, collection, start_record, max_records, record_schema)
      
      if response:
          return response.titles
      return []