anki/pylib/anki
RumovZ 9aca778a93
Backend Custom Study (#1600)
* Implement custom study on backend

* Switch frontend to backend custom study

* Skip typecheck for new pb classes

* Build tag search string on backend

Also fixes escaping of special characters in tag names.

* `cram.cards` -> `cram.card_limit`

* Assign more meaningful names in `TagLimit`

* Broaden rustfmt glob

* Use `invalid_input()` helper

* Assign `FilteredDeckForUpdate` to temp var

* Implement `SearchBuilder`

* Rewrite `custom_study()` with `SearchBuilder`

* Replace match macros with `SearchBuilder`

* Remove `into_nodes_list` & `concatenate_searches`
2022-01-20 14:25:22 +10:00
..
_backend Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
_vendor PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
importing The importer list have a Hook (#1543) 2021-12-09 11:20:29 +10:00
scheduler Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
syncserver updated package scripts 2021-10-28 18:46:45 +10:00
__init__.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
_legacy.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
backend_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
browser.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
BUILD.bazel add missing wheel/helper for darwin-arm64 2021-10-28 18:29:18 +10:00
buildinfo.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
card_rendering_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
cards_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
cards.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
collection_pb2.pyi split out cards and collection 2021-07-10 19:52:31 +10:00
collection.py Remove redundant camelcase aliases (#1509) 2021-11-26 12:29:48 +10:00
config_pb2.pyi configs.proto plural workaround no longer necessary 2021-07-11 19:35:18 +10:00
config.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
consts.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
db.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
dbproxy.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
deckconfig_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
decks_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
decks.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
errors.py Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
exporting.py Remove redundant camelcase aliases (#1509) 2021-11-26 12:29:48 +10:00
find.py Add py3.9 to hooks (#1542) 2021-12-09 09:11:22 +10:00
generic_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
hooks_gen.py symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +10:00
hooks.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
httpclient.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
i18n_pb2.pyi refactor protobuf handling for split/import 2021-07-10 19:17:05 +10:00
lang.py add Belarusian to prefs 2022-01-16 15:58:57 +10:00
latex.py update platform checks (eg isWin -> is_win) + devMode 2021-11-25 09:06:16 +10:00
links_pb2.pyi fix broken links_pb2.pyi link 2021-10-01 22:52:15 +10:00
media_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
media.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
models.py convert invariant assertions to if statements 2021-11-25 17:47:50 +10:00
notes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
notes.py Remove redundant camelcase aliases (#1509) 2021-11-26 12:29:48 +10:00
notetypes_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
py.typed
rsbackend.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
scheduler_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
search_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sound.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stats_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
stats.py update mypy and mypy-protobuf 2022-01-15 16:04:04 +10:00
statsbg.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stdmodels.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
storage.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
sync_pb2.pyi split out sync, search, scheduler & config 2021-07-10 21:33:12 +10:00
sync.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
tags_pb2.pyi split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
tags.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
template.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
types.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
utils.py remove legacy warning on pointVersion 2021-12-06 19:58:53 +10:00
wheel_description.txt move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00