anki.scheduler.legacy#

Classes#

SchedulerBaseWithLegacy

Legacy aliases and helpers. These will go away in the future.

Module Contents#

class anki.scheduler.legacy.SchedulerBaseWithLegacy#

Bases: anki.scheduler.base.SchedulerBase

Legacy aliases and helpers. These will go away in the future.

reschedCards(card_ids: list[anki.cards.CardId], min_interval: int, max_interval: int) None#
buryNote(nid: anki.notes.NoteId) None#
unburyCards() None#
unburyCardsForDeck(type: str = 'all') None#
finishedMsg() str#
rebuildDyn(did: anki.decks.DeckId | None = None) int | None#
emptyDyn(did: anki.decks.DeckId | None, lim: str | None = None) None#
remFromDyn(cids: list[anki.cards.CardId]) None#
update_stats(deck_id: anki.decks.DeckId, new_delta: int = 0, review_delta: int = 0, milliseconds_delta: int = 0) None#
deckDueTree() list#

List of (base name, did, rev, lrn, new, children)

total_rev_for_current_deck() int#
answerButtons(card: anki.cards.Card) int#
unsuspendCards#
buryCards#
suspendCards#
forgetCards#