- show_legacy_support = True
-
- @staticmethod
- def name() -> str:
- return tr.exporting_anki_deck_package()
-
- @staticmethod
- def export(mw: aqt.main.AnkiQt, options: Options) -> None:
- QueryOp(
- parent=mw,
- op=lambda col: col.export_anki_package(
- out_path=options.out_path,
- limit=options.limit,
- with_scheduling=options.include_scheduling,
- with_media=options.include_media,
- legacy_support=options.legacy_support,
- ),
- success=lambda count: tooltip(
- tr.exporting_note_exported(count=count), parent=mw
- ),
- ).with_backend_progress(export_progress_update).run_in_background()