Anki/pylib/anki/importing
Damien Elmes 9d853bbb03 start work on more clearly defining backend/protobuf boundaries
- anki._backend stores the protobuf files and rsbackend.py code
- pylib modules import protobuf messages directly from the
_pb2 files, and explicitly export any will be returned or consumed
by public pylib functions, so that calling code can import from pylib
- the "rsbackend" no longer imports and re-exports protobuf messages
- pylib can just consume them directly.
- move errors to errors.py

Still todo:

- rsbridge
- finishing the work on rsbackend, and check what we need to add
back to the original file location to avoid breaking add-ons
2021-01-31 18:55:45 +10:00
..
__init__.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
anki2.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
apkg.py enable v2 apkg export 2020-02-24 18:54:55 +10:00
base.py storage->collection 2020-05-20 17:58:28 +10:00
csvfile.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
mnemo.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
noteimp.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
pauker.py fixes for latest mypy 2020-10-10 19:02:59 +10:00
supermemo_xml.py drop i18n references in old stats 2020-11-18 09:12:03 +10:00