czech_plus.logic.compiler
#
Module for the card compiler.
Module Contents#
Classes#
Compile a card (note in Anki) to processed and ready to use data. |
- class Compiler(anki_collection_getter: Callable[[], anki.collection.Collection])[source]#
Compile a card (note in Anki) to processed and ready to use data.
So in this way we solve two problems in once: 1. We can use compiled content for TTS addon. 2. We can use it on mobile.
- compile_all_notes() None [source]#
Compile all notes.
Just fetches all notes via
_get_notes_ids()
and callscompile_note()
for each of them.