mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
add back basic rsbackend.py for compatibility
This commit is contained in:
parent
9815d96461
commit
248e067da7
1 changed files with 17 additions and 0 deletions
17
pylib/anki/rsbackend.py
Normal file
17
pylib/anki/rsbackend.py
Normal file
|
@ -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
|
Loading…
Reference in a new issue