input: 
  def get_query_results(query: str, collection: str = None, start_record: int = 1, 
                        max_records: int = 1, record_schema: str = None) -> response:
      """
      This function provides a Python API for KB SRU. It allows you to create an 
      instance of the "sru" class and call its "search" method, passing in a query 
      string and optionally a collection name, start record number, maximum number 
      of records to return, and record schema. The method will return a "response" 
      object containing the results of the search. You can then use the various 
      properties of the "response" object to extract specific information from the 
      search results, such as titles, creators, and subjects.
      
      >>> sr = sru()
      >>> results = get_query_results('python', collection='GGC', max_records=2)
      >>> print(results.titles)
      ['Python Programming', 'Learning Python']
      >>> results = get_query_results('data science', collection='DPO', max_records=1)
      >>> print(results.creators)
      ['John Doe']
      """
      sr = sru()
      return sr.search(query, collection, start_record, max_records, record_schema)
  
output:     sr = sru()
      return sr.search(query, collection, start_record, max_records, record_schema)