input: 
  def sru_search(query: str, collection: str = None, startrecord: int = 1, 
                 maximumrecords: int = 1, recordschema: str = None) -> response:
      """
      Python API for KB SRU
  
      This function initializes an SRU search with the provided parameters and returns
      a response object containing the search results. The response object can be used 
      to extract specific information such as titles, creators, and subjects.
  
      >>> sru_search('book', 'GGC')
      response(record_data=<record_data>, sru=<sru_instance>)
      >>> sru_search('author:Smith', 'ANP', recordschema='dcx')
      response(record_data=<record_data>, sru=<sru_instance>)
      """
  
output:     from sru import SRU
      from response import response
  
      if collection is None:
          raise ValueError("Collection must be specified")
  
      sru_instance = SRU(collection)
      record_data = sru_instance.search(query, startrecord, maximumrecords, recordschema)
  
      return response(record_data=record_data, sru=sru_instance)