def METHOD_NAME(self, input_store, duplicatestyle="msgctxt"):
    output_store = po.pofile()
    output_header = output_store.header()
    output_header.addnote(f"extracted from {input_store.filename}", "developer")
    for input_unit in input_store.units:
        output_unit = self.convert_unit(input_unit)
        if output_unit is not None:
            output_store.addunit(output_unit)
    output_store.removeduplicates(duplicatestyle)
    return output_store