anki/pylib/anki/rsbackend.py
2021-02-08 09:51:51 +10:00

15 lines
566 B
Python

# 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 anki.decks import DeckTreeNode
from anki.errors import InvalidInput, NotFoundError
from anki.lang import TR
from anki.lang import FormatTimeSpan as FormatTimeSpanContext
from anki.utils import from_json_bytes, to_json_bytes