diff --git a/pylib/anki/rsbackend.py b/pylib/anki/rsbackend.py new file mode 100644 index 000000000..ceadfbd22 --- /dev/null +++ b/pylib/anki/rsbackend.py @@ -0,0 +1,17 @@ +# Copyright: Ankitects Pty Ltd and contributors +# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html +# +# The backend code has moved into _backend; this file exists only to avoid breaking +# some add-ons. They should be updated to point to the correct location in the +# future. +# +# pylint: disable=unused-import + +from typing import TYPE_CHECKING + +from anki.lang import FormatTimeSpanContext +from anki.decks import DeckTreeNode +from anki.errors import NotFoundError, InvalidInput + +if TYPE_CHECKING: + from anki.lang import FormatTimeSpanContextValue, TRValue