Anki/pylib/anki/_backend
Henrik Giesel a8d4774cdb
Add _raw methods for all methods in the backend (#1594)
* Add _bytes methods for all methods in the backend

Expose get_note in qt/aqt/mediasrv.py

* Satisfy formatter

* Rename _bytes function to _raw and have them bytes as input

* Fix backend generation

* Use lib/proto/deckOptions in deck-options

* Add exposed_backend to qt/aqt/mediasrv.py

* Move some more backend methods to exposed_backend_list

* Use protobufjs for congrats and i18n

* Use protobufjs for completeTag

* Use protobufjs services in change-notetype

* Reorder post handlers in alphabetical manner

* Satisfy tests

* Remove unused collection methods

* Rename access_backend to raw_backend_request

* Use _vendor.stringcase instead of creating a new function

* Remove SKIP_UNROLL_OUTPUT

* Directly call _run_command in non _raw methods

* Remove TranslateString, ChangeNotetype and CompleteTag from SKIP_UNROLL_INPUT

* Remove UpdateDeckConfigs from SKIP_UNROLL_INPUT

* Remove ChangeNotetype from SKIP_UNROLL_INPUT

* Remove SKIP_UNROLL_INPUT

* Fix typing issue with translate_string

- Adds typing support for Protobuf maps in genbackend.py

* Do not emit convenience method for protobuf TranslateString
2022-01-21 21:32:39 +10:00
..
__init__.py Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
BUILD.bazel fix Windows build with latest rules_rust 2021-12-20 18:59:55 +10:00
fluent.py rework translation handling 2021-03-26 09:41:32 +10:00
genbackend.py Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
generated.py start work on more clearly defining backend/protobuf boundaries 2021-01-31 18:55:45 +10:00
genfluent.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
python_lib.bzl fix Windows build with latest rules_rust 2021-12-20 18:59:55 +10:00
rsbridge.pyi rework backend codegen to support multiple services; split out sched 2021-03-11 14:51:29 +10:00