def __init__(self, *args, **kwargs):
choices = []<EOL>formats = self.get_export_formats()<EOL>if formats:<EOL><INDENT>choices.append(('<STR_LIT>', '<STR_LIT>'))<EOL>for i, f in enumerate(formats):<EOL><INDENT>choices.append((str(i), f().get_title()))<EOL><DEDENT><DEDENT>self.action_form = export_action_form_factory(choices)<EOL>super().__init__(*args, **kwargs)<EOL>
Adds a custom action form initialized with the available export
formats.