anki/pylib
Damien Elmes 3d0ddc8539 make flag changes in the reviewer undoable
This splits update_card() into separate undoable/non-undoable ops
like the change to notes in b4396b94abdeba3347d30025c5c0240d991006c9

It means that actions get a blanket 'Update Card' description - in the
future we'll probably want to either add specific actions to the backend,
or allow an enum or string to be passed in to describe the op.

Other changes:
- card.flush() can no longer be used to add new cards. Card creation
is only supposed to be done in response to changes in a note's fields,
and this functionality was only exposed because the card generation
hadn't been migrated to the backend at that point. As far as I'm aware,
only Arthur's "copy notes" add-on used this functionality, and that should
be an easy fix - when the new note is added, the associated cards will
be generated, and they can then be retrieved with note.cards()
- tidy ups/PEP8
2021-03-10 11:53:27 +10:00
..
anki make flag changes in the reviewer undoable 2021-03-10 11:53:27 +10:00
rsbridge implement leech handling 2021-02-23 17:35:20 +10:00
tests make flag changes in the reviewer undoable 2021-03-10 11:53:27 +10:00
tools update to latest mypy_protobuf 2021-02-03 13:31:52 +10:00
.gitignore symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
.isort.cfg start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
.pylintrc plug new answering code in 2021-02-22 21:31:53 +10:00
BUILD.bazel format_fix -> format; rename svelte-check for consistency 2020-11-12 20:19:32 +10:00
mypy.ini add more typing, and enable checks for missing types for most of pylib 2021-01-31 21:38:36 +10:00
orjson.bzl Make orjson optional again 2021-01-07 09:44:40 +10:00
protobuf.bzl update mypy and other Python deps 2021-02-01 15:50:04 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00

Anki's Python library code is in anki/.

The Rust/Python extension module is in rsbridge/; it references the library defined in ../rslib.