anki.scheduler.legacy
=====================

.. py:module:: anki.scheduler.legacy


Classes
-------

.. autoapisummary::

   anki.scheduler.legacy.SchedulerBaseWithLegacy


Module Contents
---------------

.. py:class:: SchedulerBaseWithLegacy

   Bases: :py:obj:`anki.scheduler.base.SchedulerBase`


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


   .. py:method:: reschedCards(card_ids: list[anki.cards.CardId], min_interval: int, max_interval: int) -> None


   .. py:method:: buryNote(nid: anki.notes.NoteId) -> None


   .. py:method:: unburyCards() -> None


   .. py:method:: unburyCardsForDeck(type: str = 'all') -> None


   .. py:method:: finishedMsg() -> str


   .. py:method:: rebuildDyn(did: anki.decks.DeckId | None = None) -> int | None


   .. py:method:: emptyDyn(did: anki.decks.DeckId | None, lim: str | None = None) -> None


   .. py:method:: remFromDyn(cids: list[anki.cards.CardId]) -> None


   .. py:method:: update_stats(deck_id: anki.decks.DeckId, new_delta: int = 0, review_delta: int = 0, milliseconds_delta: int = 0) -> None


   .. py:method:: deckDueTree() -> list

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



   .. py:method:: total_rev_for_current_deck() -> int


   .. py:method:: answerButtons(card: anki.cards.Card) -> int


   .. py:attribute:: unsuspendCards


   .. py:attribute:: buryCards


   .. py:attribute:: suspendCards


   .. py:attribute:: forgetCards


