Anki/pylib/anki
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
..
_backend start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
importing start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
syncserver start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
__init__.py add coding specifier to anki/__init__.py 2020-11-11 21:51:11 +10:00
_rsbridge.pyi add type stub for _rsbridge to make PyCharm happy 2020-12-16 13:13:42 +10:00
BUILD.bazel start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
buildinfo.py fix some warnings on startup 2020-12-16 15:38:24 +10:00
cards.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
collection.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
config.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
consts.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
db.py Added super().__repr__() to new __repr__() calls 2020-05-31 19:39:19 -03:00
dbproxy.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
decks.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
errors.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
exporting.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
find.py Refactor search_string() and FilterToSearchIn 2021-01-29 18:27:33 +01:00
hooks.py initial Bazel conversion 2020-11-01 14:26:58 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
httpclient.py Fixed HttpClient session not being closed 2020-05-20 19:20:41 -03:00
lang.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
latex.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
media.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
models.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
notes.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
sched.py refresh new/rev counts when fillNew/fillRev() fails 2021-01-23 14:02:05 +10:00
schedv2.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
sound.py support speed control in tts tags 2020-01-26 14:31:07 +10:00
stats.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
statsbg.py tweaking the folder names again 2020-01-03 07:48:38 +10:00
stdmodels.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
storage.py storage->collection 2020-05-20 17:58:28 +10:00
sync.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
tags.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
template.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
template_legacy.py fix remaining _() references; remove unused imports 2020-11-18 12:43:46 +10:00
types.py exhaustiveness checks on literals are now possible with the move to py38 2020-12-18 16:50:55 +10:00
utils.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00