Anki/pylib/anki
Abdo b23f17df27
Drop support for checkpoints (#2742)
* Drop support for checkpoints

* Deprecate .flush()

* Remove .begin/.commit

* Remove rollback() and deprecate save/autosave/reset()

There's no need to commit anymore, as the Rust code is handling
transactions for us.

* Add safer transact() method

This will ensure add-on authors can't accidentally leave a transaction
open, leading to data loss.

---------

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2023-10-17 12:43:34 +10:00
..
_vendor Update Python deps 2023-03-31 14:04:05 +10:00
foreign_data Plaintext import/export (#1850) 2022-06-01 20:26:16 +10:00
importing Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
scheduler Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
_backend.py Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
_legacy.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
_rsbridge.pyi Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
browser.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
cards.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
collection.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
config.py Import submodules directly (#1662) 2022-02-13 13:40:47 +10:00
consts.py Strip out v1/v2 code 2023-09-24 14:27:40 +10:00
db.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
dbproxy.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
decks.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
errors.py Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
exporting.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
find.py Add py3.9 to hooks (#1542) 2021-12-09 09:11:22 +10:00
hooks.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
httpclient.py Update Python deps 2023-03-31 14:04:05 +10:00
lang.py Add Filipino to language list 2023-07-17 14:07:11 +10:00
latex.py Make dvipng use transparent background by default (#2036) 2022-08-31 18:49:22 +10:00
media.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
models.py Skip template checks in Fields screen (#2670) 2023-09-20 16:09:54 +10:00
notes.py Drop support for checkpoints (#2742) 2023-10-17 12:43:34 +10:00
py.typed mark anki and aqt modules as having typing info 2020-01-13 13:03:37 +10:00
rsbackend.py PEP8 for rest of pylib (#1451) 2021-10-25 14:50:13 +10:00
sound.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stats.py Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
statsbg.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
stdmodels.py Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
storage.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
sync.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
syncserver.py Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
tags.py Move custom study tag and limit gathering+saving into the backend 2022-03-10 16:23:03 +10:00
template.py Rework RenderCardOutput::question/answer 2023-06-27 00:37:41 +10:00
types.py Enable invalid-name globally in pylib (#1454) 2021-10-25 19:10:56 +10:00
utils.py Change Anki's version scheme; bump to 23.09 (#2640) 2023-09-07 12:37:15 +10:00