Anki/pylib
David Culley aa6583cdd1
Refactor ephemeral_card of notes (#3307)
* refactor: fix type annotation

* fix: properly check if argument is None

Don't use Boolean expressions to implement a default value.

* fix: ensure that 'model' is not None

Don't use exceptions to control the flow.

* refactor: simplify if-else construct
2024-07-21 15:25:48 +07:00
..
anki Refactor ephemeral_card of notes (#3307) 2024-07-21 15:25:48 +07:00
rsbridge Drop workspace-hack in favor of workspace deps 2023-06-23 17:41:31 +10:00
tests Update type annotation syntax (#3283) 2024-07-21 14:00:52 +07:00
tools Remove v1/v2 support from the backend (#2727) 2023-10-14 10:50:59 +10:00
.gitignore symlink generated .py/.pyi into tree to fix Python code completion 2020-12-16 11:36:42 +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.