input: 
  def search_with_sru_api(query: str, collection: str = None, start_record: int = 1, max_records: int = 1, record_schema: str = None) -> str:
      """Search using the KB SRU API with the given query and optional parameters.
      Returns a string indicating whether the search returned any records.
  
      >>> search_with_sru_api('Python', collection='GGC', max_records=10)
      'Search returned records'
      >>> search_with_sru_api('NonExistentQuery', collection='GGC', max_records=10)
      'Search returned no records'
      """
      
      sru_instance = sru()
      result = sru_instance.search(query, collection, start_record, max_records, record_schema)
      if result:
          return 'Search returned records'
      return 'Search returned no records'
  
output:     sru_instance = sru()
      result = sru_instance.search(query, collection, start_record, max_records, record_schema)
      if result:
          return 'Search returned records'
      return 'Search returned no records'