Anki/pylib/anki/rsbackend.py
2025-06-23 12:17:56 +03:00

13 lines
551 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.
# ruff: noqa: F401
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